Advertisement

06.05.2008 at 06:49PM PDT, ID: 23462459
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

joomla template not loading

Asked by CABRLU63 in Web-Based CMS, WebApplications, Content Management

Tags: ,

OS: Vista
Browser:IE7
CMS: Joomla 1.5

Issue:
I created a template for joomla. I copied the php from rhuk_milkeyway to insert the modules in the places I needed them. I created all the directories and files I needed. I placed the main directory in the template directory. When I log into the admin screens and go to template manager, I see the template I created. I selected it and click default. When I preview the template, I see the rhuk_milkeyway template.

See code snippet

What am I missing or doing wrong?Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
/* index.php */
 
<?php/** * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license		GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */// no direct accessdefined( '_JEXEC' ) or die( 'Restricted access' );?><!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >		<head>			<jdoc:include type="head" />			<title>bradco</title>			<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/cbl1/css/main.css" type="text/css" />		</head>				<body>			<div id = "wraperm">				<div id="wraperh">					<div id="header"></div>				</div>				<div id ="wrapertm">					<div id="topm">						<jdoc:include type="modules" name="user3" />						</div>				</div>				<div id="wraperls">					<div id="ls">						<?php if($this->countModules('left')) : ?>							<jdoc:include type="modules" name="left" style="rounded" />						<?php endif; ?>					</div>				</div>								<div id="wraperc">					<div id = "content">						<div id="wraperusers">							<div id="wraperu1">								<div id="u1">									<?php if($this->countModules('user1')) : ?>										<jdoc:include type="modules" name="user1" style="xhtml" />									<?php endif; ?>								</div>							</div>							<div id="wraperu2">								<div id="u2">									<?php if($this->countModules('user2')) : ?>										<jdoc:include type="modules" name="user2" style="xhtml" />									<?php endif; ?>								</div>							</div>						</div>						<div id="wraperfp">							<div id="fp">								<jdoc:include type="component" />							</div>							</div>						</div>				</div>				<div id="wraperr">					<div id="rs">						<?php if($this->countModules('right')) : ?>							<jdoc:include type="modules" name="right" style="xhtml"/>						<?php endif; ?>						</div>				</div>				<div id="wraperf">					<div id="ft">						<jdoc:include type="modules" name="footer" style="xhtml"/>					</div>				</div>			</div>		</body>	</html>
 
 
/* css file */
*{	width:0;	height:0;	}html{	width:100%;	height:100%;}body{	background-color:#000000;}#wraperm{	position:absolute;	top:30px;	left:200px;	width:800px;	height:750px;	background-image:url(../images/wbg.jpg);	background-repeat:no-repeat;	border-style:solid;	border-width:medium;	border-color:#0900A8;	padding:10px;		}#wraperh{		height:100px;	width:800px;}}#header{		width:800px;		height:100px;		background-image:url(../images/abstract_sky1.jpg);		background-repeat:no-repeat;}#wrapertm{	position:relative;	top:10px;	left:60px;	width:600px;	height:40px;	padding:5px;}#topm{	position:absolute;	top:2px;	left:70px;	width:550px;	height:50px;	}#topm ul{	position:relative;	width:500px;	height:40px;	top:15px;	}#topm ul li{	position:relative;	width:80px;	height:30px;	float:left;	background-image:url(../images/button5.png);	background-repeat:no-repeat;	text-align:center;	margin-left:10px;		}#topm ul li a{	text-decoration:none;	color:white;	font-family:"Arial Narrow";	font-weight:bolder;	text-align:center;	}#topm ul li a:hover{	font-style:oblique;}#wraperls{	position:relative;	left:10px;	top:20px;	width:120px;	height:500px;	float:left;		}#wraperls #ls{		width:115px;	height:495px;	}#wraperc{		position:relative;	top:20px;	left:20px;	width:500px;	height:500px;	float:left;	}#content{	width:500px;	height:500px;			}#wraperr{	position:relative;	left:30px;	top:20px;	width:120px;	height:500px;			}#wraperr #rs{	width:120px;	height:500px;		}#wraperf{	position:relative;	top:30px;	left:60px;	height:60px;	width:650px;	}#wraperf #ft{	height:60px;	width:650px;}#wraperusers{	height:200px;	width:490px;		}#wraperu1,#wraperu2{	position:relative;	left:2px;	top:2px;	height:188px;	width:230px;		}#wraperu1{	float:left;}#wraperu2{	left:12px;}#u1,#u2{	margin:1px;	width:228px;	height:185px;	}#wraperfp,#fp{		position:relative;	top:2px;	left:3px;	width:490px;	height:286px;		}#fp{	width:485px;	height:280px;}
 
 
/* templateDetails.xml */
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN" "http://dev.joomla.org/xml/1.5/template-install.dtd"><install version="1.5" type="template">	<name>cbl1</name>	<creationDate>2008-06-05</creationDate>	<author>Brad Luersen</author>	<authorEmail>brad@javbrad.com</authorEmail>	<authorUrl>http://www.javbrad.com</authorUrl>	<copyright>Brad Luersen 2008</copyright>	<license>GNU/GPL</license>	<version>1.0.0</version>	<description>cbl1</description>	<files>		<filename>index.php</filename>		<filename>templateDetails.xml</filename>		<filename>template_thumbnail.jpg</filename>		<filename>images/abstract_sky1.jpg</filename>		<filename>images/button5.png</filename>		<filename>images/wbg.jpg</filename>		<filename>css/main.css</filename>	</files>	<positions>		<position>left</position>		<position>right</position>		<position>top</position>		<position>user1</position>		<position>user2</position>		<position>footer</position>	</positions></install>
[+][-]06.06.2008 at 06:29PM PDT, ID: 21733817

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Web-Based CMS, WebApplications, Content Management
Tags: Joomla xhtml css php, IE 7
Sign Up Now!
Solution Provided By: CABRLU63
Participating Experts: 0
Solution Grade: A
 
 
[+][-]06.07.2008 at 07:27AM PDT, ID: 21735631

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628