Webmastersite.net
Register Log In

Subforums on main page have disappeared
...but only on a few categories

Comments on Subforums on main page have disappeared

Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
#31 - Quote - Permalink
Posted Mar 26, 2006 - 6:41 AM:

category selector as well as sitemap set to 10. Isn't that the default? I don't remember ever changing those...
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#32 - Quote - Permalink
Posted Mar 27, 2006 - 2:22 AM:

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?
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
#33 - Quote - Permalink
Posted Mar 27, 2006 - 5:55 AM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#34 - Quote - Permalink
Posted Mar 30, 2006 - 4:24 AM:

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.
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
#35 - Quote - Permalink
Posted Apr 09, 2006 - 7:47 AM:

Paul wrote:
Are you sure you aren't simply removing the html code from the template?


Then the "more..." link wouldn't appear either, would it?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#36 - Quote - Permalink
Posted Apr 10, 2006 - 12:59 AM:

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?
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
#37 - Quote - Permalink
Posted Apr 10, 2006 - 2:08 AM:

Okay, this is the code I have on the "Show links in Category" tamplate:



<td {SUBCATWIDTH} valign="top" class="category">
<img src="templates/default/images/folder.gif" alt="folder"> <a href="index.php?action=displaycat&catid={CATID}" class="categoryname">{CATNAME}</a> ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}
<br>{CATDESCRIPTION} <br>
<IF {SWITCH_FORUMVIEWS}>{CATVIEWS} views<br></IF>
<!-- BEGIN SUBSUB -->
<a href="index.php?action=displaycat&catid={CATID}">{CATNAME}</a>,
<!-- END SUBSUB -->
</td>


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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#38 - Quote - Permalink
Posted Apr 10, 2006 - 6:29 AM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.