Forums / Developer / LightWindow, Javascript and eZpublish.

LightWindow, Javascript and eZpublish.

Author Message

Alejandro Dominguez

Wednesday 02 March 2011 5:02:52 am

Hello guys,

I'm trying to include in my site a javascript image gallery using Lightbox http://www.p51labs.com/lightwindow/. If you see the examples when you click a text link it will open a window with the image gallery, video, etc.

In the full view of my object I get the images and I include the javascript files with ezjscore. However when I open the link I don't get the gallery.

I think it could be a problem with the compression of Javascript files. How can I disable it? I check the compression of javascript and the code is there, but maybe with the compression it's missing something.

any ideas?

Bertrand Dunogier

Wednesday 02 March 2011 6:41:53 am

Hi,

I don't really know about your specific problem, but you could try http://projects.ez.no/oplightbox2, developed by one of the eZ Systems western europe consultants.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Theodoros Papageorgiou

Wednesday 02 March 2011 11:08:05 am

You can enable development mode in your site.ini.append.php

[TemplateSettings]
DevelopmentMode=enabled

It's probably a matter of order or conflict of your js files.

WEBWiZ
Web Development
http://www.webwiz.gr

yunxia cai

Wednesday 02 March 2011 10:35:09 pm

Hello everyone!

I want to ask question about ezoe 's bug Fix #017402;

my ezpublish version is ez4.4.if I click the text to link (eznode->browsefolder->folder),then

display all my folder 's subfolder, when you click the 'Next', it display next page.but it display wrong,

it is not display all subfolder under my folder!

I search about this question http://svn.projects.ez.no/ezoe,

But I don't know how to fix this bug!

Can everyone help me details about this solving method?

Thanks!

Help me!

Alejandro Dominguez

Thursday 03 March 2011 5:17:26 am

@Bertrand

I have been trying the oplightbox2 extension and it's almost perfect. This extension creates a lightbox to every images in my site, and I only want to apply it to a certain group of images which are stored in a class. Do you know if it's possible to restrict this???

@Theodoros

I had activated this feature, but eZ don't show me any error related with this. However with the solution of @Bertrand I almost fix it.

Thanks for your response!!!

Olivier Portier

Monday 07 March 2011 1:14:06 pm

Hi Alejandro,

>> This extension creates a lightbox to every images in my site, and I only want to apply it to a certain group of images which are stored in a class. Do you know if it's possible to restrict this???

Of course you can do a specific override rule to load the templates i overriden by priority only for specific content classes or a specific attribute. Use an override rule in the override.ini.append.php from your siteaccess.

Have fun !

Olivier