Welcome to WebmasterWorld Guest from 54.234.153.197

Forum Moderators: ergophobe

Message Too Old, No Replies

Typo3: get news titles (tt news)

tt_news, category, articles, typo3, typoscript

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

New User

5+ Year Member

joined:Mar 7, 2007
posts: 28
votes: 0


HI!

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 June 28, 2010 (gmt 0)

New User

5+ Year Member

joined:Mar 7, 2007
posts: 28
votes: 0


Finally I got it! Hope it helps someone

lib.rightnav = COA

lib.rightnav {
wrap = <ul class="list">|</ul>
10 = CONTENT
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 June 28, 2010 (gmt 0)

Moderator This Forum

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 25, 2002
posts:8192
votes: 117


Congratulations and thanks for posting the solution!
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members