Webmastersite.net
Register Log In

number of subcategories shown
the last subcats are not shown

Comments on number of subcategories shown

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Jan 01, 2009 - 7:29 AM:

Paul,

Is there a limit on the number of sub-categories to present at main page ?

This appart of admin settings: number of categories, and max subcategories to shown on main page. I have settled them at a high value.

I have four main categories and the they present only their first 37 subcategories,
so their last subcategories are not shown on main.tpl

Is it an extra setting at tweaks.php or so ?

( I did not saw this happening before at 4. series )

Daniel.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 02, 2009 - 5:49 AM:

Admin -> Settings -> Categories -> "Max subcategories to show on main page" is the only place that controls it. If you have hundreds of subcategories of a single category I suppose it could conceivably overflow the allowable memory for a text field, in which case you could change the subcats category field to longtext in phpmyadmin and regenerate categories.

That field size limit would be hit quicker on a multilingual site, but I can't imagine it being hit at < 10 subcategories.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Jan 03, 2009 - 4:09 AM:

Worked OK:

I have just changed the subcatshtml category field from text to longtext and now subcategories are shown at main.tpl

These categories has 54 subcategories now being presented OK.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.