Title |
Alternative language on Subcats in main |
Description |
works fine for cats, but not for subcats |
Message Text |
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...
r
|
Rating |
0/5 based on 0 votes.
|
Ownership |
2222a |
Views |
401 views. Averaging 0 views per day. |
Similar Topics |
|
Submission Date |
May 26, 2007 - 11:34 PM |