Announcement

Collapse
No announcement yet.

Unique postbit design

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

  • Unique postbit design

    I am currrently trying to edit my postbit section of my forum (just for me )

    I've done most of it by editing the template postbit legacy, but all I want to do now is give myself a custom background color for my postbit(different to everyone elses) and I'll be finished.

    Got a bit stuck though...


    I've been trying to add a code along the lines of this:
    <if condition="$post['userid'] == '1'"> Etc.... but can't seem to work out how to change the bgcolor of my postbit.

    Any ideas?

  • #2
    Code:
     
    <if condition="$post['userid'] == '1'">
    	<td class="alt2_mine" width="175">
    <else />
    	<td class="alt2" width="175">
    </if>
    Inherit alt2_mine from alt2 and change the bgcolor
    Last edited by telc; Thu 5 May '05, 12:50pm.

    Comment


    • #3
      Do you want the post bit to be that way for only your posts, or when you and only view the threads all together?

      Because using $post[userid] is going to cause the change when the posters userid is 1 -- meaning that eveyone will have the standard post bit and you will have the alt.

      Comment


      • #4
        Originally posted by telc
        Code:
         
        <if condition="$post['userid'] == '1'">
        	<td class="alt2_mine" width="175">
        <else />
        	<td class="alt2" width="175">
        </if>
        Inherit alt2_mine from alt2 and change the bgcolor

        Where abouts would I put that in my template?

        Comment

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