Advertisement:

Author Topic: Theme help new catbg thingy  (Read 6237 times)

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,628
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @@jaoler on Twitter
Theme help new catbg thingy
« on: March 16, 2004, 04:04:54 PM »
index.template.php has those catbg and catbg2 . In board index is this:
Code: [Select]
<td colspan="4" class="catbg', $category['new'] ? '2' : '', '" height="18">';
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?
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Theme help new catbg thingy
« Reply #1 on: March 16, 2004, 04:10:12 PM »
It just stops working?

-[Unknown]

Offline pulpitfire

  • Sophist Member
  • *****
  • Posts: 1,132
  • Gender: Male
  • This is what the php parser looks like.
    • Pulpitfire Devotionals
Re: Theme help new catbg thingy
« Reply #2 on: March 16, 2004, 04:14:48 PM »
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.

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,628
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @@jaoler on Twitter
Re: Theme help new catbg thingy
« Reply #3 on: March 16, 2004, 04:17:07 PM »
AAAh, typo  typo. Sorry, forgedit :P ;D
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Offline pulpitfire

  • Sophist Member
  • *****
  • Posts: 1,132
  • Gender: Male
  • This is what the php parser looks like.
    • Pulpitfire Devotionals
Re: Theme help new catbg thingy
« Reply #4 on: March 16, 2004, 04:18:01 PM »
ok, i see it now "cat'  instead of "cat" :)