forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: KchoPrro on August 25, 2011, 07:01:50 pm
-
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ñ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 (http://adolfoventas.net84.net/galeria/index.php?file=minicms/cms&id=7)
Thanks
KchoPrro
P.D. Traslated by Google Translator
-
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.
-
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
-
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 (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 (http://www.adolfoventas.es/galeria/perfil.php) (php file)
http://www.adolfoventas.es/galeria/thumbnails.php?album=26 (http://www.adolfoventas.es/galeria/thumbnails.php?album=26) (MiniCMS file)
No problem by using two LightBox
Thank you very much!
KchoPrro
-
Solved!
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.
-
Ok! I did not know where it was "solved"
Sorry! :-[
KchoPrro