[Solved]: problems using different themes with the "?th [Solved]: problems using different themes with the "?th
 

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

[Solved]: problems using different themes with the "?th

Started by raetsche, March 16, 2004, 06:04:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

raetsche

<EDIT> Sorry, i tested it again right now and the problem doesn't occur anymore! If someone mentions the same problems he may reply to this topic. Sorry for the confusion...</EDIT>

Hi,

first of all, i try to explain what i want to reach.
On my homepage the user can open the gallery
   -in a frameset (gallery opens in the content frame) or
   -in a complete new window

For the 2 versions, different themes should be used. This can be solved by using the "?theme=" parameter. So when the gallery should be opened in the frameset i use the parameter "?theme=default-small". That works fine.

But then a problem occurs. If a user enters the URL of the gallery directly, the gallery uses the "default-klein" theme! (tested with independent computers) After deleting cookies the default-theme is used again. So the problem is connected with the usage of cookies.

Now my question, is it possible to define a default-theme, which is ALWAYS used except the parameter "?theme=" parameter is used? Always means the default-theme should be used, if no parameter is given.

A possible solution might be the following:
When the user enters p.e. //www.yourdomain.com/gallery automatically the URL //www.yourdomain.com/gallery/index.php?theme=default should be called.
Is this possible? Can someone give me a hint, where to change this?

I hope i could explain the problem and thanks in advance for an answer

Greetz
Frank

rodan

-- now I read your edit commet too ... didnĀ“t see it - sorry ... I have to try this one again but I guess I got the wrong cookie ... *argh*

Hi Frank,

I understand your request. Would be very helpful for me too !

/rodan