The main difference I want to reiterate is this:
The following works (whereas the one I provided before doesn't):
Draven wrote:
I use it all the time, it indeed does work provided you use it IN a template file parsed by smarty.
Draven wrote:
Can't tell from your last post if you figured out the problem or not, but one thing to note is that <{$xoops_imageurl}> only points to the themes root directory xoops/themes/mytheme/ and not a subfolder like /xoops/themes/mytheme/images. To do this you need to use:
background-image: url(<{$xoops_imageurl}>images/image.gif);
hope that helps
AAINC wrote:
Here is the code from the ArchSilver theme, for the left blocks. xoops_imageurl does work in td background using html.
...
try thisle="color: #000000"><?php <td width="##" height="##" background="<{$xoops_imageurl}>images/image.jpg"> nbsp;</td>