fixed bad hash nav implementation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_token_info()
|
||||
*/
|
||||
function token_test_token_info() {
|
||||
$info['tokens']['node']['colons:in:name'] = array(
|
||||
'name' => t('A test token with colons in the name'),
|
||||
'description' => NULL,
|
||||
);
|
||||
|
||||
return $info;
|
||||
}
|
||||
@@ -155,7 +155,7 @@ function jeemod_preprocess_jeemod_share_links(&$vars){
|
||||
|
||||
$sitetitle = variable_get('site_name', '');
|
||||
$nodetitle = $entity->title;
|
||||
$nodeurl = $base_url . base_path() . "#principe-" . $entity->nid;
|
||||
$nodeurl = $base_url . url('node/'.$entity->nid);//$base_url . base_path() . "#principe-" . $entity->nid;
|
||||
|
||||
$text = $nodetitle ." | ". $sitetitle . " - " . $nodeurl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user