SlideShare uma empresa Scribd logo
1 de 27
Plone 4
 Що нового?
    Сергій Вальчук
 Всесвітній День Плону,
      Львів 2010,
      Quintagroup
Історія версій

Plone 4.0 (Alfa realese 1) - (Nov 19, 2009)
Plone 4.0 (Alfa realese 2) - (Dec 12, 2009)
Plone 4.0 (Alfa realese 3) - (Dec 21, 2009)
Plone 4.0 (Alfa realese 4) - (Feb 01, 2010)
Plone 4.0 (Alfa realese 5) - (Feb 19, 2010)
Plone 4.0 (Beta release 1) (Mar 08, 2010)
Plone 4.0 (Beta release 2) (Apr 13, 2010)
...
Plone 4.0 (Stable) in early summer?
Новий інтерфейс створення
                Plone Site
Для швидкого створення Plone сайту була додана
спеціальна кнопка Add Plone Site у ZMI.

Кнопка відображається тільки на корені (Root Folder).
Plone Control Panel

+ Image Handling
+ TinyMCE Visual Editor
- Kupu Visual Editor
Image Handling
Specify all allowed maximum image dimensions, one per line.
The required format is <name> <width>:<height>.
Експорт Image Handling

Можна експортувати зміни.
Дані зберігаються у propertiestool.xml
<object name="imaging_properties" meta_type="Plone Property
Sheet">
  <property name="title">Image handling properties</property>
  <property name="allowed_sizes" type="lines">
   <element value="large 768:768"/>
   <element value="preview 400:400"/>
   <element value="mini 200:200"/>
   <element value="thumb 128:128"/>
   <element value="tile 64:64"/>
   <element value="icon 32:32"/>
   <element value="listing 16:16"/>
   <element value="custom 250:250"/>
  </property>
 </object>
TinyMCE Visual Editor
TinyMCE Settings

Layout

•   Enable resizing the editor window.
•   Enable auto resizing of the editor window.
•   Editor width
•   Editor height
•   Writing direction
•   Enable contextmenu.
•   Choose the Css used in Wysiwyg Editor Area
•   Styles
•   Table styles
TinyMCE Settings

Toolbar
• Toolbar width
• Вибір кнопок які повинні відображатись у toolbar
• Custom Toolbar Buttons


Resource Types
•   Link using UIDs
•   Allow captioned images
•   Rooted to current object
•   Contains Objects
•   Contains Anchors
•   Linkable Objects
•   Image Objects
•   Custom Plugins
•   Entity encoding
Kupu Visual Editor

• Не є редактором по замовчуванню
• Можна встановити як додатковий продукт
Themes

• Sunburst Theme
• Plone Classic Theme
• Plone Default (Unstyled)
Sunburst Theme

• Тема по замовчуванню
• Використовує Deco Grid System
Plone Classic Theme

• Тема яка використовувалась у Plone 3.
• Може бути деінстильована
Plone Default (Unstyled)

• Тема не містить css
• Всі css файли пусті
Вebug modes

fg = debug

bin/instance fg

Debug modes for:
- portal_css;
- portal_javascripts;
- portal_kss.
Global Definitions

No more global definitions in templates
<div tal:define="template_id template/getId;
normalizeString nocall:context/@@plone/normalizeString;
toLocalizedTime nocall:context/@@plone/toLocalizedTime;
portal_properties context/portal_properties;
site_properties context/portal_properties/site_properties;
here_url context/@@plone_context_state/object_url;
portal context/@@plone_portal_state/portal;
isAnon context/@@plone_portal_state/anonymous;
member context/@@plone_portal_state/member;
actions python:context.portal_actions.listFilteredActionsFor(context);
mtool context/portal_membership;
wtool context/portal_workflow;
wf_state context/@@plone_context_state/workflow_state;
default_language context/@@plone_portal_state/default_language;
is_editable context/@@plone_context_state/is_editable;
isContextDefaultPage context/@@plone_context_state/is_default_page;
object_title context/@@plone_context_state/object_title;
putils context/plone_utils;">
</div>
Pop-ups
jQueryTools
Add jQueryTools
integration, using
plone.app.jquerytools.
Manage Portlets

Show blocked portlets   show/hide portlet
Favorite content type

Removed unmaintained and unused Favorite content type.
Categories > Tags

"Categories" are now "Tags", in line with common usage and
terminology.
getSectionFromUR

Avoid the getSectionFromURL method completely and merge
functionality into the bodyClass method.
Доповнення?
Запитання?
Посилання

• A Look at Plone 4 - http://www.slideshare.net/esteele/a-look-at-plone-4
• Updating add-on products for Plone 4.0 -
  http://plone.org/documentation/manual/upgrade-guide/version/upgrading-
  plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0
• Plone 4 changes
  http://dev.plone.org/plone/browser/Plone/trunk/docs/CHANGES.txt

Mais conteúdo relacionado

Mais de Quintagroup

Georgian OCDS API
Georgian OCDS APIGeorgian OCDS API
Georgian OCDS APIQuintagroup
 
Open procurement - Auction module
Open procurement - Auction moduleOpen procurement - Auction module
Open procurement - Auction moduleQuintagroup
 
OpenProcurement toolkit
OpenProcurement toolkitOpenProcurement toolkit
OpenProcurement toolkitQuintagroup
 
Open procurement italian
Open procurement italian Open procurement italian
Open procurement italian Quintagroup
 
Packages, Releases, QGSkel
Packages, Releases, QGSkelPackages, Releases, QGSkel
Packages, Releases, QGSkelQuintagroup
 
Integrator Series: Large files
Integrator Series: Large filesIntegrator Series: Large files
Integrator Series: Large filesQuintagroup
 
New in Plone 3.3. What to expect from Plone 4
New in Plone 3.3. What to expect from Plone 4New in Plone 3.3. What to expect from Plone 4
New in Plone 3.3. What to expect from Plone 4Quintagroup
 
Overview of Plone-based websites for mobile devices.
Overview of Plone-based websites for mobile devices.Overview of Plone-based websites for mobile devices.
Overview of Plone-based websites for mobile devices.Quintagroup
 
Ecommerce Solutions for Plone
Ecommerce Solutions for PloneEcommerce Solutions for Plone
Ecommerce Solutions for PloneQuintagroup
 
Templating In Buildout
Templating In BuildoutTemplating In Buildout
Templating In BuildoutQuintagroup
 
Releasing and deploying python tools
Releasing and deploying python toolsReleasing and deploying python tools
Releasing and deploying python toolsQuintagroup
 
Zope 3 at Google App Engine
Zope 3 at Google App EngineZope 3 at Google App Engine
Zope 3 at Google App EngineQuintagroup
 
Plone в урядових проектах
Plone в урядових проектахPlone в урядових проектах
Plone в урядових проектахQuintagroup
 
Використання системи Plone для створення університетських вебсайтів
Використання системи Plone для створення університетських вебсайтівВикористання системи Plone для створення університетських вебсайтів
Використання системи Plone для створення університетських вебсайтівQuintagroup
 
Plone - Система Управління Вмістом
Plone - Система Управління ВмістомPlone - Система Управління Вмістом
Plone - Система Управління ВмістомQuintagroup
 
Content Migration: Quantum Leap
Content Migration: Quantum LeapContent Migration: Quantum Leap
Content Migration: Quantum LeapQuintagroup
 
Plone i18n, LinguaPlone
Plone i18n, LinguaPlonePlone i18n, LinguaPlone
Plone i18n, LinguaPloneQuintagroup
 

Mais de Quintagroup (20)

Georgian OCDS API
Georgian OCDS APIGeorgian OCDS API
Georgian OCDS API
 
Open procurement - Auction module
Open procurement - Auction moduleOpen procurement - Auction module
Open procurement - Auction module
 
OpenProcurement toolkit
OpenProcurement toolkitOpenProcurement toolkit
OpenProcurement toolkit
 
Open procurement italian
Open procurement italian Open procurement italian
Open procurement italian
 
Packages, Releases, QGSkel
Packages, Releases, QGSkelPackages, Releases, QGSkel
Packages, Releases, QGSkel
 
Integrator Series: Large files
Integrator Series: Large filesIntegrator Series: Large files
Integrator Series: Large files
 
Python Objects
Python ObjectsPython Objects
Python Objects
 
Screen Player
Screen PlayerScreen Player
Screen Player
 
GNU Screen
GNU ScreenGNU Screen
GNU Screen
 
New in Plone 3.3. What to expect from Plone 4
New in Plone 3.3. What to expect from Plone 4New in Plone 3.3. What to expect from Plone 4
New in Plone 3.3. What to expect from Plone 4
 
Overview of Plone-based websites for mobile devices.
Overview of Plone-based websites for mobile devices.Overview of Plone-based websites for mobile devices.
Overview of Plone-based websites for mobile devices.
 
Ecommerce Solutions for Plone
Ecommerce Solutions for PloneEcommerce Solutions for Plone
Ecommerce Solutions for Plone
 
Templating In Buildout
Templating In BuildoutTemplating In Buildout
Templating In Buildout
 
Releasing and deploying python tools
Releasing and deploying python toolsReleasing and deploying python tools
Releasing and deploying python tools
 
Zope 3 at Google App Engine
Zope 3 at Google App EngineZope 3 at Google App Engine
Zope 3 at Google App Engine
 
Plone в урядових проектах
Plone в урядових проектахPlone в урядових проектах
Plone в урядових проектах
 
Використання системи Plone для створення університетських вебсайтів
Використання системи Plone для створення університетських вебсайтівВикористання системи Plone для створення університетських вебсайтів
Використання системи Plone для створення університетських вебсайтів
 
Plone - Система Управління Вмістом
Plone - Система Управління ВмістомPlone - Система Управління Вмістом
Plone - Система Управління Вмістом
 
Content Migration: Quantum Leap
Content Migration: Quantum LeapContent Migration: Quantum Leap
Content Migration: Quantum Leap
 
Plone i18n, LinguaPlone
Plone i18n, LinguaPlonePlone i18n, LinguaPlone
Plone i18n, LinguaPlone
 

Plone 4. Що нового?

  • 1. Plone 4 Що нового? Сергій Вальчук Всесвітній День Плону, Львів 2010, Quintagroup
  • 2. Історія версій Plone 4.0 (Alfa realese 1) - (Nov 19, 2009) Plone 4.0 (Alfa realese 2) - (Dec 12, 2009) Plone 4.0 (Alfa realese 3) - (Dec 21, 2009) Plone 4.0 (Alfa realese 4) - (Feb 01, 2010) Plone 4.0 (Alfa realese 5) - (Feb 19, 2010) Plone 4.0 (Beta release 1) (Mar 08, 2010) Plone 4.0 (Beta release 2) (Apr 13, 2010) ... Plone 4.0 (Stable) in early summer?
  • 3. Новий інтерфейс створення Plone Site Для швидкого створення Plone сайту була додана спеціальна кнопка Add Plone Site у ZMI. Кнопка відображається тільки на корені (Root Folder).
  • 4.
  • 5. Plone Control Panel + Image Handling + TinyMCE Visual Editor - Kupu Visual Editor
  • 6. Image Handling Specify all allowed maximum image dimensions, one per line. The required format is <name> <width>:<height>.
  • 7. Експорт Image Handling Можна експортувати зміни. Дані зберігаються у propertiestool.xml <object name="imaging_properties" meta_type="Plone Property Sheet"> <property name="title">Image handling properties</property> <property name="allowed_sizes" type="lines"> <element value="large 768:768"/> <element value="preview 400:400"/> <element value="mini 200:200"/> <element value="thumb 128:128"/> <element value="tile 64:64"/> <element value="icon 32:32"/> <element value="listing 16:16"/> <element value="custom 250:250"/> </property> </object>
  • 9.
  • 10. TinyMCE Settings Layout • Enable resizing the editor window. • Enable auto resizing of the editor window. • Editor width • Editor height • Writing direction • Enable contextmenu. • Choose the Css used in Wysiwyg Editor Area • Styles • Table styles
  • 11. TinyMCE Settings Toolbar • Toolbar width • Вибір кнопок які повинні відображатись у toolbar • Custom Toolbar Buttons Resource Types • Link using UIDs • Allow captioned images • Rooted to current object • Contains Objects • Contains Anchors • Linkable Objects • Image Objects • Custom Plugins • Entity encoding
  • 12. Kupu Visual Editor • Не є редактором по замовчуванню • Можна встановити як додатковий продукт
  • 13. Themes • Sunburst Theme • Plone Classic Theme • Plone Default (Unstyled)
  • 14. Sunburst Theme • Тема по замовчуванню • Використовує Deco Grid System
  • 15. Plone Classic Theme • Тема яка використовувалась у Plone 3. • Може бути деінстильована
  • 16. Plone Default (Unstyled) • Тема не містить css • Всі css файли пусті
  • 17. Вebug modes fg = debug bin/instance fg Debug modes for: - portal_css; - portal_javascripts; - portal_kss.
  • 18. Global Definitions No more global definitions in templates <div tal:define="template_id template/getId; normalizeString nocall:context/@@plone/normalizeString; toLocalizedTime nocall:context/@@plone/toLocalizedTime; portal_properties context/portal_properties; site_properties context/portal_properties/site_properties; here_url context/@@plone_context_state/object_url; portal context/@@plone_portal_state/portal; isAnon context/@@plone_portal_state/anonymous; member context/@@plone_portal_state/member; actions python:context.portal_actions.listFilteredActionsFor(context); mtool context/portal_membership; wtool context/portal_workflow; wf_state context/@@plone_context_state/workflow_state; default_language context/@@plone_portal_state/default_language; is_editable context/@@plone_context_state/is_editable; isContextDefaultPage context/@@plone_context_state/is_default_page; object_title context/@@plone_context_state/object_title; putils context/plone_utils;"> </div>
  • 21. Manage Portlets Show blocked portlets show/hide portlet
  • 22. Favorite content type Removed unmaintained and unused Favorite content type.
  • 23. Categories > Tags "Categories" are now "Tags", in line with common usage and terminology.
  • 24. getSectionFromUR Avoid the getSectionFromURL method completely and merge functionality into the bodyClass method.
  • 27. Посилання • A Look at Plone 4 - http://www.slideshare.net/esteele/a-look-at-plone-4 • Updating add-on products for Plone 4.0 - http://plone.org/documentation/manual/upgrade-guide/version/upgrading- plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0 • Plone 4 changes http://dev.plone.org/plone/browser/Plone/trunk/docs/CHANGES.txt