[TYPO3-content-rendering] CSS template indexed search..?

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Feb 2 12:19:10 CET 2006


ben van 't ende [netcreators] schrieb:
> 
> This is on my todo list.

BTW, getDisplayResults() doesn't support templates and has those nested 
DIV/P pair hardcoded.

Masi

PS: And I want to see the lang option -2: lock to current language

function languageWhere() {
   if ($this->piVars['lang']>=0) {
     return 'AND IP.sys_language_uid='.intval($this->piVars['lang']);
   } elseif ($this->piVars['lang']==-2) {
     return 'AND IP.sys_language_uid='.$GLOBALS['TSFE']->sys_language_uid);
   }
   return '';
}



More information about the TYPO3-project-content-rendering mailing list