Vertical Banner In Fruity Theme Vertical Banner In Fruity Theme
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Vertical Banner In Fruity Theme

Started by eXess, September 15, 2006, 05:12:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eXess

Hi Everybody, I have Coppermine 1.4.3 (stable) on my website. I wan to add vertical banner under the sub menu ot the left of my gallery. Something like THAT.

The banner is a part of an affiliate program and has this code:
<center><script type='text/javascript' src='http://banner.yoosms.com/?affid=163&b[y2]=100&b[y4]=100&b[y9]=100&b[g16]=100&b[g30]=100&b[28]=100&b[23]=100&b[67]=100&b[18]=100&b[33]=100&b[35]=100&b[66]=100&b[10]=100&b[52]=100'> </script></center>

Where do I put this code in order ot appear at the exact location marked in the picture above ?
.

Sami

Has been asked before , please search before post an issue
put it to /themes/your theme/template.htmlunder {SUB_MENU}
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller


eXess

Quote from: bmossavari on September 15, 2006, 06:08:40 PM
Has been asked before , please search before post an issue
put it to /themes/your theme/template.htmlunder {SUB_MENU}

Thank You, I've searched a lot, but I did'n find anything anout vertical banner  ::)
.

Sami

‍I don't answer to PM with support question
Please post your issue to related board

eXess

It will be solved, if you tell me where exactly to put this code, because I'm not very good @php  ??? Exactly after which line  :o
.

Sami

edit themes/fruity/template.html (In your case)find this line

{SYS_MENU}<br />{SUB_MENU}


and add your banner after that something like

{SYS_MENU}<br />{SUB_MENU}<br /><img src="images/blabla.jpg" alt="banner" />

be carefull about banner path (template.html will load under gallery root path so you need addressed the banner from gallery root),in my code the blabla.jpg is under {gallery root}/images folder
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Quote from: eXess on September 19, 2006, 12:34:34 AM
because I'm not very good @php 
PHP is not related: this is all plain HTML. The banner should go wherever you want it to appear.

eXess

Can I also insert Java Script in this place?  :o
.


eXess

#10
You can consider this problem solved.  ;D Everything is just the way I want it. Take a look:
http://portal.pazardjik.com/cpg/

I made a little mistake with the address sorry  ;D
.

Joachim Müller

That's a PHP-Fusion driven page in Russian that doesn't mean much to supporters here.