LightBox NotesFor.net in MiniCMS?? LightBox NotesFor.net in MiniCMS??
 

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

LightBox NotesFor.net in MiniCMS??

Started by KchoPrro, August 25, 2011, 07:01:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

KchoPrro

Hello Friends!

In the version of CPG 1.4.27 was installed Light Box and MiniCMS.
When inserting an image MiniCMS adding light box could use code like this;

<a rel="lightbox[list]" href="http://www.adolfoventas.es/galeria/albums/userpics/10001/IXUS-850-IS-PhD.jpg" title="Prueba del grado de Vi&ntilde;eteo en una Compacta Canon IXUS 850IS">

Now I upgraded to CPG 1.5.14, you can use LightBox NotesFor.net the same way?

example of the problem

http://adolfoventas.net84.net/galeria/index.php?file=minicms/cms&id=7

Thanks

KchoPrro
P.D. Traslated by Google Translator


Joe Carver

Quote from: KchoPrro on August 25, 2011, 07:01:50 PM
Now I upgraded to CPG 1.5.14, you can use LightBox NotesFor.net the same way?

No, it would not be possible without extensive changes. You can see by looking at the page source in my CPG installations listed below.

There are a few config variables that are passed and the .js is inserted into the page differently.

1) You could try to modify either the 1.5.x version (I do not have any time to look at it in detail)
or
2) Try to modify the 1.4.x version (I created the 1.5.x version because the 1.4.x gave me trouble - maybe there is a way to make it work)

2 might be less work than 1,  if you can get it to work.

KchoPrro

Quote from: Joe Carver on August 26, 2011, 12:06:40 AM
2 might be less work than 1,  if you can get it to work.

Joe Carver, Thank you very much!.

Unfortunately I have no knowledge of computer programming or sufficient to change such an important job.

I think I might try installing a simple Lightbox, independent of CPG and insert the code on each  MiniCMS  page. The code calls the function LightBox

if I find the solution, I posting here.

Regards!

KchoPrro
P.D. Translated By Google Translator

KchoPrro

Solved!

I could not install "NotesForLightBox" because I could not call the script with the attribute rel="lightbox". It did not work.

Finally, I used this script; http://shadowbox-js.com/usage.html

I've copied in the template.html, in the head. This script is called with rel="shadowbox" but you can also call with rel = "lightbox" so it was not necessary to modify the files generated MiniCMS.

The result?

http://www.adolfoventas.es/galeria/perfil.php (php file)
http://www.adolfoventas.es/galeria/thumbnails.php?album=26 (MiniCMS file)

No problem by using two LightBox

Thank you very much!

KchoPrro

Αndré

Quote from: KchoPrro on August 26, 2011, 06:21:35 PM
Solved!
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
you can tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.

KchoPrro

Ok! I did not know where it was "solved"

Sorry!  :-[

KchoPrro