Webmastersite.net
Register Log In

Custom wrapper for link edit

Comments on Custom wrapper for link edit

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Apr 17, 2011 - 10:30 PM:

How do I edit the {LINKADMIN} so that I can add a custom wrapper for when links are edited?

TIA
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 20, 2011 - 5:07 AM:

You can't edit it (the language item edit applies to all types of edits, not just links, so it isn't what you want), so just replace it with
<IF {LINKADMINBOOL}><a href="edit.php?action=link&id={LINKID}&customwrapper=yourwrapper">edit</a></IF>
in the desired spots.

Adding a separate {LINKADMINURL} template variable for 6.1 to make this simpler.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.