Hallo
gibt es ne elegantere Loesung ?
Problem:
Ich verwende die EXT ML_CAREER und die Ext erzeugt folgende Links
<a href="'.$this-">pi_getPageLink($pid).'&action=show_results&country=' . t3lib_div::GPvar("country") . '&job=' . t3lib_div::GPvar("job") . '">'. $this->pi_getLL('back') . '</a>'."\n";
wenn ich allerdings RealURL verwende dann fehlt mir das "?" von index.php?id=1
daher hab ich in der Ext folgendes eingefuegt
meine momentane Loesung:
if(substr($this->pi_getPageLink($pid), -4, 4) == "html")
{ $content.= '<a href="'.$this-">pi_getPageLink($pid).'?action=show_results&country=' . t3lib_div::GPvar("country") . '&job=' . t3lib_div::GPvar("job") . '">'. $this->pi_getLL('back') . '</a>'."\n"; }
else
{ $content.= '<a href="'.$this-">pi_getPageLink($pid).'&action=show_results&country=' . t3lib_div::GPvar("country") . '&job=' . t3lib_div::GPvar("job") . '">'. $this->pi_getLL('back') . '</a>'."\n"; }
sonnige Gruesse Tom