1
Biolit11
Images in themes
  • 2005/6/3 7:06

  • Biolit11

  • Just popping in

  • Posts: 11

  • Since: 2003/6/19


I am a bit dumbfounded here. In an older version of XOOPS I made themes and had no problems with them. It has been a while and I am busy with a new site and cannot get it to load the images correctly.

I add the images via


For some reason, using the exact same code in the body works fine, but for no reason will it work in the td's.

If someone can inform me of what I am missing or doing wrong it would be appreciated.

2
smdcom
Re: Images in themes

use



<{$xoops_theme}> = http://www.yourdomain.com/themes/yourthemefolder

hope make sense

SMD

3
Biolit11
Re: Images in themes
  • 2005/6/3 8:13

  • Biolit11

  • Just popping in

  • Posts: 11

  • Since: 2003/6/19


Well here is my code for the first table, but even what you sent me still did not do the trick, any other help?

<table width="100%" height="150" align="center" cellspacing="0" cellpadding="0">
  <
tr>
    <
td>
      <
table width="965" height="150" align="center" cellspacing="0" cellpadding="0">
        <
tr>
      <
td width="139" height="150" background="<{$xoops_theme}>/images/header_01.gif">td>
            <
td>
          <
table width="693">
            <
tr>
          <
td width="673" height="91" background="<{$xoops_theme}>/images/header_02.jpg">td>
        tr>
        <
tr>
          <
td height="28" width="693">
            <
table>
              <
tr>
            <
td width="174"><a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>images/header_05.gif" alt="" />a>td>
            <
td width="164"><a href="<{$xoops_url}>/modules/formulaire/"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/header_06.gif" alt="" />a>td>
            <
td width="163"><a href="<{$xoops_url}>/modules/newbb/"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/header_07.gif" alt="" />a>td>
            <
td width="174"><a href="<{$xoops_url}>/modules/mydownloads/"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/header_08.gif" alt="" />a>td>
            <
td width="18" background="<{$xoops_url}>/themes/<{$xoops_theme}>/images/header_09.gif">td>
            tr>
              table>
            td>
          tr>
          <
tr>
                    <
td background="<{$xoops_url}>/themes/<{$xoops_theme}>/images/header_04.gif" width="693" height="31" >td>
                  tr>
        table>
          td>
          <
td background="<{$xoops_url}>/themes/<{$xoops_theme}>/images/header_03.gif" width="153" height="150" >td>
        tr>
          table>
    td>
      tr>
  table>

4
LazyBadger
Re: Images in themes

At least using CSS and special class for td solved such problem (more exactly - I never had it) for my themes

5
LazyBadger
Re: Images in themes

Quote:

smdcom wrote:
use



<{$xoops_theme}> = http://www.yourdomain.com/themes/yourthemefolder

Mistake...
$xoops_theme = yourthemefolder
full path to theme folder is $xoops_imageurl

Login

Who's Online

307 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 307


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits