template

Create your own template

1) Creation of the page layout

Admin –> page layout

Each template needs a page layout. Therin you can switch basic parameters. (One and the same page layout can be connected to more than one template).

2) Creation of a template

Admin –> templates

  • A template needs a clear name
  • Select a page layout
  • The CSS files belonging to the template are stored in /template/inc_css/* and are selectable by the pulldown selection field css file:.

3) Little test

  • You can fill in what you want between <body> and </body>. (That is the content in main block).

Please generate a little little testpage, fill in only into the main block e.g.

<div class="box1">
 
<div class="box2">
<p style="list-style:none;margin-left:20px;margin-top:50px;">
{NAV_LIST_UL:F}</p>
</div>
 
<div class="box3">
<p>My Content</p>
{CONTENT}
</div>
</div>

and add into your frontend.css (or your own on, created in template/inc_css/* )Admincss file:

test

.box1{
color:black;
background:gray;
border:1px solid black;}
 
.box2{
margin:0;
padding:10px;
float:left;
width:200px;}
 
.box3{
margin-left:215px;
margin-right:40px;
padding:10px;
background:silver;}


Have a look: Templates

english/phpwcms-system/admin/template.txt · Last modified: 2010/01/13 22:11 by Knut Heermann (flip-flop)
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