[SOLVED] Problem with modified template Tao'of'Light
Posted: Wed Jun 03, 2009 9:19 pm
Hello,
I'm running into a problem with a modified template. It's the template Tao'of'Light from Acamay. I asked permission to modify the theme. That was no problem.
So, onto the problem. I'm running cmsms on a Apache2 webserver with php 5.2.8 and MySQL 5.0.22.
So far so good. I've started modifying the template. Now, I want to switch place with two container, but for some reason, I am not able to get it done.
Here's the template code :
It concerns the div's with ID primarycontent and secondarycontent.
The CSS code for these div's looks like this:
But, for some reason, the two div's stay where they are. You can see it on http://test.kaatjeschrijft.nl/index.php
I want the menu on the left side, but for some reason, it won't go there. I hope somebody can help me out with that ?
best regards,
Unforgiven
I'm running into a problem with a modified template. It's the template Tao'of'Light from Acamay. I asked permission to modify the theme. That was no problem.
So, onto the problem. I'm running cmsms on a Apache2 webserver with php 5.2.8 and MySQL 5.0.22.
So far so good. I've started modifying the template. Now, I want to switch place with two container, but for some reason, I am not able to get it done.
Here's the template code :
Code: Select all
{process_pagedata}
<__html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>{sitename} | {title}</title>
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{literal}
<!--[if lte IE 6]>
<style type="text/css">
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
</style>
<![endif]-->
{/literal}
</head>
</__body>
<div id="outer">
<div id="header">
</div>
<div id="primarycontent">
<!-- primary content start -->
{content}
<!-- primary content end -->
<hr color="#D1D9ED" size="1" style="margin-top:30px; margin-bottom:5px;">
<div class="comments">
{cms_module module="Comments"} </div>
</div> <!-- //end: primarycontent -->
<div id="secondarycontent"> <!-- = right column -->
<!-- secondary content start -->
<h3>Navigation</h3>
<div class="content">
<p class="menutop" >
<span style="line-height:17px; text-align:right; font-size:11px;color:#9C9553">
{breadcrumbs root='Home'<br> delimiter='»'} </span>
{menu template='minimal_menu.tpl' number_of_levels='2' collapse='1'} <br>
<!-- Commenting out org menu setup....
{menu template='minimal_menu.tpl' number_of_levels='2' start_level='1' collapse='1'} .......until here --> </p> <br><br> </div>
<h3>News</h3>
<div class="content">
{cms_module module="news"} </div>
<h3>Seminar</h3>
<div class="seminar">
{cms_module module="seminar" mode="eventlist" length="5"} </div>
<!-- secondary content end -->
</div> <!-- //end:secondarycontent -->
<div id="clearfix"></div>
<div id="footer2" align="center">
<img src="uploads/flight.xml/footer.jpg"/> </div>
<div id="footer" align="center">
This site is powered by <a href="http://www.cmsmadesimple.org">CMS Made Simple</a> |
Original design and CMSms-adjustment by <a href="http://www.acamay.org/">acamay</a> | Theme adaptation for Kaatje Schrijft by BrightBytes </div>
</div>
<__body>
</__html>The CSS code for these div's looks like this:
Code: Select all
#primarycontent {
top:30px;
margin-left:10px;
float:right;
width:490px;}
#secondarycontent{
position:relative;
margin-top:80px;
float:left;
width:170px;
color:#6A90DE;}
But, for some reason, the two div's stay where they are. You can see it on http://test.kaatjeschrijft.nl/index.php
I want the menu on the left side, but for some reason, it won't go there. I hope somebody can help me out with that ?
best regards,
Unforgiven