Download  |  Search  |  Log in  |  FAQ  |  Memberlist  |  Online  |  TYPO3.org Developer Resource
Home » Extensions » News & Newsletter
Post new topic   Reply to topic Page 1 of 1 [2 Posts] ttnews: Link to related news
Author Message
radu



Joined: 27 Feb 2006
Posts: 34

PostPosted: 11 Apr 2007 - 12:44 pm    Post subject:  ttnews: Link to related news Reply with quote

hmm, does anyone know how to link the related news?

cause when i select the list of related news to a certain news article, i only get a list of the related news(in the frontend, singleView). just text, no links attached. If I add links to pages, these work though.

Is there any typoscript code i have to write to activate those links? I saw something related to getRelatedCObject or something.

thanks.
Back to top
View user's profile Send private message
radu



Joined: 27 Feb 2006
Posts: 34

PostPosted: 11 Apr 2007 - 3:02 pm    Post subject: Reply with quote

yep, figured this out, the thing is that you need to pass it the typolink.parameter field to the getRelatedCObject part.

like so:
Line:  Code:
1
 Show complete code

use instead of 59 the page id where you have the Single view of the plugin inserted.

10.default refers to normal related news. 10.1 and 10.2 configure the links to internal pages and external URLs (news types: article & external URL)

more reference can be found here:
http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.0/view/1/7/#id2938276

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Home » Extensions » News & Newsletter
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum