27
Plone 4 Що нового? Сергій Вальчук Всесвітній День Плону, Львів 2010, Quintagroup

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

Embed Size (px)

Citation preview

Page 1: Plone 4. Що нового?

Plone 4Що нового?

Сергій Вальчук Всесвітній День Плону,

Львів 2010,Quintagroup

Page 2: Plone 4. Що нового?

Історія версій

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?

Page 3: Plone 4. Що нового?

Новий інтерфейс створення Plone Site

Для швидкого створення Plone сайту була додана спеціальна кнопка Add Plone Site у ZMI.

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

Page 4: Plone 4. Що нового?
Page 5: Plone 4. Що нового?

Plone Control Panel

+ Image Handling+ TinyMCE Visual Editor-  Kupu Visual Editor

Page 6: Plone 4. Що нового?

Image HandlingSpecify all allowed maximum image dimensions, one per line. The required format is <name> <width>:<height>.   

Page 7: Plone 4. Що нового?

 Експорт 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> 

Page 8: Plone 4. Що нового?

TinyMCE Visual Editor

 

Page 9: Plone 4. Що нового?
Page 10: Plone 4. Що нового?

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

Page 11: Plone 4. Що нового?

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

Page 12: Plone 4. Що нового?

Kupu Visual Editor

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

Page 13: Plone 4. Що нового?

Themes

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

Page 14: Plone 4. Що нового?

Sunburst Theme

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

Page 15: Plone 4. Що нового?

Plone Classic Theme

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

Page 16: Plone 4. Що нового?

Plone Default (Unstyled)

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

Page 17: Plone 4. Що нового?

Вebug modes

fg = debug

 bin/instance fg

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

Page 18: Plone 4. Що нового?

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>

 

Page 19: Plone 4. Що нового?

Pop-ups

Page 20: Plone 4. Що нового?

jQueryToolsAdd jQueryTools integration, using plone.app.jquerytools.

Page 21: Plone 4. Що нового?

Manage Portlets

Show blocked portlets show/hide portlet

Page 22: Plone 4. Що нового?

Favorite content type

Removed unmaintained and unused Favorite content type.

Page 23: Plone 4. Що нового?

Categories > Tags

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

Page 24: Plone 4. Що нового?

getSectionFromUR

Avoid the getSectionFromURL method completely and merge functionality into the bodyClass method.

Page 25: Plone 4. Що нового?

Доповнення? 

Page 26: Plone 4. Що нового?

Запитання? 

Page 27: Plone 4. Що нового?

Посилання

• 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