Announcement

Collapse
No announcement yet.

Using <if> command in <head>

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VHLinks
    replied
    Cool guess I'll give it a shot and see what happens. I have seen forum ID's in there, so I'll hope for the best.

    Thanks.

    Leave a comment:


  • Floris
    replied
    <if condition="$this == 'that'">.. <else /> .. </if>

    that is a template conditional.. they're made to be in templates.
    If the variable you're looking for to use is available in that template, yes.

    Usergroup and forum id numbers are most likely available in that template.

    Leave a comment:


  • VHLinks
    replied
    No I know that, my question is whether using the <if condition> with the usergroup variable IN the <head> section will actually work.

    Sorry for the confusion.

    I know how to do it, I just don't know if using that code will work actually work the way I want in there.

    Leave a comment:


  • Floris
    replied
    From the styles manager click on the dropdown and select common templates, the header includes template is there, which is where you can put code for <head>

    Leave a comment:


  • VHLinks
    started a topic Using <if> command in <head>

    Using <if> command in <head>

    Question. I am using pop-unders in a forum, but I don't them want them to show up for certain member groups. Will using the <if condition> with the usergroup variable work in the <head> section, because that's where obviously the pop-under code needs to go.

    Thank you.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X