280 likes | 434 Views
Plone. Großes Seminar Blockseminar SS04 Referentin: Katja Reitz. Table of contents. CMS Plone First use of Plone Object types in Plone Workflow system Zope Management Interface. What is a CMS?. CMS – Content Management System Administration of content
E N D
Plone Großes Seminar Blockseminar SS04 Referentin: Katja Reitz
Table of contents • CMS • Plone • First use of Plone • Object types in Plone • Workflow system • Zope Management Interface
What is a CMS? • CMS – Content Management System • Administration of content • Separation between design and content • Templates • Workflow system
Plone (1) • CMS • Open source • Free • Based on Zope • Programming language: Python • Support of 30 languages, also german
Plone (2) • Extensible • Technology neutral • Plattforms: • Linux • Windows • Mac OS X • Solaris • BSD
Zope • Web application server • Contains a Content Management Framework (CMF) • Programming language: Python • Open source • Free
First use of Plone • Download at http://plone.org • About 20 MB (for Windows XP) • Easy to install • After installation: • One user Site-Manager • Default-Page • Possibility to create new users
Object types in Plone • To produce content • Different object types to realize different content • Generell features: • Discussing content • Searching for content
List of object types in Plone • Document • Date • File • Folder • Image • Link • News item • Topic
Example: Document • Object type to produce text • Different formats: • Plain text • HTML • Structured text
Example 1: Structured text • *italic* italic • **bold** bold • _underline_ underline
Workflow system • Manage business processes • Management of all activities in a project from start to finish • Document Management • User Roles • Object states
User Roles • Anonymous • Member • Reviewer • Owner • Manager
Object states / actions • Private • Submit • Retract • Reject • Publish
Zope Management Interface • Administration tool • http://localhost:8080/manage • Change the look of Plone • Templates Zope Page Templates
Change the look of Plone • Simple changes: • Slots • Skins/Layers • Templates • Zope Page Templates
Zope Page Templates • Structure of a web page • HTML in combination with Template Attribute Language TAL • TAL as a attribute in HTML-Tags • Attribute: tal:statement • Dynamic content
Example 1 The URL is <span tal:replace="request/URL"> URL </span>. Static: The URL is URL. Dynamic: The URL is http://localhost:8080/template_test.
Example 2 <table border="1" width="100%"> <tr> <th>#</th><th>Id</th><th>Meta-Type</th><th>Title</th> </tr> <tr tal:repeat="item container/objectValues"> <td tal:content="repeat/item/number">#</td> <td tal:content="item/id">Id</td> <td tal:content="item/meta_type">Meta-Type</td> <td tal:content="item/title">Title</td> </tr> </table>
Conclusion • GroupWare tool • Document Management System • Easy to use • More difficult for the site-manager and the template-programmer Zope Management Interface