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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:10:09
Script start
Timing: Jan 18 2025 11:10:09
Module start 'layout'
Timing: Jan 18 2025 11:10:09
Module start 'content'
Timing: Jan 18 2025 11:10:10
Module end 'content'
Timing: Jan 18 2025 11:10:10
Script end

Main resources:

Total runtime0.9005 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.9375152.6250
Module start 'layout' 0.00620.0047 740.562539.4531
Module start 'content' 0.01090.8879 780.0156707.3047
Module end 'content' 0.89880.0017 1,487.320316.1563
Script end 0.9005  1,503.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3742160.0002
Check MTime0.00130.1462160.0001
Mysql Total
Database connection0.00110.119110.0011
Mysqli_queries0.806589.5564740.0109
Looping result0.00100.1137720.0000
Template Total0.855695.020.4278
Template load0.00210.237320.0011
Template processing0.853594.775320.4267
Template load and register function0.00010.015010.0001
states
state_id_array0.00170.187410.0017
state_identifier_array0.00200.224320.0010
Override
Cache load0.00180.2011470.0000
Sytem overhead
Fetch class attribute can translate value0.00090.102250.0002
Fetch class attribute name0.00150.1702110.0001
XML
Image XML parsing0.00790.875150.0016
class_abstraction
Instantiating content class attribute0.00000.0022120.0000
General
dbfile0.01251.3888390.0003
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs