[TYPO3-ttnews] how to append querystring param to all news links on page

Jigal van Hemert jigal.van.hemert at typo3.org
Wed Jul 10 17:49:56 CEST 2013


Hi,

On 10-7-2013 16:15, Erich Specht wrote:
> Please help if you have any suggestions on how I can append a querystring
> parameter to each news link on a page via typoscript.  Is there a way to do
> that globally for the page by setting a param in plugin.tt_news or is it
> necessary to do on each plugin instance of plugin.tt_news within the
> typoscript of the page?

Sorry, but tt_news creates these links from a list to the detail page 
internally in the extension code and doesn't use TypoScript 
configuration for that.

You could modify the links with JavaScript or you could create the news 
lists yourself with TypoScript using the CONTENT object. In that cause 
you need to create the query to look up the news records yourself, you 
can't use any of the tt_news features (auto archive, hide already 
displayed items, etc.) and you have to create the rendering of each item 
in the list all by yourself. OTOH you will have total freedom in 
building the link to the detail view...


-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-tt-news mailing list