[TYPO3-german] 'addQueryString.exclude' => 'id' ... klappt nicht im PHP code

Ralf-Rene Schröder ralf.rene at online.de
Fri Mar 1 23:30:49 CET 2013


Hallo...
ist jetzt wahrscheinlich eine ziemlich blöde Frage,
aber da ich das sonst mit Typoscript geregelt habe,
habe ich hier jetzt ein kleines Problem...

ich baue ein HMENU mit einer userfunction für eigene tabellen
wie bekomme ich jetzt die doppelte id durch addQueryString weg
'addQueryString.exclude' => 'id',
klappt nicht (ist mit sicherheit ein Formfehler)...


while ( ($genre = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) ) {
  // build genre link
  $linkConf = array (
    'useCacheHash' => true,
    'addQueryString' => true,
    'addQueryString.exclude' => 'id',
    'parameter' => $conf['targetPid'],
    'additionalParams' => '&tx_ifcwmedia_pi1[mg0]='.$genre['uid']
  );
  $link = $this->cObj->typolink_URL( $linkConf );

  // add to menu
  $genre_menu[] = array (
    'title' => $genre['title'],
    '_OVERRIDE_HREF' => $link
  );
}


-- 
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format


More information about the TYPO3-german mailing list