Announcement

Collapse
No announcement yet.

Code error for first post banner

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

  • HeRCuL70
    replied
    ok i fixed it.

    Leave a comment:


  • HeRCuL70
    started a topic Code error for first post banner

    Code error for first post banner

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit

    Code:
    <if condition="$post[postcount] % X == 10">
    <center>
              BANNER CODE HERE
    </center>
    </if>
    I get tempelate error as below

    Code:
    The following error occurred when attempting to evaluate this template:
    
    Warning: Division by zero in \includes\adminfunctions_template.php(3596) : eval()'d code on line 99
    
    This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
    How can i fix it?
    Last edited by HeRCuL70; Tue 9 Oct '07, 12:31am.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X