I came across phpwcms a week ago. found it very good.
Install went perfect, configuration went perfect. And then the big big question came with the layout. How do I get my old layout into phpwmcs.
I took a look at a very understanding small doc about custom templates:
these are the results:
http://www.rwdweb.nl
I have put the {} ere i would like them.
this is what the code should look like:
Index.html
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>rwdweb3blank</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="css.css" rel="stylesheet" type="text/css" media="screen"/>
</head>
<body>
<div class="margin" id="top"><div id="topmenu">
<ul>
<li><a href="#" id="topmenu3" accesskey="3" title=""></a></li>
<li><a href="#" id="topmenu2" accesskey="2" title=""></a></li>
<li><a href="#" id="topmenu1" accesskey="1" title=""></a></li>
</ul>
</div></div>
<div class="margin" id="middle"><div id="content">Content for id "content" Goes Here</div></div>
<div class="margin" id="bottom">
<ul id="navigation">
<li id="home">
<a href="#" class="style4"><strong>Rwd</strong>web<br /><span class="style6">Goals & Objectives</span></a>
</li>
<li id="portfolio"><a href="#" class="style4" ><strong>Port</strong>folio<br />
<span class="style6">Creations & Clients</span><br />
</a></li>
<li id="solutions"><a href="#" class="style4"><strong>Solu</strong>tions<br />
<span class="style6">Services & Solutions</span></a></li>
<li id="work"><a href="#" class="style4"><strong>Wo</strong>rk<br />
<span class="style6">Jobs & Partners</span></a></li>
<li id="about"><a href="#" class="style4"><strong>Ab</strong>out<br />
<span class="style6">You & Me</span></a></li>
</ul>
</div>
<div class="margin" id="footer">
<div>
<div id="footer"><span class="margin style1"><a href="Http://www.rwdweb.nl"><span class="style2">Rwdweb</span></a><a href="Http://rwdweb.nl"></a></span><a href="Http://rwdweb.nl"><span class="style6">.nl</span></a> <span class="style2">©</span> 20</span><span class="style2">07</span><span class="margin style1"> |Design & Coding By <a href="Http://www.rwdweb.nl"><span class="style2">Rwdweb</span></a><a href="Http://rwdweb.nl"></a></span><a href="Http://rwdweb.nl"><span class="style6">.nl</span></a><span class="margin style1"> | Info@<span class="style2">rwdweb</span></span>.nl | Disclaimer</div>
</div>
</div>
</body>
</html>
Code: Select all
@charset "utf-8";
/* css for Rwdweb template */
/* For Phpwcms
/* Robert Muller
/* info@rwdweb.nl
/* Rwdweb.nl
/* July 2007
/* Layout Control START*/
html, body {
margin-bottom: 0px;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
color: #000000;
background-color: #FFFFFF;
font-size: 12px;
font-family:Myriad Pro;
height: 100%;
}
td, tr, p, div {
font-family : Myriad Pro;
font-size : 12px;
color : #000000;
}
body {
font-family : Myriad Pro;
font-size : 12px;
color : #000000;
}
.margin {
margin-left: auto;
margin-right: auto;
}
#top {
height: 49px;
width: 853px;
background: url(images/top.gif);
}
#middle {
height: 396px;
width: 853px;
background: url(images/middle.gif);
}
#content {
width: 720px;
margin-left: auto;
margin-right: auto;
padding-top: 10px;
color: #FFF;
}
#bottom {
height: 120px;
width: 853px;
overflow: hidden;
background: url(images/bottom.gif);
}
#navigation {
float: left;
margin-left: 60px;
display: inline;
padding: 0;
}
ul#navigation {
margin-top: 0;
color: #000;
float: left;
width: 100%;
display: inline;
}
ul#navigation li {
color: #000;
display: inline;
}
ul#navigation li a {
color: #000;
text-decoration: none;
float: left;
display: inline;
}
#bottom #navigation #home a {
width: 118px;
}
#home a:hover {
text-decoration: none;
color: #690;
}
#bottom #navigation #portfolio a {
width: 125px;
}
#portfolio a:hover {
text-decoration: none;
color: #06f;
}
#bottom #navigation #solutions a {
width: 131px;
}
#solutions a:hover {
text-decoration: none;
color: red;
}
#bottom #navigation #work a {
width: 130px;
}
#work a:hover {
text-decoration: none;
color: #c00;
}
#bottom #navigation #about a {
width: 110px;
}
#about a:hover {
text-decoration: none;
color: #f90;
}
#footer {
width: 800px;
text-align: center;
}
.style1 {
color: #000;
text-align: center;
}
.style2 {
color: #F9587E;
font-weight: 700;
}
#apDiv1 {
position: absolute;
width: 200px;
height: 115px;
z-index: 1;
margin-left: 377px;
top: 177px;
left: -47px;
}
#topmenu ul {
margin-right: 40px;
padding-top: 10px;
}
#topmenu li {
display: inline;
}
#topmenu a {
display: block;
float: right;
width: 20px;
height: 20px;
}
#topmenu1 {
background: url(images/home.gif) no-repeat;
}
#topmenu2 {
background: url(images/contact.gif) no-repeat;
}
#topmenu3 {
background: url(images/sitemap.gif) no-repeat;
}
.style4 {
font-size: 27px;
}
.style6 {
color: #000;
font-size: 12px;
}
a:link {
color: #000000;
}
a:visited {
color: #000000;
}
a:hover {
color: #CCCCCC;
}
a:active {
color: #000000;
}
#footer {
text-align: center;
}
.pathway {
font-size : 10px;
color : #FFFFFF;
padding-left : 8px;
}
a.pathway:link, a.pathway:visited {
font-size : 10px;
color : #FFFFFF;
padding-left : 0px;
}
a.pathway:hover {
font-size : 10px;
padding-left : 0px;
color : #FF9000;
}
Code: Select all
<div class="margin" id="top"><div id="topmenu">
<ul>
<li><a href="#" id="topmenu3" accesskey="3" title=""></a></li>
<li><a href="#" id="topmenu2" accesskey="2" title=""></a></li>
<li><a href="#" id="topmenu1" accesskey="1" title=""></a></li>
</ul>
</div></div>
<div class="margin" id="middle">
<div id="content">{Content}</div>
</div>
<div class="margin" id="bottom">
{NAV_LIST_UL:F,O}
</div>
<div id="footer">{FOOTER}
</div>


So could someone tell me what i did wrong or what I should do.
And where should I put my images?
And so, what must the url be in the css?
I hope someone could really help me out here and also tell me when that wiki phpwcms is finished.
And how do i fix it with my menu wich is really complicated??
Thanks in advance
robert muller