Thanks for that, just tried it and something has gone a bit odd. Although I originally suggested a check box, I have since decided to use a Single-Selection Menu.
I have added the menu item with two options (Show, Hide), this displays correctly in Profile - Edit Options - Miscellaneous Options. It also seems be accepting saves etc etc. This was added as "field7".
I have then added the following condition around the header logo table:
<if condition="$userinfo[field7] != 'Hide'">
Header code </if>
However this doesnt seem to work, I wasn't sure if using the single quotes around "Hide" was correct so I have also tried without them.
Interestingly if I put the following into the template
<a>X.$userinfo[field7]</a>
it outputs "X." so it seems the field7 value is empty which is why the condition check doesn't work.
If it helps at all, this is how the field is configured:
Quote:
Title : Show logo header
Description : Some descriptive guff
Profile Field Category : Uncategorised
Options : Show Hide (on seperate lines)
Set Default: Yes, but no first blank option
Display Order : 7
Field Required : No*
Field Editable by User : Yes
Private Field: Yes
Field Searchable on Members List : No
Show on members list : No
Optional Input : No
Display Page : Options: Other
|
* I selected No for this as I don't want this to be part of registration, rather an option that a registered user can select once they are part of the forum.
Any ideas?