homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

Typo3: get news titles (tt news)
tt_news, category, articles, typo3, typoscript

 7:01 am on Jun 28, 2010 (gmt 0)


I'm looking for typoscript which would load news titles from certain category ID into right navigation (or anywhere on the page) wrapped into links which points to the single article.
I was unable to find such a script on the internet. Does anyone have any idea on how to do this?

Appreciate your help!
Thank you!



 8:53 am on Jun 28, 2010 (gmt 0)

Finally I got it! Hope it helps someone

lib.rightnav = COA

lib.rightnav {
wrap = <ul class="list">|</ul>
10 {
table = tt_news
select {
pidInList = 293
join = tt_news_cat_mm ON (tt_news.uid = tt_news_cat_mm.uid_local )
#andWhere.data = GPvar:tx_ttnews|tt_news
#andWhere.wrap = pid = 293
where = tt_news_cat_mm.uid_foreign = 3


renderObj = TEXT
renderObj {

field = title
wrap = <li>|</li>




 2:03 pm on Jun 28, 2010 (gmt 0)

Congratulations and thanks for posting the solution!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved