Differences

This shows you the differences between two versions of the page.

english:technics:system-variables [2012/04/23 07:27]
Knut Heermann (flip-flop)
english:technics:system-variables [2018/06/03 18:09] (current)
Line 133: Line 133:
The variable ##$content['all_keywords']## //(or ##$GLOBALS['content']['all_keywords']## if used in functions )// supplies the Keywords of the current article. The variable ##$content['all_keywords']## //(or ##$GLOBALS['content']['all_keywords']## if used in functions )// supplies the Keywords of the current article.
-E.g.: //Forum [[http://forum.phpwcms.org/viewtopic.php?p=120863#p120863|Css eines Artikels ändern]]// [DE]+**E.g.:** Write the keywords into an array:
-A special CSS formatting for an article:+<code php> 
 +$keywords_array = convertStringToArray($GLOBALS['content']['all_keywords']); 
 +</code>
-**Question:** \\ +\\ 
-//"If I liked to indicate a special css for only one article , where will I do that?+ 
 + 
 + 
 +**E.g.:** //Forum [[http://forum.phpwcms.org/viewtopic.php?p=120863#p120863|Css eines Artikels ändern]]// [DE] 
 + 
 +A special CSS formatting for an article:
-For explanation, I would like to have individual articles with a dark instead of a bright page background." //+> **Question:** \\ 
 +> //"If I liked to indicate a special css for only one article , where will I do that? 
 +
 +> For explanation, I would like to have individual articles with a dark instead of a bright page background." //
-**Answer:** \\ +> **Answer:** \\ 
-//"I would work with a special keyword by using a frontend_render script to trigger it accordingly.+> //"I would work with a special keyword by using a frontend_render script to trigger it accordingly.
Set the keyword "*CSS-dark*" into the appropriate fiel dof the article. When rendering is checked out the <body> tag is enhanced by the corresponding class. This normally can be defined via CSS."// Set the keyword "*CSS-dark*" into the appropriate fiel dof the article. When rendering is checked out the <body> tag is enhanced by the corresponding class. This normally can be defined via CSS."//
english/technics/system-variables.1335158820.txt.gz · Last modified: 2018/06/03 18:07 (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