You are not logged in Log in Join
You are here: Home » Members » Marc's Zope Page » CMF adaption of ZPhotoAlbum » INSTALL.txt » View Document

Log in
Name

Password

 

INSTALL.txt

This is a ZClass product, you import from the Products directory.

Once you import this thing into your Products directory, you still need to make a portal_types to get it into your portal:

  1. go to portal_types, and Add a Factory Type Info type. 2. Call it Photo Album (or whatever you want) 3. Based on (none) 4. Once built, go to the type and fill in the following:

Title: photo album (or whatever you call it)

Description: Add a special Photo Album folder. You then add Images inside it and it gives you a nice display of your photos.

Metatype: Portal PhotoAlbum

Icon:Control_Panel/Products/CMFPhotoAlbum/CMFPhotoAlbum/ziconImage

Product name: CMFPhotoAlbum

Factory method in product: CMFPhotoAlbum_add

Initial viewname: folder_contents

Filter content types: checked

Allow content types: select all the Image types you have installed.

Allow discussion: sure, why not!

SAVE CHANGES.

Now click the actions tab, and add two actions:

Name: View Id: view Action: index_html Permission: View category: folder

Name: Change folder Id: folderChange Action: folder_edit_form Permission: Modify Portal Content category: folder

THAT'S IT, you're done! You should now have a Photo Album type in your CMF "New..." choices.