View Single Post
  #1 (permalink)  
Old 05-14-2008, 11:13 AM
TITUS TITUS is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Talking JTK 2.1 (joomla1.0x) to JTK 3.0 (joomla1.5) backgroung image issue?

Hello, I searched and could not find a similar topic?

I made a simple template using JTK 2.1 with a background image repeat-x, converted and got this in the index.php:

<!--
body {
background-image: url(<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>bg.png);
background-repeat: repeat-x;
background-color: #666666;
}
-->

Then I moved forward to educate my self with JTK 3.0, got everthing in my template to become a joomla 1.5 stand alone, except the background image, I placed it in same spot, tried to convert, it changed nothing, heres what I got:

<!--
body {
background-color: #666666;
background-image: url(images/bg.png);
background-repeat: repeat-x;
}
-->

Yet in the j1.5 th script for header looks like this for the image:

<img src="templates/<?php echo $this->template ?>/images/header_logo.png" width="1000" height="195" />

I tried modifying code of <?php echo $this->template ?>
and even put it in the .css to no availe.

Any input would be apprieciated, and I like to say, excellent product, only took me a day to make a functioning template, THANKS BRIAN !!