media 65
Home | Login | Register | Password Reset |

Media 65 Technologies | Beta 0.6 |
User Name:   Password: 

Password Reset
Close


Go Back   Media 65 Forums > Joomla > Joomla Templates

 
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-18-2008, 01:52 PM
Junior Member
 
Join Date: Apr 2008
Posts: 16
Default Please, help with table backgroung images

Forgive me for perpetuating this Brian as you have been very kind. I have been able to use the background images to display properly by adding Tituss' Css code suggestion, but so far, after a week of trying I still cannot get a background image to display in a table.

I have tried many different ways (too many to list here!) but I fear that I just do not have the syntax right. For some reason when you set the table background in Dreamweaver, the table background image does not convert with the rest of the images when the Css image button is clicked. I tried to copy the code that gets added when you convert from the pictures that do convert and apply the code to the table background but the image still does not appear.

Does anyone know the proper syntax for a table background image? I am running out of ideas......Thanks in advance for your patience and kindness.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old 06-18-2008, 02:33 PM
Administrator
 
Join Date: Sep 2006
Posts: 328
Default

Set the property background to the table.

Joomla 1.0.X > Joomla Template kit 2.X
Code:
<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>background.png
Joomla 1.5.X > Joomla Template Kit 3.0
Code:
templates/<?php echo $this->template ?>/images/background.png
Joomla 1.0.X > Joomla Template kit 2.X
Code:
<table width="99%" border="0" cellpadding="0" cellspacing="0" background="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>background.png">
Joomla 1.5.X > Joomla Template Kit 3.0
Code:
<table width="99%" border="0" cellpadding="0" cellspacing="0" background="templates/<?php echo $this->template ?>/images/background.png">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 06-18-2008, 02:54 PM
Junior Member
 
Join Date: Apr 2008
Posts: 16
Default

Thanks Brian,

Greatly appreciated as I would never have figured this out myself. I am using Joomla 1.5 and JTK 3.0 (Great product btw!) I figured out where to put the second block of code in the index.php file, but I am not sure where to stick the first block of code. Would some be so kind as to point the way? Thanks again for all of the help, I think the world of you guys.
Michael Nottingham
Buena Vista Designs
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old 06-18-2008, 03:16 PM
Administrator
 
Join Date: Sep 2006
Posts: 328
Default

Hi Michael,

only one piece of code goes in
J1.5

1. all images go in the images folder for the template your using.

Your image
Code:
background="images/your_background_image.png">
The code your adding
Code:
templates/<?php echo $this->template ?>/
So it looks like this.
Code:
background="templates/<?php echo $this->template ?>/images/your_background_image.png
">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old 06-18-2008, 03:31 PM
Junior Member
 
Join Date: Apr 2008
Posts: 16
Default

Thanks Brian,
I am still screwing it up, but I should be asble to figure it out in time now that I have the correct syntax Thank you very much for the help! Michael N
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6 (permalink)  
Old 06-18-2008, 03:53 PM
Administrator
 
Join Date: Sep 2006
Posts: 328
Default

Just select the table then bottom of the editor you should see tags
like Body > Table > td etc.

select the table tag and then properties bar will have a Bg image
field. click the icon on the left to choose an image.

Code:
<table width="99%" border="0" cellpadding="0" cellspacing="0" background="http://www.m65.net/forums/images/logo.png">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
Add this code in the quote marks
templates/<?php echo $this->template ?>/
So it looks like this!
Code:
<table width="99%" border="0" cellpadding="0" cellspacing="0" background="templates/<?php echo $this->template ?>/images/logo.png">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
Attached Images
File Type: jpg bktbl.jpg (35.1 KB, 10 views)

Last edited by admin; 06-18-2008 at 04:06 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old 06-19-2008, 11:55 AM
Junior Member
 
Join Date: Apr 2008
Posts: 16
Default

Success! Thanks for going the extra mile Brian. Your efforts have ensured my success with this issue. Sorry I have been such a pain. My problem stemed from my (temporary) CSS ignorance and not any shortcomings with the JTK. Thanks again for helping with an issue that to me is clearly out of the scope of support for this fine product. I am very gratefull for the extra effort as I know how busy you are. Warm Regards, Michael Nottingham
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 01:18 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0