Advanced search  

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]

Pages: [1]   Go Down

Author Topic: LightBox NotesFor.net in MiniCMS??  (Read 4370 times)

0 Members and 1 Guest are viewing this topic.

KchoPrro

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 224
    • Adolfo Ventas - Naturaleza Andaluza
LightBox NotesFor.net in MiniCMS??
« 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;

Code: [Select]
<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

Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1510
  • aka 'i-imagine'
    • Home Page
Re: LightBox NotesFor.net in MiniCMS??
« Reply #1 on: August 26, 2011, 12:06:40 am »

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

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 224
    • Adolfo Ventas - Naturaleza Andaluza
Re: Re: LightBox NotesFor.net in MiniCMS??
« Reply #2 on: August 26, 2011, 09:51:06 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
Logged

KchoPrro

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 224
    • Adolfo Ventas - Naturaleza Andaluza
Re: LightBox NotesFor.net in MiniCMS??
« Reply #3 on: August 26, 2011, 06:21:35 pm »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: LightBox NotesFor.net in MiniCMS??
« Reply #4 on: August 26, 2011, 08:36:25 pm »

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.
Logged

KchoPrro

  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 224
    • Adolfo Ventas - Naturaleza Andaluza
Re: LightBox NotesFor.net in MiniCMS??
« Reply #5 on: August 26, 2011, 09:10:11 pm »

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

Sorry!  :-[

KchoPrro
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.