[TYPO3-english] News backPid and TSFE:id

Sergio Catalá scatala.enet at gmail.com
Fri Aug 16 15:31:44 CEST 2013


Hello list,

I integrated the list and detail page for "news" extension in the same 
page following a certain part of the manual 
(http://docs.typo3.org/typo3cms/extensions/news/latest/Main/Tutorial/IntegrationWithTs/Index.html). 
Now I would like to setup the "backPid" for my different list/detail 
pages depending on which page I am.

My Typoscript is:

[globalVar = TSFE:id = 25]
     lib.news_detail.settings.backPid = 25
[end]

I wouldn't like to repeat this code for every list/detail page. Is there 
a way to simplify it? Something like:

lib.news_detail.settings.backPid = TSFE:id

Thanks in advance,
Sergio



More information about the TYPO3-english mailing list