Probably was default at some point, though it's 2 for selector and 6 for sitemap now. Doesn't matter.
I've set my sitemap levels to 1 and regenerated and still can't get my subcategories to disappear. What else might you be doing? Are you sure you aren't simply removing the html code from the template?
I have: Categories: 151 (2292 counting subcategories) I set sitemap to 5, clicked submit and the page took 47 secs to re-load (said it had gone through 2110 queries) I then regenerated the sitemap I then checked the subcats, but nothing. A hard refresh didn't change anything. I also have always had 'category selector on suggest link' page switched off Yet when I now click on 'suggest link' it says Fatal error: Maximum execution time of 30 seconds exceeded in /xxx/directory/classes/language.php on line 146
Uh, what in the world do subcats have to do with timeouts? Nothing I presume.
It's hard to imagine what anyone can do to make a page take 30 seconds, as I've never seen it happen since the auto-switch-off was introduced 3.3.something. I'd have to see the page to read the debug.
Actually that's not in the template, just a language item, so if you left only the markers in the template with no other html it'd show the "more..." alone.
Are your subcatshtml category fields filled or all empty?
Comments on Subforums on main page have disappeared
Forum Regular
Usergroup: Customer
Joined: May 11, 2003
Total Topics: 64
Total Comments: 199
category selector as well as sitemap set to 10. Isn't that the default? I don't remember ever changing those...
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Probably was default at some point, though it's 2 for selector and 6 for sitemap now. Doesn't matter.
I've set my sitemap levels to 1 and regenerated and still can't get my subcategories to disappear. What else might you be doing? Are you sure you aren't simply removing the html code from the template?
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
I have: Categories: 151 (2292 counting subcategories)
I set sitemap to 5, clicked submit and the page took 47 secs to re-load (said it had gone through 2110 queries)
I then regenerated the sitemap
I then checked the subcats, but nothing. A hard refresh didn't change anything.
I also have always had 'category selector on suggest link' page switched off
Yet when I now click on 'suggest link' it says Fatal error: Maximum execution time of 30 seconds exceeded in /xxx/directory/classes/language.php on line 146
So the sub cats will still not work
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Uh, what in the world do subcats have to do with timeouts? Nothing I presume.
It's hard to imagine what anyone can do to make a page take 30 seconds, as I've never seen it happen since the auto-switch-off was introduced 3.3.something. I'd have to see the page to read the debug.
Forum Regular
Usergroup: Customer
Joined: May 11, 2003
Total Topics: 64
Total Comments: 199
Are you sure you aren't simply removing the html code from the template?
Then the "more..." link wouldn't appear either, would it?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Actually that's not in the template, just a language item, so if you left only the markers in the template with no other html it'd show the "more..." alone.
Are your subcatshtml category fields filled or all empty?
Forum Regular
Usergroup: Customer
Joined: May 11, 2003
Total Topics: 64
Total Comments: 199
Okay, this is the code I have on the "Show links in Category" tamplate:
Just checked the latest database backup, and it doesn't seem like there's anything in that field. What's supposed to be in there?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Looks the same as the default template.
The html for the subcategories is placed in the field when you add or regenerate categories.
When it generates the html it gets the code out of main.tpl, so what do you have in your main.tpl template?
Edit: I'll build in a default value for when there's nothing in the template.