Topic: adding banner
i would like to know how to add banner to the footer of my pages and to the content of my pages ,
You are not logged in.
i would like to know how to add banner to the footer of my pages and to the content of my pages ,
If you bought the commercial version of vldP you can use the banner feature in the control panel. If you did not buy the commercial version, you can put the banner code directly in the template.
i have the commercial version , i've add banners in the header and the sidebar , i've add a banner group and i want to place them in my pages
If you are looking for the code to drop on pages to show banners try the following.
{banners:group="bannergrouplabel"}
replace bannergrouplabel above with whatever label you used when creating the banner group.
look at our tutorials here on the forum there you can find how to do ...
tutorials
Last edited by gugu (2011-09-28 16:45:19)
i've look at the tutorial , but i cant find my homepage.tlp and the other page i have to modify the code , I'm really new to all of this ...
All your TPL files are under your template folder. For example, I use pink2 template, so my tpl file are located at:
vldp-root/templates/pink2
The tutor gugu showed you is pretty old so use caution when making changes. Back up everything.
It is pretty simple. Just put the banner code in the template you want to display a banner.
For example I have a banners group called custom1. I put the following code in my homepage.tpl.
{banners:group="custom1"}
All banners I have in this group will be rotated and display on my homepage.
You can also be very specific and display just one banner. But if you want to keep it simple, just create your banner groups with your banner codes and use the code like I did above in your tpl files.
There is a ton more of info on the forum so a little searching and I'm sure you can find what you want.
Last edited by db3204 (2011-09-29 11:12:23)
all I put in , any of my templates pages is that code {banners:group="bannergrouplabel"}... anywhere in the page , and if i put it in the footer.tlp could it work
i've add it to most of my template fille but nothing seems to show in my pages .... i need help please
I will make a tutorial/guide this week on vldmods how to do.
all I put in , any of my templates pages is that code {banners:group="bannergrouplabel"}... anywhere in the page , and if i put it in the footer.tlp could it work
Dumb question, but you did not literally put the code like this: {banners:group="bannergrouplabel"} ? If you did, you need to change bannergrouplabel to the actual name of the label you created. If you didn't, than tell us the following:
1. the template you put the code in
2. what is the banner code you are putting in your banner group. Is it adsense? Is it to a banner graphic? Make sure you http to your banner graphic is the correct path.
3. copy and paste part of the code from the template for us to see.
4. Give us as many steps and details you can so we can see what you did.
Last edited by db3204 (2011-10-01 17:18:18)
i've put the code with my actual label name , i've put the code at the end of many template files like account_album.tlp , account_blog.tlp ... it's some adsense banners i'm trying to put on my pages.... <div class="clear"></div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE footer.tpl -->
{banners:group="pied"}
I think the problem is where you are placing the code. Think about it. The footer.tpl has the closing codes for a html document. So if you are placing the code after footer.tpl, you are placing it outside the html document.
Try putting your banners code before <!-- INCLUDE footer.tpl -->. Like this:
{banners:group="pied"}
<!-- INCLUDE footer.tpl -->
Let us know if that worked.
it worked thanks a lot to all
i've add it to all my templates page , but it only appears on the account of my customers not on my home page ... it aint visible for the guests