MikeH2911
12-15-2007, 07:25 PM
Hi,
I used to have two images, one for header of vba and a different one for header of vb, can't remember how I did this but I seem to recall that its something to do with header includes when you install vba, i think I left it as it was instead of correcting the usual 'my images have disappeared when I installed a new style' issue.
I used the following code in the header template to adjust the header settings and remove the link from the banner of the vba page and the alt:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><center><if condition="!(THIS_SCRIPT == 'adv_index')"><a href="http://www.aikidoyuishinkai.co.uk"></if><img src="$stylevar[titleimage]" border="0" <if condition="!(THIS_SCRIPT == 'adv_index')"> alt="$vboptions[bbtitle]" /></a><center></if></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<if condition="!(THIS_SCRIPT == 'adv_index')">
$welcomeheaders
</if>
Then I installed vbgallery and my image links got changed and now I can't get the vba header image to change back to what it was before, it's just the same as the vb header banner, so I tried this (including a bunch of alterations to the if condition syntax incase I'd messed that up.
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><center><if condition="!(THIS_SCRIPT == 'adv_index')"><a href="http://www.aikidoyuishinkai.co.uk"></if>
<if condition="THIS_SCRIPT == 'adv_index'"><img src="http://www.banyuhattenaikido.co.uk/images/MyStyle/misc/logo.gif" border="0"></if>
<img src="$stylevar[titleimage]" border="0" <if condition="!(THIS_SCRIPT == 'adv_index')"> alt="$vboptions[bbtitle]" /></a><center></if></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<if condition="!(THIS_SCRIPT == 'adv_index')">
$welcomeheaders
</if>
Nothing happened. Any help? How do I fis it so that i can have different header banners (and soon I'll need different backgrounds) fr vba and vb?
Mike
I used to have two images, one for header of vba and a different one for header of vb, can't remember how I did this but I seem to recall that its something to do with header includes when you install vba, i think I left it as it was instead of correcting the usual 'my images have disappeared when I installed a new style' issue.
I used the following code in the header template to adjust the header settings and remove the link from the banner of the vba page and the alt:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><center><if condition="!(THIS_SCRIPT == 'adv_index')"><a href="http://www.aikidoyuishinkai.co.uk"></if><img src="$stylevar[titleimage]" border="0" <if condition="!(THIS_SCRIPT == 'adv_index')"> alt="$vboptions[bbtitle]" /></a><center></if></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<if condition="!(THIS_SCRIPT == 'adv_index')">
$welcomeheaders
</if>
Then I installed vbgallery and my image links got changed and now I can't get the vba header image to change back to what it was before, it's just the same as the vb header banner, so I tried this (including a bunch of alterations to the if condition syntax incase I'd messed that up.
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><center><if condition="!(THIS_SCRIPT == 'adv_index')"><a href="http://www.aikidoyuishinkai.co.uk"></if>
<if condition="THIS_SCRIPT == 'adv_index'"><img src="http://www.banyuhattenaikido.co.uk/images/MyStyle/misc/logo.gif" border="0"></if>
<img src="$stylevar[titleimage]" border="0" <if condition="!(THIS_SCRIPT == 'adv_index')"> alt="$vboptions[bbtitle]" /></a><center></if></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
<if condition="!(THIS_SCRIPT == 'adv_index')">
$welcomeheaders
</if>
Nothing happened. Any help? How do I fis it so that i can have different header banners (and soon I'll need different backgrounds) fr vba and vb?
Mike