This is an old revision of the document!


Kategorie/Artikel/CP -IDs

Datenbank:

phpwcms_articlecontent (ContentParts)
  • phpwcms_articlecontent['acontent_id'] = ID des CPs
  • phpwcms_articlecontent['acontent_aid'] = ID des Artikels in dem sich der CP befindet


phpwcms_article (Artikel)
  • phpwcms_article['article_id'] = ID des Artikels
  • phpwcms_article['article_cid'] = ID der Kategorie in der sich der Artikel befindet


phpwcms_articlecat (Kategorien)
  • phpwcms_article['acat_id'] = ID der Kategorie


Zur Laufzeit:

$GLOBALS['aktion'][0];  = Kategorie ID (wird immer ausgegeben)
$GLOBALS['aktion'][1];  = Artikel ID (Ausgabe nur im Artikeldetail- nicht im Listen-Modus)


Alle Kategorien: → $content[“struct”]
Alle Artikel: → $content[“articles”]

dumpVar($GLOBALS['content']["struct"]);   // Ebenen-Struktur
dumpVar($GLOBALS['content']["articles"]); // Artikel-Struktur

Siehe hierzu auch: Systemvariablen

deutsch/technik/systemvariablen/kategorie-artikel-cp-ids.1287821642.txt.gz · Last modified: 2018/06/03 18:06 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0