• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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