tt_news: hardcoded labels in locallang.xml

Written by newbie on Aug 18th, 2006 | Filed under: The Story, tt_news

I have been customising the tt_news for my site, but having some difficulty changing the hardcoded labels in locallang.xml

I can do this successfully…

plugin.tt_news {
_LOCAL_LANG.default

{
textCatLatest=Spoke:
textCat=Spoke:
more=more…
textRelatedByCategory=Other news from this Spoke:
altTextCatSelector=Display only Spoke:
catmenuHeader=NewsHub Spokes
}

}

Which changes those values…

Or I can do this successfully…

lib.leftnav < plugin.tt_news lib.leftnav {                          
code >code = CATMENU}

displayCatMenu {
catmenuHeader_stdWrap.wrap =

|

mode = nestedWraps

 # wrap for the complete “catmenu”
catmenu_stdWrap.space = 3 | 0
catmenu_stdWrap.wrap =

|

# wraps for active or inactive category links in the tree
catmenuItem_ACT_stdWrap.wrap = |
catmenuItem_NO_stdWrap.wrap = |

# wrap for level “n”
catmenuLevel1_stdWrap.wrap =

|

catmenuLevel2_stdWrap.wrap=

|

}
}
catmenuIconMode = -1
}

Which wraps them the way I want successfully…

But I cant work out to combine them. I am sure it is something simple, but I have tried a number of things, and nothing has worked yet.

:(



Leave a Reply

You must be logged in to post a comment.