Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Template path?  (Read 3338 times)

0 Members and 1 Guest are viewing this topic.

HugoCarvalho

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Template path?
« on: July 22, 2008, 03:56:36 pm »

Hi :)

First of all, i'd like to thank for this script, it's awesome for what i want to do :)
I've already bridged it with b2evo -- all ok.
i have now
 / (root)
 /photo (coppermine gallery)
 /blogs (b2evo)

and i wanted to put the admin files and login files (in root).
The problem is with the templates...
Because the templates will appear , images for example like, /images/xx...jpg , but i wanted to be /photo/images/xx...jpg
where i change the template path? so i can "use" the template both in root and /photo ?

Thanks. :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template path?
« Reply #1 on: July 23, 2008, 07:16:32 am »

Not sure what you mean with "template path". You can change the folder name for the folder where coppermine uploads go to in coppermine's config. I'm not aware of a bridge for b2evo - where did you get that bridge from?
Logged

HugoCarvalho

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Template path?
« Reply #2 on: July 23, 2008, 10:56:24 am »

Not sure what you mean with "template path". You can change the folder name for the folder where coppermine uploads go to in coppermine's config. I'm not aware of a bridge for b2evo - where did you get that bridge from?

Hi,

The bridge is this one http://forum.coppermine-gallery.net/index.php?topic=40950.0

 i asked for the template path, to change it... because by default it is like, /images/coppermine_logo.png  , /themes/eyeball/images/hline_bg.gif   if it was from the folder where the gallery is, /photo/ .
The problem is that i moved some files, login and admin , to the root ( / ), and so then, the /themes/eyeball/images/hline_bg.gif (and all others links) wont work because they're on /photo/themes/eyeball/images/hline_bg.gif .
What i wanted to know, is if i can, and where, change the path, that is, add the /photo/ to the links so it would work when i go /login.php for example, the links to be /photo/themes/eyeball/images/hline_bg.gif
(because /themes/eyeball/images/hline_bg.gif wont work , it is inside photo folder)

understand? :)
Logged

Nibbler

  • Guest
Re: Template path?
« Reply #3 on: July 23, 2008, 11:15:22 am »

Add a <base> tag into your theme's template.html that points to your Coppermine directory.
Logged

HugoCarvalho

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Template path?
« Reply #4 on: July 23, 2008, 03:43:58 pm »

Add a <base> tag into your theme's template.html that points to your Coppermine directory.

Ok, thanks
i'll try :)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 14 queries.