![]() |
|
#1
|
|||
|
|||
|
OK... basically on my forum I have 2 classes for cat and thead. I want one of my modules on the homepage to take the properties of cat2. I managed to change the thead aspect in the adv_portal_news_archive_head template but I can't find where I'd change the cat aspect.
|
|
#2
|
||||
|
||||
|
The 'adv_portal_module_shell' template is "wrapped" around all default modules, so that's where you'd change it. An if conditiont that looks something like this should do the trick:
class="<if condition="$mods['identifier'] == 'news'">tcat2<else />tcat</if>" |
|
#3
|
|||
|
|||
|
What is going to be the module indetifier for "News Archive"? I tried that, but it didn't change it. I can get the code working fine if I put news, but that is not the block I need to change. Thanks for your help so far.
|
|
#4
|
||||
|
||||
|
'newsarchive' is used for the archive module.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change header logo | RDS | "How Do I..." Questions | 3 | 05-20-2006 07:42 PM |
| Where can i change the class="thead" in top of each news ? | cclaerhout | "How Do I..." Questions | 1 | 12-21-2005 11:34 AM |
| Change Header Link? | HUMMER | "How Do I..." Questions | 3 | 10-31-2005 02:06 PM |
| Change page header | mcyates | "How Do I..." Questions | 2 | 10-25-2005 03:30 AM |