Forums / General Questions / Gallery in an EZ page

Gallery in an EZ page

Views: 763

Results 1 to 3 of 3
26 Oct 2012, 9:40 PM
#1
elyssian avatar

elyssian

New Zenner

Join Date:
Oct 2012
Posts:
3
Plugin Contributions:
0

Gallery in an EZ page

I have been looking for a lightbox type gallery viewer that can be used within an EZ page, does something like this exist that is up to date for v150?

26 Oct 2012, 11:31 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Gallery in an EZ page

expages can accept html code

So any html gallery code can be added

Zen-Venom Get Bitten

29 Oct 2012, 4:52 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Gallery in an EZ page

As most of the "gallery" systems employ javascript and css (in addition to the HTML DIV identifier on the actual page itself), the key is to get the JS and CSS to load when a relevant EZ page is called up.

In MOST cases, this will involve placing the javascript file into the MODULES area of the system. In zencart, you will probably need to get the js file(s) into:

/includes/modules/pages/page folder.

(If Jquery is needed, then you could either put the Jquery file into your template's javascript folder, or call it in from Google, or similar, by referencing the URL in your template's html_header.php file).

Next, you may need to add a CSS file to your template's css folder.

Basically that's it in terms of file loading. Bear in mind that javascript files need a certain NAMING CONVENTION for Zecart... **jscript_**yourfile.js

Then - according to the gallery you are using, the HTML on the page itself needs to obey the DIV identifiers specified by the gallery, so that images in that DIV will have the JS and CSS applied to them.

20 years a Zencart User