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

Preview:

Citation preview

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 HandlingSpecify 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

jQueryToolsAdd 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

Recommended