PDA

View Full Version : banner in all pages


lagkdok
07-24-2008, 09:57 AM
hi friends,

i'm sticking now a banner below the header in the homepage, and i want that shows in all the other pages. so what to do?

thank you

Micha
07-24-2008, 11:23 AM
Well, the best way would be to place it in your header template.
You can place it bellow search box, that way your banner will be visible on all pages.

lagkdok
07-24-2008, 12:09 PM
Well, the best way would be to place it in your header template.
You can place it bellow search box, that way your banner will be visible on all pages.


doesn't work Micha ... look, i copy the same instrction lines which were working with me in homepage/defaut.tpl and i paste them in box/header.tpl below <vte:include file="{VIVVO_TEMPLATE_DIR}box/search.tpl" /> but nothing has done. it seems as these new lines don't exist in header.tpl even they are really paste

here are :

<div class="box">
<div class="box_title_holder"><div class="box_title"> </div></div>
<div class="box_body">
<div class="box_content">
<img src="pic/bigad.jpg" border="0" alt="publicité" width="990" height="109" />
</div>
</div>

so, Micha shall i change this when using header.tpl?

thanks Micha

Micha
07-24-2008, 12:33 PM
Well, first of all, you don't need entire box structure around your banner.
This should be sufficient:

<div style="text-align:center;">
<img src="pic/bigad.jpg" border="0" alt="publicité" width="990" height="109" />
</div>

lagkdok
07-24-2008, 01:48 PM
sorry Micha, It doesn't work too and this is my box/header.tpl now :

<div id="header">
<div class="header_image"><img src="{VIVVO_THEME}img/header.jpg" alt="header" /></div>
<vte:include file="{VIVVO_TEMPLATE_DIR}box/pages.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/dhtml_menu.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/search.tpl" />
<div style="text-align:center;">
<img src="pic/bigad.jpg" border="0" alt="publicité" width="990" height="109" />
</div>
</div>

Micha
07-24-2008, 01:50 PM
Have you tried including your image like this:

<img src="{VIVVO_URL}pic/bigad.jpg" border="0" alt="publicité" width="990" height="109" />

lagkdok
07-24-2008, 02:00 PM
yes, i did.

my vivvo's folder contains a subfoder named (pic) there where this picture bigad.jpg is. that means that the picture target exist

Micha
07-24-2008, 02:13 PM
:confused: hmmm... Well, without your FTP access I can't help you.
I would need to see the files and possibly locate the problem.