All files required for the photo_gallery are contained in the following system
folder:
...\www\revize\plugins\photo_gallery
(no files need to be copied to the webspace folder)
From AdminCenter:
Database modules:
- Import ...\www\revize\plugins\photo_gallery\photo_gallery_import.txt
(there are a few sample categories and documents you can delete)- Publish all channels
- plugin_photo_gallery: contains uploaded photos
- plugin_photo_gallery_config: contains configuration settings
Style template
- photo_gallery_styles: modifies some css settings
Sample templates:
- photo_gallery_sample: unique template with sample images
- photo_gallery_sample_test: dependent template sample images
NOTE: these template should be deleted once site is deployed
Open Dreamweaver and follow the instructions below to create these templates:
- open the existing freeform (or similar) dependent template in DW then...
From Revize Menu: > "Store Current Document As"
Name the template as "photo_gallery"
Keep the links module as dependent template
- Once the template is stored insert the following script after the last css links in the html head
<%@ include file="/plugins/photo_gallery/photo_gallery.head.include.jsp" %>
- Delete the center area edit buttons Replace the center content area fetch tag with the script below:
<jsp:include page="/plugins/photo_gallery/photo_gallery.top_image.template_include.jsp" flush="<%=rz.includeflush()%>" />
- Just before the </body> tag, put the following:
<jsp:include page="/plugins/photo_gallery/photo_gallery.before_endbody.template_include.jsp" flush="<%=rz.includeflush()%>" />
- From Revize Menu: > Store Updated Template
Create new page using photo_gallery template ANYWHERE on the site.
You can have as many photo gallery pages as you like (e.g. one for each department). They will each have their own photos.
Copy
.../www/revize/plugins/photo_gallery/_images_
.../www/revize/plugins/photo_gallery/js
to live-site at
/revize/plugins/photo_gallery/
The following images need to be transparent or site configuration parameters
.../revize/plugins/photo_gallery/revize/plugins/photo_gallery/_images_/slideplay-bg.gif"
.../revize/plugins/photo_gallery/revize/plugins/photo_gallery/_images_/musicplay-bg.gif"