• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

I want to add Advertising

BeyEFENDİ

Chevereto Member
How do I do it?

r7xa.png
 
Create the adsense banner with the desired with.

Then, using your themes .css, create two variables and use them as containers for the adsense code. Do you know how to manipulate css?
 
Actually is pretty hard to give you advice regarding this issue because HTML can have a lot of ways to achieve the same thing. You need to provide more info, for instance... Do this banners are fixed to the window (they stick always to the windows) or they fluid with the content? You want them in the scope of the wraper? the body?... Etc. A little bit more input is needed.
 
You can just insert the code into /httpdocs/content/themes/Peafowl\view.php , /httpdocs/content/themes/Peafowl\header.php or /httpdocs/content/themes/Peafowl\footer.php , /httpdocs/content/themes/Peafowl\index.php.

Use your favorite text-editor (I use notepad++). It's the easiest to put the code on top or bottom of pages (not on the sides).

You can also create a basic easy-to-maintain ad-system by creating a special ad-folder like /httpdocs/content/ads , and create plain text-files for each ad, and include the text files into the files with a php-include in the files mentioned above. Example:

Code:
<!-- begin: viewer bottom ad -->
 
<?php include("../httpdocs/content/ads/bottomad.txt");?>
 
<!-- end: viewer bottom ad -->

Note that "httpdocs" is for Plesk based systems. On other servers or hosting accounts it's often called "public_html".

This is how it looks: http://sfwimg.com/image/V8
 
Back
Top