Instructions for using Document Center Plugin (11-22-2011)
This plugin component creates one or more pages on the website that displays a list of documents (i.e. document_center) with links to a page that provides details for each document. Documents can be grouped into user defined categories.
Templates changes
- Open freeform or similar dependent template
- Review the center area edit buttons and center content area fetch tag
- Suggestion: leave to provide optional introductory text
- Position Cursor in center area where list of documents is displayed
- From RZ plugin menu: select document_center_list template
when this snippet is inserted:
- template name changes to "document_center"
- revize_document_center database module is imported
- From Revize Menu: Store Updated Template to store new template
- Review new "document_center" template in browser
- Create a new page on topnav, leftnav or in the rich text editor
- Save and click on that link and an empty list of documents will appear
- Make any css changes required
- Use "document_center" template to create "document_center_detail"
- Highlight the "document_center_list" include and select "document_center_detaill" to replace
(when this snippet is inserted, template name and dependent module will change)
- From Revize Menu: Store Updated Template
- Open "document_center" template and From Revize menu > Store Updated Template
This updates the links to the "document_center_detail" template
- Review new "document_center_list" template by clicking on uploaded document name
Live Site Deployment
Copy .../www/revize/plugins/document_center/_images_
to
live site
/revize/plugins/document_center/
Copy .../www/revize/plugins/document_center/document_center_styles.css
to
live site
/revize/plugins/document_center/
Copy .../www/revize/plugins/document_center/
to
live-site
/revize/plugins/document_center/
Developer Notes
As of 11-22-2011 the following 11 files are used from .../plugins/document_center folder.
The _images_ subfolder also contained 7 graphic files used as of 11-22-2011.
They are shared by all webspaces.
- CSS shared by all webspaces: document_center_styles.css
- simple_accordian.js (javascript to support document center Automatically included)
- template files
- document_center.head_include.jsp (included automatically)
- document_center.list.template_include.jsp
(code to list documents used on document_center template)
- document_center.detail.template_include.jsp
(code to show individual document details used on document_center_detail template)
- Edit Forms
- document_center_category-editform.jsp
- document_center_detail-editform.jsp
- document_center_options-editform.jsp
- Import Files
- document_center_import.txt (original plugin release)
- document_center_import_modules.txt (new installs only)
- (contains new fields to support sort options )
- These fields are added automatically when the sort options button is clicked
(requires DW extension v200+)
Note: the new fields are automatically added when the sort options button is clicked
so as of 11-22-2011,
document_center_import_modules.txt is just a convenience.
- document_center_readme_dw.html (these instructions)