PDA

View Full Version : Insert Banner top right above log in


Tani
02-18-2008, 03:16 AM
Hello Guys.
I am new in Vivvo. I am building and learning at the same time.
I have been doing ok so far. I am having problem with the new plugin for banner manager.
I created the first banner but I don't know how to include that in the default.tpl
<vte:load module="box_banners" search_zone_id="1" />

I need to insert it so it displays top right above the log in box.

Do I need to create a template first that has the code above or just insert it directly to the default.tpl template?
Please include some kind of example instead of a short answer.

Thanks in advance

Tani

northlandadv
02-18-2008, 03:28 AM
You can insert it directly into the homepage/default.tpl file.

To get it where you want it, find the following block of code near the bottom, and insert your banner code above it. See below for how this will look with your banner code inserted:

<vte:load module="box_banners" search_zone_id="1" />
<vte:include file="{VIVVO_TEMPLATE_DIR}{VIVVO_LOGIN_TEMPLATE}" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/most_popular_email.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/tag_cloud.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/comment_tabs.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/featured_author.tpl" />

northlandadv
02-18-2008, 03:29 AM
Actually, you can insert banner code in any template..

Tani
02-18-2008, 05:24 PM
i inserted in the default.tpl template. My page now is empty.

<div id="dynamic_box_right">
<div id="box_right_holder">
<vte:load module="box_banners" search_zone_id="1" />
<vte:include file="{VIVVO_TEMPLATE_DIR}{VIVVO_LOGIN_TEMPLATE}" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/most_popular_email.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/tag_cloud.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/comment_tabs.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/featured_author.tpl" />
<vte:include file="{VIVVO_TEMPLATE_DIR}box/plugin_poll.tpl" />
</div>
</div>
</div>

Am I doing something wrong?

northlandadv
02-18-2008, 05:27 PM
That looks correct. Did you use HTML in your banner code? This could be causing an issue.

Tani
02-18-2008, 05:35 PM
I only used the banner manager to create the banner. Copy the code and paste it to the template.