Quote:
Originally Posted by CC
I want to remove the backround orange for instance and the text: "Categories" with the dingbat, and just replace this with an image of a tab instead.
How would I go about this?
Thanks.
|
Just create a new variable and you can use it in the template.
Example:
Code:
{include file="menu.tpl" image="mytab.gif"}
Then you can use your variable in the template like so:
Code:
<TABLE cellpadding="0" cellspacing="0" border="0">
<TR>
<TD>[img]{$ImagesDir}/{$image}[/img]</TD>
</TR>
</TABLE>
If you use a fixed width and height for all of your tabs you can do it like the example above. But if they will vary in size, you should use something like this:
Code:
{include file="menu.tpl" image="mytab.gif" width="120" height="35"}
And use the width/height settings in the template like
width="{$width}" and
height="{$height}"