Help converting a template to Joomla 1.5

Discuss the development and implementation of Joomla! 1.0.x templates here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Help converting a template to Joomla 1.5

Post by aravot » Thu Jul 20, 2006 5:11 pm

What has changed between Joomla 1.x and Joomla 1.5 template system? I converted my site to Joomla 1.5 but the template is not working, any help, Guidance is Appreciated.

Joomla 1.5 with none working template.
http://www.armenianrugby.org/trunk

Joomla 1.0.10 with the working template (how it is suppose to look)
http://joomla.protechsystems.us/cms/index.php

Thanks in advance.

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Help converting a template to Joomla 1.5

Post by aravot » Fri Jul 21, 2006 7:31 pm

Anyone?

jmc
Joomla! Guru
Joomla! Guru
Posts: 682
Joined: Thu Aug 18, 2005 9:10 pm
Location: Hey! I'm in Hartlepool! We hang monkeys!!!
Contact:

Re: Help converting a template to Joomla 1.5

Post by jmc » Fri Jul 21, 2006 11:22 pm

Hi, Aravot!
The problem seems to be the path to the template css file. Your source code shows

Code: Select all

<link rel="stylesheet" type="text/css" href="http://www.armenianrugby.org/trunk/administrator/templates/company/css/template_css.css" />
That's what I'd be checking first.
HTH,
John Mc
When all of your wishes are granted, many of your dreams will be destroyed...

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Help converting a template to Joomla 1.5

Post by aravot » Sat Jul 22, 2006 12:58 am

Thanks jmc,

That was it, I had it like this

Code: Select all

<link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/templates/company/css/template_css.css" />
changed it to, it worked.

Code: Select all

<link rel="stylesheet" type="text/css" href="templates/company/css/template_css.css" />
So I guess for Joomla 1.5 we won't need

jmc
Joomla! Guru
Joomla! Guru
Posts: 682
Joined: Thu Aug 18, 2005 9:10 pm
Location: Hey! I'm in Hartlepool! We hang monkeys!!!
Contact:

Re: Help converting a template to Joomla 1.5

Post by jmc » Sat Jul 22, 2006 9:56 am

No problem, buddy! Glad you got it working. Oh... one thing I noticed - your horizontal nav fall outside the box on the right-hand side! maybe the div needs shrinking some?  :D
John Mc
When all of your wishes are granted, many of your dreams will be destroyed...

User avatar
alexhokamp
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Sun Nov 20, 2005 7:04 pm
Location: Germany
Contact:

Re: Help converting a template to Joomla 1.5

Post by alexhokamp » Sat Jul 22, 2006 1:13 pm

@aravot

When you look at the index.php of the standard template for Joomla 1.5 (rhuk_milkyway), you will see that a few things have changed. You also will find the way the stylesheet is being linked.

is just a php script display in the html of the index.php the variable $mosconfig_live_site, which you will find in your configuration.php of the Joomla 1.0.x versions.


Locked

Return to “Templates & CSS - 1.0.x”