Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.

Differences

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

Link to this comparison view

v2.5:styling_infoboxes [2012/03/12 16:37]
pgmarshall created
v2.5:styling_infoboxes [2012/03/12 16:39] (current)
pgmarshall
Line 4: Line 4:
   * You may find this useful if you are creating your own infoboxes, for example the social media infobox created in [[creating_a_new_infobox|this example]].   * You may find this useful if you are creating your own infoboxes, for example the social media infobox created in [[creating_a_new_infobox|this example]].
  
-  - Simply open boxes.tpl.php from **catalog/​templates/​{your_template}/​boxes/​box.tpl.php** and save as social.tpl.php (assuming you are following the example given in the link above - otherwise name the file the same as variable you defined in the infobox - $box_base_name)+  - Simply open boxes.tpl.php from **catalog/​templates/​{your_template}/​boxes/​box.tpl.php** and save as **social.tpl.php** (assuming you are following the example given in the link above - otherwise name the file the same as variable you defined in the infobox - $box_base_name)
   - Now this new file will be used by the system to style the surrounding box for the content created in the file stored in **catalog/​includes/​boxes/​social.php**   - Now this new file will be used by the system to style the surrounding box for the content created in the file stored in **catalog/​includes/​boxes/​social.php**
  
Line 51: Line 51:
 </​code></​box>​ </​code></​box>​
  
-  * Obviously you can take this much further by simply apply your own styles to this new template file and adding the new classes to **catalog/​templates/​{your_template}/​stylesheet.css**+  * Obviously you can take this much further by simply apply your own styles to this new template file and adding the new classes to **catalog/​templates/​{your_template}/​stylesheet.css**
 +  * It is always best to start with **box.tpl.php** and edit from there.
  
   * Hopefully this shows you clearly how flexible osCmax is to your requirements.   * Hopefully this shows you clearly how flexible osCmax is to your requirements.
v2.5/styling_infoboxes.txt · Last modified: 2012/03/12 16:39 by pgmarshall
You are here: startv2.5styling_infoboxes
Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0