[Template] XenFans.com Node: Page "Admin: edit" tweak

Status
Not open for further replies.

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,096
You know what's annoying?

In beta 1 you can't save a page node edit, and have it reload it. You keep editing. Fixing that I am sure is possible in future releases, but what's also annoying is constantly finding the node: page in the list. We have a long list, trust me .. it's annoying.

This. Allows you to add an

Admin: edit

link, next to the footer's 'views' published on .. on those pages.

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

In the pagenode_container template, after:
HTML:
<dt>{xen:phrase page_views}:</dt> <dd>{xen:number $page.view_count}</dd>
 

imported_Kier

XenForo Developer
Joined
Oct 6, 2010
Messages
3
If you want a nicer interface for editing page templates, you can always turn on debug mode and edit them in the master style. They appear as _page_node.{$node_id}
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,096
If you want a nicer interface for editing page templates, you can always turn on debug mode and edit them in the master style. They appear as _page_node.{$node_id}
Thank you - and yeah I noticed ; but I don't know how damaging debug can be if I miss click or save in the wrong tab, etc. It's a live site.
 
Status
Not open for further replies.
Top