Archive for the ‘tt_news’ Category

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.

:(


Work around for mixing “list” and “latest”

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

I just didn’t bother - mixing them, that is.

I just used CSS to modify the display of ”latest” to give me a few different layouts, then used templavoila to map a couple of different content elements, and mixed those instead.

Seems “latest” and “list” when you are trying to limit to a category just won’t mix.


More on mixing “list” and “latest” in tt_news

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

Yeah, it wasn’t a latest/list clash at all, it is definitely something to do with categories - I can’t actually select anything, have to leave the selection as “show all (don’t care)” with the lists.
So, Im not sure if it’s the selectDeselectCategories that is going to help, or another bugfix I noticed
0003844: “Show items with selected categories (AND)” does not work
that needs to be done. (Even though, for me, it is all selections, not only “AND”…)


tt_news - mixing “list” and “latest” elements

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

I have been installing and configuring tt_news again today, and am having problems placing both latest and list on the same page. They are separate content elements, but list won’t appear.

The plugin is starting (as evidenced by the html), but no records are being called, and it isn’t even saying “there are no records”. The header of the second element shows, and then just the first two classes,with no content.

I am sure I have done some silly little thing, because I am fairly sure it showed “there is no file” first time around. Then I added a news item with this category, and everything disappeared.

I did find a reference to a bug in 1.4 indicating this was a problem in the past, so I wonder if I need to fix it up with the selectDeselectCategories as mentioned in the bugfix?