[TYPO3-ttnews] how to append querystring param to all news links on page
Erich Specht
erich at erichspecht.com
Wed Jul 10 19:15:52 CEST 2013
Thank you for the reply, Jigal. I'll explore this option.
If anyone could point me to an example of how this could be used to display
a tt_news item in a category with the image sized, I would be thrilled. But
this gives me a place to start.
Thanks again.
-----Original Message-----
From: typo3-project-tt-news-bounces at lists.typo3.org
[mailto:typo3-project-tt-news-bounces at lists.typo3.org] On Behalf Of Jigal
van Hemert
Sent: Wednesday, July 10, 2013 10:50 AM
To: typo3-project-tt-news at lists.typo3.org
Subject: Re: [TYPO3-ttnews] how to append querystring param to all news
links on page
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
_______________________________________________
TYPO3-project-tt-news mailing list
TYPO3-project-tt-news at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news
More information about the TYPO3-project-tt-news
mailing list