Announcement

Collapse
No announcement yet.

customizing postbit template help with conditional

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

  • himerus
    replied
    Like a charm.... thanks!!!!

    Leave a comment:


  • Wayne Luke
    replied
    Surround the entire area with:

    <if condition="$post['userid']">
    Stuff here....
    </if>

    Leave a comment:


  • himerus
    started a topic customizing postbit template help with conditional

    customizing postbit template help with conditional

    I'm working on modifying the posbit to show some additional information from the users profile, and custmize the overall layout. (See attached image)

    I no longer allow guest users to post without registering for obvious reasons, but I have several hundred posts that were from "Guests" and the first section labeled "Quick Info" just appears empty. The "Reputation" section has at least Posts: n/a.

    I would like to insert a conditional that will exclude either or both sections from the postbit if it is a guest post.

    Something like <if condition"guest[poster]">
    Attached Files
    Last edited by himerus; Tue 30th Dec '03, 8:32pm. Reason: Forgot to attach image. :)
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X