I made a slight change to main.tpl and displaylinks.tpl so that the subcategories list vertically rather than as comma separated on a line;
<ul> <!-- BEGIN SUBSUB --> <li><a href="index.php?action=displaycat&catid={CATID}" class="categoryname">{CATNAME}</a></li> <!-- END SUBSUB --> </ul>
However, this seems to have no effect. No matter what I put in the SUBSUB section, the result is the same comma list. Even if I remove all code in that section. Have I mistakenly changed a variable which controls this, as it did list vertically previously.
When you change the subcategories html you have to regenerate categories for it to take effect... this is annoying, but less annoying than the subcategories creating too much server load if there are many of them, as they used to. The admin panel's template editor gives a message to that effect but of course you don't see that if you edit offline.
Comments on Category SUBSUB in templates
Member
Usergroup: Member
Joined: Dec 19, 2003
Location: Stoke, UK
Total Topics: 7
Total Comments: 20
I made a slight change to main.tpl and displaylinks.tpl so that the subcategories list vertically rather than as comma separated on a line;
However, this seems to have no effect. No matter what I put in the SUBSUB section, the result is the same comma list. Even if I remove all code in that section. Have I mistakenly changed a variable which controls this, as it did list vertically previously.
Thanks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
When you change the subcategories html you have to regenerate categories for it to take effect... this is annoying, but less annoying than the subcategories creating too much server load if there are many of them, as they used to. The admin panel's template editor gives a message to that effect but of course you don't see that if you edit offline.
Member
Usergroup: Member
Joined: Dec 19, 2003
Location: Stoke, UK
Total Topics: 7
Total Comments: 20
Fixed straight off. Will remember that one as I'm going to be making some serious template changes over the next few weeks.
Cheers