Announcement

Collapse
No announcement yet.

Question on a template conditional

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

  • Titus
    replied
    A little late, but I would like to report that this worked like a charm. I put it in the STANDARD_ERROR template under the $error_message bit, did a copy-paste of the login form that is displayed above, added a custom phrase, and it's gold.

    Leave a comment:


  • Titus
    replied
    That was quick. Thanks!

    Leave a comment:


  • Zachery
    replied
    <if condition="THIS_SCRIPT == login"> stuff here </if>

    Leave a comment:


  • Titus
    started a topic Question on a template conditional

    Question on a template conditional

    When a user logs out, I want to display a login form so they can log back in with a different username. I cobbled this together after digging through the forums here, but since I won't have time to try putting it into the STANDARD_ERROR template for several days, I thought I would ask if what I have would even work.

    HTML Code:
     <if condition="THIS_PAGE == 'login.php?do=logout'">
      
      login form HTML
      
        </if>
    Thanks!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X