Page 1 of 1

{ARTICLE_ALIAS} macht Probleme

Posted: Thu 16. May 2013, 06:02
by santscho
Im Artikel "Test Artikel" wird beim Einsatz von {ARTICLE_ALIAS} wie gewuenscht "testartikel" ausgegeben.

Jetzt habe ich aber im Artikel ein CP Teaser/Artikellink welcher auf einen Artikel mit dem Namen "Photo Of The Week" verlinkt. Wenn ich den CP auf sichtbar stelle, wird {ARTICLE_ALIAS} nicht mehr als "testartikel" sondern als "photo-of-the-week" ausgegeben. Wieso, weshalb, warum?

Cheers,
Ralph

Re: {ARTICLE_ALIAS} macht Probleme

Posted: Thu 16. May 2013, 09:00
by Oliver Georgi
Wo kommt denn der Ersetzer her? Standard ist der aber nicht, oder ich finde den nicht.

Re: {ARTICLE_ALIAS} macht Probleme

Posted: Thu 16. May 2013, 12:29
by flip-flop
Das ist einfach nur ein TAG von vielen aus einem frontend_render Script. -> Standard Tags zusammengefasst
// {ARTICLE_ALIAS} -> ARTICLE_ALIAS replacement
// -----------------------------------------------------
if( ! (strpos($content["all"],'{ARTICLE_ALIAS}')===false)) {
$content["all"] = str_replace('{ARTICLE_ALIAS}', $content['articles'][$content['article_id']]['article_alias'], $content["all"]);
}
Knut

Re: {ARTICLE_ALIAS} macht Probleme

Posted: Fri 17. May 2013, 08:18
by santscho
Jaja... der ist von flipflop.