Auditorium grouping

by Lukas Zdych last modified Dec 30, 2008 05:49 PM
How to group more then one auditorium and get an overview for all of it.

This how-to assumes that you have successfully installed SCAuditorium product and all of it's dependencies For more info see Product description in add/remove products section of your portal setup.

Also until SCAuditorium v0.3 is released, download scauditorium_folder template from SVN trunk.

Plone 2.0.5

Create new Folder object in your site where you want to group your Aduditoriums in named for example Discussions. Go to ZMI of your Plone site and customize template: /portal_skins/SCAuditorium/scauditorium_folder. Cut the page and paste it into newly created folder.

note: If you have SCAuditoriu v0.2x, replace code of customized template with code from template downloaded from SVN trunk and save it.

Customeze python script /portal_skins/SCAuditorium/scaGetOthers and change the following part of code

search = context.plone_utils.getUserFriendlyTypes()

with

search = context.getAllowedTypes()

Now goto Discussions folder in the Plone UI and you can see new folder view.. enjoy it!

Plone 2.1

As you can find, during SCAuditorium product installation was added new folder view to Folder Content-Type. So make new folder object for example Discussions and move your existing (or create new) Auditorium objects into it. Click on display menu in Plone content managing UI and select auditorium view item.

.... woops and that's it! ;)