Portal vocabularies are used to define categories to describe content in Plumi, such as video topics, video genres and submission categories. A vocabulary term is set up for that category, and then a collection is created to reference items with that category. A collection is what was previously known in Plone as a smart folder, a folder that displays dynamic content based on a set of criteria.
There are two methods available for adding a new video topic (also known as video category), video genre or callout category (also known as submission category). You can either set these up BEFORE or AFTER installation of Plumi. Setting these up before installing is a little easier, but both methods are listed below.
$ vi plumi-buildout/src/plumi.app/plumi/app/vocabs.py
from zope.i18nmessageid import MessageFactory _ = MessageFactory("plumi") vocab_set = {} taxonomy_sub_folder={'topic':'video_categories','genre':'video_genre','callouts':'submission_categories','countries':''} vocab_set['video_categories'] = ( ('poverty', _(u'Poverty / Development')), ('indigenous', _(u'Indigenous')), ('refugee', _(u'Refugee / Migration')), ('health', _(u'Health')), ('corporations', _(u'Corporations / Privatisation')), ('globalisation', _(u'Globalisation')), ('law', _(u'Law / Justice')), ('work', _(u'Work')), ('consumerism', _(u'Consumerism')), ('war', _(u'War / Peace')), ('human', _(u'Human Rights')), ('disability', _(u'Disability Rights')), ('gender', _(u'Gender / Sexuality')), ('race', _(u'Race')), ('religion', _(u'Religion')), ('art', _(u'Art / Culture')), ('internet', _(u'Internet')), ('media', _(u'Media')), ('activism', _(u'Activism')), ('politics', _(u'Politics')), ('education', _(u'Education')), ('biodiversity', _(u'Biodiversity')), ('climate', _(u'Climate Change')), ('conservation', _(u'Forests / Conservation')), ('nuclear', _(u'Nuclear')), ('sustainablity', _(u'Sustainability')), ('animal', _(u'Animal Rights')), ('water', _(u'Water')), ('biotech', _(u'Biotech')), ('civillib',_(u'Civil Liberties')), ) vocab_set['video_genre'] = ( ('documentary', _(u'Documentary')), ('experimental', _(u'Experimental')), ('fiction', _(u'Fiction')), ('animation', _(u'Animation')), ('music', _(u'Music')), ('newsreport', _(u'News Report')), ) vocab_set['submission_categories'] = ( ('festival', _(u'Festival')), ('screening', _(u'Screening')), ('dvd', _(u'DVD')), ('production', _(u'Production')), ('conference', _(u'Conference')), ('workshop', _(u'Workshop')), ('crew', _(u'Crew')), ('competition', _(u'Competition')), ('artprize', _(u'Art Prize')), ('exhibition',_(u'Exhibition')), ('other', _(u'Other')), )
('newtopic', _(u'New Topic')),
To make changes to the portal vocabularies, you must log into your Plumi site using the Admin account, or any user with the Manager role. Modifying the portal vocabularies after you have already installed Plumi requires a little more work.
Note: configuration of vocabulary terms and collections happens in special places within the normal Plone (Plumi) user interface, not in the ZMI (Zope Management Interface) and not in site setup.
Also note: an easier way to do this quickly would be to edit (or copy and paste) an existing vocabulary term, and an existing collection. In particular, setting collections up with criteria can be confusing at first, so in some way editing (or copying and pasting) an existing collection could be simpler, and give you greater chance of success. Please read through the full process below to get an idea of how these are set up, and then choose to edit existing items if you prefer.
This is the broad outline of what you need to do:
This is the in-depth process, using the example of adding a new video category:
If you're going to delete a vocabulary term, make sure no video has been assigned with this term. For example, if you delete a video genre, and visit a video that is of this video genre, then you will have an error! First change the video genres of that video to remove references to the genre you wish to delete, and then delete that video genre.
There has been error in communication with Booktype server. Not sure right now where is the problem.
You should refresh this page.