Bug

You need to be logged in to post messages in the forums. New users may register here.

Quoc-Huy NGUYEN DINH

Member since:
19 March 2008

Posts: 23

Saturday 25 June 2011 2:04:57 pm

In your ini file ImageDatatypeZoom can get the following values: 'true' or 'false'

in you ezimage.tpl you do:
lightbox=ezini('OPLightBoxSettings', 'ImageDatatypeZoom', 'oplightbox2.ini')

Then you do {if $lightbox} at multiple locations. The issue is it will always return true because $lightbox is a string not a boolean.

--
NGUYEN DINH Quoc-Huy (Huy for short...)
The Financial Times: http://ft.com/
eZ Certified: http://auth.ez.no/certification/verify/380953
Website: http://www.quoc-huy.com/
Photography: http://www.qhphotography.com/

Twitter: @quochuync @qhphotography
G+: http://plus.tl/quochuy

Up

You need to be logged in to post messages in the forums. New users may register here.