[TYPO3-english] TS select with tt_news: get current uid of news-item in LIST
Jigal van Hemert
jigal.van.hemert at typo3.org
Thu Apr 19 12:29:50 CEST 2012
Hi,
On 19-4-2012 11:53, Bert Hiddink [BENDOO e-work solutions] wrote:
> Please have a look at the snippet below. It works almost except that I
> can not get printed the uid of the current item in LIST-mode.
>
> andWhere.dataWrap = tt_news.uid = {field:uid}
>
> ...gives me the uid of the page and that is obviously not what I want...
>
> What do I overlook? Any suggestions?
You have to set which fields must be available in the genericmarkers
section.
Please look it up in the manual; it is something like:
plugin.tt_news.genericmarkers.fields = uid,title
These are then available as {field:uid}, etc.
--
Jigal van Hemert
TYPO3 v4 Core Team member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-english
mailing list