Closed (fixed)
Project:
Content Templates (Contemplate)
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2007 at 23:04 UTC
Updated:
15 Jan 2008 at 03:34 UTC
I would like to display url in the lower part of each node. Using contempate.module I have added the following lines in my custom template:
<?php print '<span class=submitted><a href=http://www.mysite.com/'.$node->path.'>http://www.mysite.com/'.$node->path.'</a></span>' ?>
This works, but unfortunately only for admin. Reigstered users and anonymous see only 'http://www.mysite.com' part, for some reason they do not see '.$node->path.' and I have no idea why. Could anyone elaborate on this, please? Maybe there is simpler and easier way to display current node's url?
Comments
Comment #1
realityloop commentedI'm getting this too..
Comment #2
realityloop commentedThanks to #drupal-support
When encapsulating an image:
Plain text: