[TYPO3-english] One more condition problem

Pero Matic takoje at takoje.hr
Mon Sep 7 15:37:06 CEST 2009


"Reinhard Führicht" <rf at typoheads.at> wrote in message 
news:mailman.1.1252330180.10747.typo3-english at lists.netfielders.de...
> Which version tt_news are you using?
>
> I had a look at the code of my local installation, which is version 3.0.0
> There it says on about line 340 of the plugin class:
>
> $singlePid = $this->pi_getFFvalue($this->cObj->data['pi_flexform'], 
> 'PIDitemDisplay', 's_misc');
> $this->config['singlePid'] = $singlePid ? $singlePid : 
> intval($this->cObj->stdWrap($this->conf['singlePid'], 
> $this->conf['singlePid.']));
> if (! $this->config['singlePid']) {
>   $this->errors[] = 'No singlePid defined';
> }
>
> This seems to perform stdWrap on the singlePid if it isn't set in 
> Flexform. Have you set the singlePid in Flexform or do you use an older 
> version which doesn't perform stdWrap?

Hm, i use tt_news 2.5.2 and on my single news page singlePid is not set in 
the Flexform (btw. this should be only set on list/latest news i suppose). 




More information about the TYPO3-english mailing list