Quote:
Originally Posted by Griffin80
with style vars how do i go about using this? can u give me a preview of the link please
|
Examples on how to use Style Vars are in each (defult) template.
Example in the header.
Your header Template:
HTML Code:
<td width="61" height="165"><img width="61" height="165" border="0" src="images/bluepearl/misc/top2.jpg"></td>
In a default Style:
HTML Code:
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
Your template:
- Does not add a link to forumhome, or provide a tooltip text
- Uses 'src="images/bluepearl/misc/top2.jpg"' instead of 'src="$stylevar[titleimage]"'
- Is using hardcoded width (and other styling vars), instead of width="$stylevar[outertablewidth]" for table width for example.
- For image-directories you should also use Style Vars like: $stylevar[imgdir_button]/myimage.gif