Making the Most of Plone's Content Types - Dan Jacka
-
Upload
knappt -
Category
Technology
-
view
1.903 -
download
0
description
Transcript of Making the Most of Plone's Content Types - Dan Jacka
![Page 1: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/1.jpg)
Making the Most of Plone's Content Types
Making the Most of Plone's Content Types
Dan Jacka
Signify Ltd.
28 April 2010
![Page 2: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/2.jpg)
Making the Most of Plone's Content Types
What we'll cover
What we'll cover
Plone content type basics
Restricting which types can be added
Content type portlets
Leveraging existing types
The future of Plone's content types
![Page 3: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/3.jpg)
Making the Most of Plone's Content Types
Basics
Basics
![Page 4: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/4.jpg)
Making the Most of Plone's Content Types
Basics
A fresh site
![Page 5: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/5.jpg)
Making the Most of Plone's Content Types
Basics
Site tree
![Page 6: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/6.jpg)
Making the Most of Plone's Content Types
Basics
Addable types
![Page 7: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/7.jpg)
Making the Most of Plone's Content Types
Basics
Content to add
Some news
Some events
Ploneboard forum
PloneFormGen form
![Page 8: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/8.jpg)
Making the Most of Plone's Content Types
Basics
An fuller site tree
![Page 9: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/9.jpg)
Making the Most of Plone's Content Types
Basics
Looking like a real site now!
All the simple types
. . . plus Collections, ands its criteria types,
. . . plus the specialist types e.g. News, Event,
. . . plus PloneFormGen types e.g. Form Folder, Checkbox,
Fieldset, etc.
. . . plus Ploneboard types e.g. Forum, Conversation,
Comment, etc.
![Page 10: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/10.jpg)
Making the Most of Plone's Content Types
Restricting which types can be added
Restricting which types can be added
Per folder
Per folder type
Globally
![Page 11: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/11.jpg)
Making the Most of Plone's Content Types
Restricting which types can be added
per folder (in the Add Menu)
![Page 12: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/12.jpg)
Making the Most of Plone's Content Types
Restricting which types can be added
per folder type (in portal_types)
![Page 13: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/13.jpg)
Making the Most of Plone's Content Types
Restricting which types can be added
globally (in portal_types)
![Page 14: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/14.jpg)
Making the Most of Plone's Content Types
Restricting which types can be added
Restricting which types can be added
Helps to manage complexity
Used by default in News and Events
Useful for common uploads directory
Per type for custom content types
Globally for one-o� features
![Page 15: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/15.jpg)
Making the Most of Plone's Content Types
Content type portlets
Content type portlets
![Page 16: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/16.jpg)
Making the Most of Plone's Content Types
Content type portlets
What does this button do?
![Page 17: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/17.jpg)
Making the Most of Plone's Content Types
Content type portlets
Type settings
![Page 18: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/18.jpg)
Making the Most of Plone's Content Types
Content type portlets
Page type settings
![Page 19: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/19.jpg)
Making the Most of Plone's Content Types
Content type portlets
An example content type portlet
![Page 20: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/20.jpg)
Making the Most of Plone's Content Types
Content type portlets
Content type portlets
The lesser-spotted portlet type
Static `help' portlet for complex types
Custom types can build on this feature
![Page 21: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/21.jpg)
Making the Most of Plone's Content Types
Leveraging existing types
Leveraging existing types
![Page 22: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/22.jpg)
Making the Most of Plone's Content Types
Leveraging existing types
collective.�owplayer
![Page 23: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/23.jpg)
Making the Most of Plone's Content Types
Leveraging existing types
collective.�owplayer
![Page 24: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/24.jpg)
Making the Most of Plone's Content Types
Leveraging existing types
Leveraging existing types
Build smart functionality around the existing types
Plone core moving to plone.folder
For developers: archetypes.schemaextender
![Page 25: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/25.jpg)
Making the Most of Plone's Content Types
And �nally . . .
And �nally . . . Dexterity
Build content types through-the-web
. . . but with the full power of �lesystem code
Lighter than Archetypes
version 1.0 beta 1 out now.
![Page 26: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/26.jpg)
Making the Most of Plone's Content Types
And �nally . . .
Dexterity
![Page 27: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/27.jpg)
Making the Most of Plone's Content Types
And �nally . . .
Dexterity
![Page 28: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/28.jpg)
Making the Most of Plone's Content Types
And �nally . . .
Dexterity
![Page 29: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/29.jpg)
Making the Most of Plone's Content Types
And �nally . . .
Dexterity
![Page 30: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/30.jpg)
Making the Most of Plone's Content Types
And �nally . . .
Dexterity
![Page 31: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/31.jpg)
Making the Most of Plone's Content Types
And �nally . . .
Dexterity
![Page 32: Making the Most of Plone's Content Types - Dan Jacka](https://reader034.fdocuments.net/reader034/viewer/2022042814/5552d8a8b4c905014c8b47db/html5/thumbnails/32.jpg)
Making the Most of Plone's Content Types
Summary
Summary
Restricting types - helps control and organise your site
Content type portlets - don't neglect them!
Choose (and develop) products that add functionality to
existing types
Try Dexterity