Message Text |
Hey Paul,
Got something that I can't find / figure out.
In the edit.tpl, you can hide a link. The template simply has < select name="hide" >{ LINKHIDESELECTOR }< /select > in it, which calls up a yes/no dropdown list. Where can I change the actual words 'yes' and 'no'?? I looked in the php files and the admin panel, but can't figure this out.
I tried to convert the above list to an actual drop down list of my own, but I don't understand the Name and Value of this whole hidden link. What would be the manual drop down list version of this LINKHIDESELECTOR variable? Would it be
name="hide" value="1" and name="hide" value="0"
OR
name="hide" value="yes" and name="hide" value="no"
OR the above ones, but with
name="linkhide" value="yes" and name="linkhide" value="no"
ALSO, in this case, how would I do the automatic SELECT in the options? I was trying something like:
name="hide" value="1" < IF { THISLINKISHIDDEN} >selected< /IF >
AND TRIED
name="hide" value="1" < IF { LINKISHIDDEN} >selected< /IF >
AND TRIED
name="hide" value="1" < IF { LINKHIDE} is 1>selected< /IF >
AND TRIED
name="hide" value="1" < IF { LINKISHIDE} yes>selected< /IF >
But none of them seem to do their job. What is THE correct variable to use, if I want to display something based on the fact that a link is hidden/non-hidden?
THanks
David
|