Customizing SMF > SMF Coding Discussion

Theme help new catbg thingy

(1/1)

Owdy:
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?

[Unknown]:
It just stops working?

-[Unknown]

pulpitfire:
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.

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

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

Navigation

[0] Message Index

Go to full version