[SOLVED] MLE News with Browse Catergory list
Posted: Sun Jan 27, 2008 4:24 pm
Hi,
I've created the news section of my CMSMS MLE site using the advice from Alby (Tips and Trick #5), however now I have a problem.
For the News page I have a category list of each year gone by within the sidebar. Using english US as an example, each catergory is set up as follows:
2005-en_US
2006-en_US
2007-en_US
with the code for the template
{news browsecat="1" category="2005-$lang, 2006-$lang, 2008-$lang"}
Because the language apend is set up as categories it displays with the current language apended to each year. So on the site it displays exactly the same:
2005-en_US
2006-en_US
2007-en_US
All I want is the year listed 2005, 2006, 2007 without the user seeing the additional language apended to the category.
Is there a way I can hide the "-en_US" (or whatever language is currently selected) ?
I've tried a parent child set up but that didnt work... so maybe something in the Browse Category template?
Any help would be great,
Thanks
Using CMSMS MLE 1.2.3 "Black Rock"
I've created the news section of my CMSMS MLE site using the advice from Alby (Tips and Trick #5), however now I have a problem.
For the News page I have a category list of each year gone by within the sidebar. Using english US as an example, each catergory is set up as follows:
2005-en_US
2006-en_US
2007-en_US
with the code for the template
{news browsecat="1" category="2005-$lang, 2006-$lang, 2008-$lang"}
Because the language apend is set up as categories it displays with the current language apended to each year. So on the site it displays exactly the same:
2005-en_US
2006-en_US
2007-en_US
All I want is the year listed 2005, 2006, 2007 without the user seeing the additional language apended to the category.
Is there a way I can hide the "-en_US" (or whatever language is currently selected) ?
I've tried a parent child set up but that didnt work... so maybe something in the Browse Category template?
Any help would be great,
Thanks

Using CMSMS MLE 1.2.3 "Black Rock"