Webmastersite.net
Register Log In

Alternative language on Subcats in main
works fine for cats, but not for subcats

Comments on Alternative language on Subcats in main

2222a
Member

Usergroup: Customer
Joined: May 13, 2007

Total Topics: 16
Total Comments: 37
2222a
Posted May 26, 2007 - 11:34 PM:

I have added a special field so all the categories are translated into a second langauge.This works great for the main categories, but it does nto work for the subcategories even though they both are named CATNAME. This is what I have:

<!-- BEGIN CATSBODY -->
<!-- BEGIN REGULAR -->
<td {CATWIDTH} valign="top" class="category">
<img src="templates/default/images/folder.gif" alt="folder"> <a href="{CATURL}" class="categoryname"><IF {VISITORLANGUAGE} is English>{CATNAME}
<OTHERWISE IF {VISITORLANGUAGE} is Italian>{CATITALIAN}</IF></a> ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}<br>
{CATDESCRIPTION} <br>
<IF {SWITCH_FORUMVIEWS}>{CATVIEWS} {LANG_GENERAL_VIEWS}<br></IF>
<IF {SWITCH_ONLINEFORUM}>{CATNUMONLINE} {LANG_GENERAL_VIEWING}<br></IF>
<!-- BEGIN SUBSUB -->
<a href="index.php?action=displaycat&catid={CATID}"><IF {VISITORLANGUAGE} is English>{CATNAME}
<OTHERWISE IF {VISITORLANGUAGE} is Italian>{CATITALIAN}</IF></a>,
<!-- END SUBSUB -->


can someone offer any suggestions? Thanks guys...
2222a
Member

Usergroup: Customer
Joined: May 13, 2007

Total Topics: 16
Total Comments: 37
2222a
Posted May 27, 2007 - 9:30 AM:

solution, thanks to Paul:
The subcats are cached to speed up so you need to regenerate them via Maintenance > Regenerate Counters. works like a charm.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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