Table of Contents

template

Create your own template

Forum: http://forum.phpwcms.org/viewtopic.php?p=77072#p77072

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

3) Little test

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