Version: 3.3.15
URL:
|
rolij
Member Usergroup: Customer Joined: May 19, 2005 Total Topics: 18 Total Posts: 42 |
Posted 05/06/06 - 11:52 AM:
The template thing is driving me nuts. I'd like to have a menu tree on the left side which looks like: -Category 1 ----Subcategory 1.1 ----Subcategory 1.2 -Category 2 ----Subcategory 2.1 -Cagegory 3 ----Subcategory 3.1 ----Subcategory 3.2 and so on... (- is a placeholder for blank spaces) I have no problem with the main categories. But for some reason the subcategories always looks like Subcategory 1, Subcategory 2, Subcategory 3 on one line. How can I change this? |
|
scriptwiki
Member Usergroup: Customer Joined: Aug 04, 2005 Total Topics: 11 Total Posts: 47 |
Posted 05/06/06 - 12:04 PM:
I think you need do do this change this <!-- BEGIN SUBSUB --> <a href="index.php?action=displaycat&catid={CATID}">{CATNAME}</a>, <!-- END SUBSUB --> to this <!-- BEGIN SUBSUB --> <a href="index.php?action=displaycat&catid={CATID}">{CATNAME}</a><br> <!-- END SUBSUB --> |
|
rolij
Member Usergroup: Customer Joined: May 19, 2005 Total Topics: 18 Total Posts: 42 |
Posted 05/06/06 - 12:21 PM:
That's too simple scriptwiki. But thank you anyway! I use tables for the menu tree and I know HTML very well. Of course I'm able to replace a comma with a <br>. But regardless what code I write for the subcategories, it seems it will be disregarded. And for some reason the source code of the site looks completely different from what I put into the template file. |
|
babrees
Expert Usergroup: Customer Joined: Aug 19, 2005 Location: England Total Topics: 392 Total Posts: 1287 |
Posted 05/06/06 - 1:07 PM:
could you not place a site map there? Must admit I haven't used the site map facility yet though |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/06/06 - 2:55 PM:
You need to regenerate categories in order for changes to subcats on main page to apply. |
|
rolij
Member Usergroup: Customer Joined: May 19, 2005 Total Topics: 18 Total Posts: 42 |
Posted 05/08/06 - 1:55 AM:
Where do I have to do that? If it's in the regenerate counters section, I already did it with no success. Here's what I have in the template: <!-- BEGIN CATSBODY --> and here's what I get in the source code: <!-- BEGIN CATSBODY --> So it looks quite different. |
|
damon
Member Usergroup: Customer Joined: Oct 14, 2005 Location: Singapore Total Topics: 11 Total Posts: 31 |
Posted 05/08/06 - 5:04 AM:
maybe can try regenerate everything? under regenerate counter... |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/08/06 - 5:13 PM:
Regenerate categories is an option (the 2nd I believe) under maintinence->regenerate counters. In 3.3.17 you are automatically stopped and given a link to it when you change that html. |
|
rolij
Member Usergroup: Customer Joined: May 19, 2005 Total Topics: 18 Total Posts: 42 |
Posted 05/09/06 - 2:43 AM:
Okeydokey, now it works. I previously made the menu tree in a new custom template and for some reason the regeneration didn't work. Now I made the same changes to the default main index template, and the regeneration worked! |
|
rolij
Member Usergroup: Customer Joined: May 19, 2005 Total Topics: 18 Total Posts: 42 |
Posted 05/21/06 - 10:41 AM:
Well, after I did another 'regenerate counters' the menu tree looks bad again. I don't understand this category menu thing. Why is it one time correct and after a regeneration it's uncorrect again and if I just copy and paste the code out of the template and in again and regenerate counters again then it's okay again until I do another regeneration. It's driving me nuts! |
|
||
This thread is closed, so you cannot post a reply.

Print