forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: ruscano on February 12, 2006, 05:11:00 am

Title: Intermediate page in popup
Post by: ruscano on February 12, 2006, 05:11:00 am
Searched the forums, but couldnt find any info on this for 1.4.2.
Everything is for older version and won't work.
I checked for any reference to displayimage.php in theme.php but no resolts.
Defently there is a way to achieve the intermedia page appear in a popup, and at this point for me is crucial, any help will be very very much apreciate it, please

Title: Re: Intermediate page in popup
Post by: n3n on February 17, 2006, 01:45:28 am
Im also looking for a solution. Ill post it when ive got it figured out.
Title: Re: Intermediate page in popup
Post by: Joachim Müller on February 17, 2006, 07:09:11 am
with many pop-ups, you're scaring visitors away, that's all. Are you actually trying to open the intermediate display in a pop-up or are you trying to skip the intermediate page entirely and looking for a hack "from thumbnail to full-size pop-up"?
Title: Re: Intermediate page in popup
Post by: cionex on March 28, 2006, 05:21:14 pm
I'm actually looking for a solution. I had the previous version and worked fine but now with the new one it doesn't work... can somebody help us to skip the intermediate pictures and make the full size pics pop-up?

Thanks in advance!
Title: Re: Intermediate page in popup
Post by: cionex on March 31, 2006, 10:49:19 pm
Anyone?!? I need a solution!!!  ???
Title: Re: Intermediate page in popup
Post by: Stramm on April 01, 2006, 11:11:22 am
have you read this thread http://forum.coppermine-gallery.net/index.php?topic=15671.20
needs some work to work with 1.4 though
Title: Re: Intermediate page in popup
Post by: cionex on April 01, 2006, 06:37:48 pm
have you read this thread http://forum.coppermine-gallery.net/index.php?topic=15671.20
needs some work to work with 1.4 though

Exactly. I did that with the previous version but it doesn't work with 1.4. That's what i want to know. What do to make it work for 1.4. I really really really really need a solution. I can't stand the intermediate pictures... Please, help!!!
Title: Re: Intermediate page in popup
Post by: Joachim Müller on April 02, 2006, 11:47:45 am
the code section you need to change has been moved from displayimage.php to theme.php. If the section doesn't exist in your version of theme.php, copy it from the sample theme.
Title: Re: Intermediate page in popup
Post by: cionex on April 02, 2006, 12:35:25 pm
the code section you need to change has been moved from displayimage.php to theme.php. If the section doesn't exist in your version of theme.php, copy it from the sample theme.

I tried but it doesn't work. In fact, people on the other thread only said to modify theme.php and functions.inc. Not displayimage.php...  :o
I re-uploaded the original files again:

Here's in theme.php and functions.inc
http://www.steve-sandvoss.com/gallery/themes/water_drop/
(i uploaded functions.inc there for you to take it, it's not like i upload it there to make it work, lol).

Maybe you can take a look at it... Thanks very much!!!
Title: Re: Intermediate page in popup
Post by: Joachim Müller on April 02, 2006, 09:18:31 pm
how should I be able to get those files? They're PHP files, they get parsed. I can't download them.
Title: Re: Intermediate page in popup
Post by: cionex on April 02, 2006, 09:51:47 pm
how should I be able to get those files? They're PHP files, they get parsed. I can't download them.

I uploaded a zip file. Just "righ click" and "save as"...  :)
Title: Re: Intermediate page in popup
Post by: cionex on April 05, 2006, 08:59:38 pm
GauGau, are you there???  ;D

I really need your help!!!!  :-[
Title: Re: Intermediate page in popup
Post by: Joachim Müller on April 06, 2006, 07:20:12 am
I'm not going to do your work. You need the mod, you code it. Looking into your code requires using a diff viewer to see the changes, apply the changed files to my test site, looking deeply into things.
I tried to apply the mod as originally posted by donnoman and discovered that it hasn't changed at all, the steps described match exactly except the code you need to replace in your theme.php file: find
Code: [Select]
'{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}",and replace with the suggested code. As the theme functions that need modification don't exist by default in the water drop theme, you have to copy them first from the sample theme.
For ease of use I have attached the modified theme.php file (rename it back from theme.php.txt to theme.php after downloading it).

HTH

Joachim
Title: Re: Intermediate page in popup
Post by: cionex on April 06, 2006, 11:46:49 pm
OMFG!!!  :o it worked!!!!

Thank you SOOOOOOOOOO much! You're the best!!!

Besides, I'm sure this will help a lot of people! :)))
Title: Re: Intermediate page in popup
Post by: Joachim Müller on April 18, 2006, 08:00:26 am
note to devs: feature added to devel branch of svn.
Title: Re: Intermediate page in popup
Post by: Joachim Müller on July 29, 2006, 03:35:37 pm
Mod that is based on this thread: http://forum.coppermine-gallery.net/index.php?topic=34360.0