4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: YouDie on May 09, 2007, 04:03:49 AM

Title: Strange maybe, but important :)
Post by: YouDie on May 09, 2007, 04:03:49 AM
(http://img339.imageshack.us/img339/5250/4imageyo3.jpg) (http://imageshack.us)

i have searched all forum, nearly all suggestions and releases like 5 hours. But couldnt find these. I numbered zones that i want to modify.

No 1: i want to add an adverstisement here! How can i do :P

No2: I want to add an advertisement here too ,but advertisement must be in categories box. Like a 468x6 banner :)

No3: is it posiible to make a box here like in no1 ?

How can i do these 3 things?

thx  :)

ps :Sry for bad english.
Title: Re: Strange maybe, but important :)
Post by: Laurina on May 09, 2007, 06:58:18 PM
You can add information into where you have No. 1 by adding text/codes/whichever you want, in your home.htm template. :)

I am assuming you want something like I have on my page?:

http://www.darrenhayesinteractive.com/galleries/


You should be able to do something within your style.css as well :)


Title: Re: Strange maybe, but important :)
Post by: YouDie on May 09, 2007, 07:02:14 PM
thx i ll try it :)
Title: Re: Strange maybe, but important :)
Post by: Laurina on May 09, 2007, 07:02:55 PM
Just modified my post.. have a peek  :)
Title: Re: Strange maybe, but important :)
Post by: YouDie on May 09, 2007, 07:10:31 PM
1st post shows something about editing colours i think! But no idea for editing new codes
Title: Re: Strange maybe, but important :)
Post by: YouDie on May 09, 2007, 07:39:03 PM
laurina yes i just want that you have :)

could you help?
Title: Re: Strange maybe, but important :)
Post by: steveeyes on May 16, 2007, 04:28:26 PM
Youdie

The key to adding ads to your gallery is your html templates. Learning those templates is not that difficult. Since they are html, you can place your code where you want.

For example:

home.html is your template for your galley home page. If you want ads to be placed on your home page, this is the template you may want to add your ad.

details.html is the template for the images (the larger photo after you click the thumbnail). If you want an ad to be in this area, add it to details.html

The templates are located under the template directory. For example the default templates are located at template/default

Make a backup of each html file before adding the ad just in case something does go wrong. It really isn't that difficult, it is a matter of trial and error until you get the ad in the template the way you want it to look.

My ads (adsense) are all over my gallery and they were all added in the html templates. http://filipinaeyes.com/online-dating-gallery/