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
{ARTICLE_ALIAS} macht Probleme
{ARTICLE_ALIAS} macht Probleme
Schon Konfuzius sagte: "Sei kein YAML-Lappen". YAML-phpwcms-Integration auf http://www.yaml.phpwcms.org
- Oliver Georgi
- Site Admin
- Posts: 9889
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: {ARTICLE_ALIAS} macht Probleme
Wo kommt denn der Ersetzer her? Standard ist der aber nicht, oder ich finde den nicht.
Re: {ARTICLE_ALIAS} macht Probleme
Das ist einfach nur ein TAG von vielen aus einem frontend_render Script. -> Standard Tags zusammengefasst
Knut// {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"]);
}
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: {ARTICLE_ALIAS} macht Probleme
Jaja... der ist von flipflop.
Schon Konfuzius sagte: "Sei kein YAML-Lappen". YAML-phpwcms-Integration auf http://www.yaml.phpwcms.org