[Template Tweak] Add "edit" to Page footer.

Status
Not open for further replies.

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,096
Open the template pagenode_container, find this code:

<dt>{xen:phrase page_views}:</dt> <dd>{xen:number $page.view_count}</dd>

And below it add:
<xen:if is="{$visitor.is_admin}"><dt>Admin:</dt> <dd><a href="admin.php?nodes/{$page.node_id}/edit">edit</a></dd></xen:if>


And that's it :)
 

George G Halstead

OMG Member
Joined
Oct 24, 2010
Messages
436
Sure wish xenforo had a search function in the template edit section like VB does. Would be helpful for the eyes huh. :)
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,096
We're limited to the control+f search in the browser I guess.
 
Status
Not open for further replies.
Top