Customizing SMF > SMF Coding Discussion

Theme help new catbg thingy


index.template.php has those catbg and catbg2 . In board index is this:

--- Code: ---<td colspan="4" class="catbg', $category['new'] ? '2' : '', '" height="18">';
--- End code ---

Ok, i'd like to change that class name. If i change those in both files something else, lets say just "cat", script stops work. Why? Is there something i miss?

It just stops working?


did you specify an image for "cat"?  the only thing i can think is it calls for an image, and if there is none specified, maybe it causes an error.

AAAh, typo  typo. Sorry, forgedit :P ;D

ok, i see it now "cat'  instead of "cat" :)


[0] Message Index

Go to full version