Template path? Template path?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Template path?

Started by HugoCarvalho, July 22, 2008, 03:56:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HugoCarvalho

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. :)

Joachim Müller

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?

HugoCarvalho

Quote from: Joachim Müller 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?

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? :)

Nibbler

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

HugoCarvalho

Quote from: Nibbler on July 23, 2008, 11:15:22 AM
Add a <base> tag into your theme's template.html that points to your Coppermine directory.

Ok, thanks
i'll try :)