fixed bad hash nav implementation

This commit is contained in:
Bachir Soussi Chiadmi
2015-05-12 16:44:34 +02:00
parent 9446d0b76f
commit ba7d7ff3c3
4 changed files with 50 additions and 13 deletions
@@ -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;
}
+1 -1
View File
@@ -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;