NAVIGATION
This shows you the differences between two versions of the page.
|
english:technics:system-variables:category-article-cp-ids [2010/07/18 10:14] Knut Heermann (flip-flop) |
english:technics:system-variables:category-article-cp-ids [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| == phpwcms_articlecontent (ContentParts) == | == phpwcms_articlecontent (ContentParts) == | ||
| - | * **phpwcms_articlecontent['acontent_id']** = CP ID | + | * **phpwcms_articlecontent.acontent_id** = CP ID |
| - | * **phpwcms_articlecontent['acontent_aid']** = ID of the article in that the CP is | + | * **phpwcms_articlecontent.acontent_aid** = ID of the article in that the CP is |
| \\ | \\ | ||
| == phpwcms_article (Article) == | == phpwcms_article (Article) == | ||
| - | * **phpwcms_article['article_id']** = ID of the article | + | * **phpwcms_article.article_id** = ID of the article |
| - | * **phpwcms_article['article_cid']** = ID of the category in that the article is | + | * **phpwcms_article.article_cid** = ID of the category in that the article is |
| \\ | \\ | ||
| Line 22: | Line 22: | ||
| - | * **phpwcms_article['acat_id']** = ID of the category | + | * **phpwcms_article.acat_id** = ID of the category |
| \\ | \\ | ||
| Line 40: | Line 40: | ||
| <code php> | <code php> | ||
| dumpVar($GLOBALS['content']["struct"]); // category structure | dumpVar($GLOBALS['content']["struct"]); // category structure | ||
| - | dumpVar($GLOBALS['content']["articles"]); // article structure | + | dumpVar($GLOBALS['content']["articles"]); // actual article structure |
| + | dumpVar(get_actcat_articles_data('54')); // All articles behind the category with ID e.g. 54 | ||
| </code> | </code> | ||