Custom wrapper for link edit
<IF {LINKADMINBOOL}><a href="edit.php?action=link&id={LINKID}&customwrapper=yourwrapper">edit</a></IF>
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Custom wrapper for link edit
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
How do I edit the {LINKADMIN} so that I can add a custom wrapper for when links are edited?
TIA
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.