Announcement

Collapse
No announcement yet.

Im trying to add text to postbit

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

  • Im trying to add text to postbit

    Im trying to add the fields to my members postbit and its not coming up.

    I added the following code in both postbit and postbit_legacy and it's still not coming up.

    <if condition="$post['field2']">
    Location: $post[field2]
    </if>
    <if condition="$post['field5']">
    PFPoints: $post[field5]
    </if>

    Do I just add this, or do I have to edit something else? I'm totally lost.

  • #2
    Try using a conditional which will only show the field if it is populated.... I use;

    <if condition="$post['field5']">
    <div class="postbit" align="left">
    <span style="color: #8B9DB0; font-weight: bold">Band/Org :</span> $post[field5]
    </div>
    </if>
    John

    Comment


    • #3
      Not exactly a cut and paste but I got what i needed from it, thanks

      Comment

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