Colliberty Easy Publisher
Home / Easy Publisher CMS / Documentations / Easy Publisher 1.8 / What's new

content  

What's new in Easy Publisher 1.8

Version 1.8 beta18, 2004-06-19
  • Fixed JavaScript bugs in EasyEditor when using multiple editable view.
  • Added EasyExcelFile which is a file object that takes a Microsoft Excel XML file, parses it and lets the users access data scripts or DTML/ZPT. Currently only getAllRows and a sequence interface (__len__, __getitem__, __getslice__ etc.) is implemented. Storage and interfaces are going to change for this class in the future.

Version 1.8 beta17

  • Requires Zope 2.7.1
  • Included APE, Archetypes (validation, generator), BTreeFolder2, CMFCore, CMFDefault, CMFFormController, CookieCrumbler, DCWorkflow, CPSSchemas, Epoz, TinyTablePlus, GroupUserFolder, ExternalEditor, MailBoxer, GroupUserFolder, ParsedXML, PlacelessTranslationService, PloneErrorReporting, PortalTransforms, ReplaceSupport, and Xron (which may be replaced). And Formulator off course.

    All these third party products may not be useful or even used by Easy Publisher. (But I finds the interesting and I want to keep them around.)

  • EasyRoot now acts as a PortalRoot, e.g. it talks to portal_skins to setup access to skins objects. A EasyRoot site can basically be a CMF portal now (this is untested yet, bugg reports or comments are welcome).
  • The App.ProductContext.registerClass now takes a category argument for sorting meta_type in to categories. This is uses for instance in the Add Object box in the manage_main (Contents) view to group objects by category (this should be made optional through user configuration).
  • Add Object box in the manage_main (Contents) view also shows all allowed EasyEditor templates by name first in the select box. When a Template is choosen a object of a pre-defined type is added with the template choosen. Allowed template as well as allowed meta_type and the pre-defined object type to add is configured in the Properties view of each template.

Easy Publisher 1.8 beta10, 2003-12-02

What's new

This document describes what is new and that has change in Easy Publisher 1.8.

Issues has been divided in to three separate categories:

  • Content Providers
  • Web Designers and Developers
  • Administrators

Content Providers

Overview

New Options and User Interface changes

  • The look and feel of the views as been changed.
  • New Body Tabs, some View Tabs have moved.
  • Buttons named Change have been change to Save Changes for better consistency
  • Easy Contact Form has a option (Use EasyMailService) to use the settings of the Easy Mail Service to get mail server information (compared to Easy Publisher 1.6)
  • The Image and Link dialogs now permit the user to upload both EasyImages and EasyFiles. The upload function will detect the file type and choose the appropriate object type.
  • The dialogs also takes meta data about the files that are being uploaded.
  • EasyFiles and EasyImages now show icons based on the type of file.
  • The Content view now shows an External Editor link which make it possible to edit object via the External Editor client.
  • WebDAV support has been improved which enables the user to connect to the server using a WebDAV or FTP client and edit object. For Windows users we can recommend WebDrive which is a client that lets you mount Easy Publisher inside the Windows Exporer just like it was a network drive.

New Management Views

  • Simple Text interface for add batches of navigation Urls
  • There is a Replace View in EasyEditables which can search and replace strings.

New Object Types

  • The Workflow management interface has been moved from Easy Navigation to own object called Easy Workflow Manager
  • Easy Language Service is a new object that manage languages and language codes.
  • Easy Property Container is an object that can hold a propertysheet. It can be used to make parts of the website interface modifiable that is not content editable. For instance contact information or fixed labels, menus and other text. It can be use to localize parts of the web site.
  • TinyTablePlus is a third party product inlcuded in Easy Publisher. It is used to hold simpler forms of tabular data.

View Tabs have mode to Body Tabs

One more level of view tabs.

Simple text form for Navigation

Simple Text interface for add batches of navigation URLs.

Enter the simple text form click the Simple Text link in the Navigation view.

Enter the urls To add (either virtual urls or physical urls)

You can't delete existing entiries. To delete or change exisiting entries you need to copy the whole content, press Delete All and then paste the content and edit it.

Web Designers and Developers

Overview

Administrators

Easy Publisher 1.8 runs on Zope 2.5.1 and Zope 2.6.1.

Installation

Remarks regarding the Source Distribution For the source distribution of Easy Publisher, to replace the Zope Root with the Easy Root you need to copy OFS/Application251.py resp. OFS/Application261.py over the OFS/Application.py.

Also Python Image Library (PIL) needs to be installed manually, see the Install.PIL.txt in the source root.

Easy Workflow Manager

A new object EasyWorkflowManager has replaced the Workflow Manager interface of EasyNavigation. This makes it possible to add serveral EasyWorkflowManagers in a Zope site.

Each EasyWorkflow manager handles the part of the web where it has been added (and only that part).

This makes it possible for users that only can contribute in a sub part of a site to use the Workflow Manager for that part.

The Workflow manager has gained to new views:

  • Configure
  • Statistics

In the Configure view the user can change which columns is shown (this has been move from the Wrokflow view) and what object types (meta types) that shall be shown in the listing.

In the Statistics view the user can see a simple statistic over object.

The changes in the Configure and Workflow views are now persisten over the user session, even if the user performs an action or leaves the page.

References

EasyEditables

Easy Editable are all editable documents in Easy Publisher:
  • EasyDocument
  • EasyNewsItem
  • EasyContactForm

Physical and Virtual URLs

Third Party Products

  • Formulator 1.3.1 (Upgraded see Products/Formulator/README.txt)
  • External Editor 0.7 (Optional)
  • OrderedFolder 0.4.0 (Upgraded see Products/OrderedFolder/CHANGES.txt)
  • PIL 1.3 (Needs to be complemented with binary components, see INSTALL_PIL.txt) (Optional)
  • ReplaceSupport 1.0.1 (Optional)
  • TinyTablePlus 0.9.0 (Optional)
  • CMFCore (Optional)

Deprecated Features

Base Classes

VirtualPathBase:

  • absoluteURL (Computed Attribute), use instead: virtualURL
  • getSiteRootPath, use instead: getVirtualRootPath

EasyPublisherBase:

  • getEasyNavigationURL, use instead: getEasyNavigation.physicalURL
  • getEasyNavigationPath, use instead: getEasyNavigation.physicalPath
  • getEasyResourcesURL, use instead: getEasyResources.physicalURL
  • getEasyResourcesPath, use instead: getEasyResources.physicalPath
  • getEasyNewsServiceURL, use instead: getEasyNewsService.physicalURL
  • getEasyNewsServicePath, use instead: getEasyNewsService.physicalPath
  • getEasyEditor, use instead: getTemplateService
  • getEasyEditorURL, use instead: tsURL (Computed Attribute)
  • getEasyEditorPath, use instead: tsPath (Computed Attribute)

EasyNavigation:

Deprecated Methods:

  • get_object()
  • get_subobjects()
  • get_object_navigation_path()

Deprecated (expensive) Methods:

  • getMenuMap, use instead: getMenu and use recurrsive calls. The brains returned by getMenu contains reference to the following methods that can be used to call getMenu recursivly:

    LocalNavigationBrain.query

    LocalNavigationBrain.object_path

    LocalNavigationBrain.skip_root

    LocalNavigationBrain.getMenu()

    LocalNavigationBrain.current_path

    LocalNavigationBrain.here

    LocalNavigationBrain.path_in

    LocalNavigationBrain.getNavigationTrail()

    LocalNavigationBrain.virtual_root_path_of_request

    LocalNavigationBrain.domain (= self.getCurrentDomainName())

    LocalNavigationBrain.NavigationService (= self)

    LocalNavigationBrain.EasyVHM (self.EasyVHM or None)

  • getNavigationTrailMap, use instead: getNavigationTrail
  • getNavigationContextMap, use instead: getMenu and getNavigationTrail

EasyNewsItem (and EasyDublinCore):

  • The Date interface of EasyNewsItems are now a part of the EasyDublinCore (effecting all EasyEditables) The method of the interface are:

    def effective_year(self):

    def effective_month(self):

    def effective_month_name(self):

    def effective_day(self):

    def effective_weekday(self):

    def publish_date(self):

    def archive_date(self):

    def is_visible(self):

    def is_published(self):

    def is_archived(self):

publish_date (and is_* methods) now calculate the published date base on first the Effective Date, and if not set it looks at the Creation Date (previous EasyNewsItem check the Modification Date which made the News Items undeliberate change date if the was no Effective Date and they where change or moved (for instance exported/imported)).

New Object and Features

New Workflow Manager

Workflow Management has moved from EasyNavigation to a new object called Workflow Manager. The upside with this is that there can be more than one Workflow Manager, for instance some where in the hierarcy were the workflow manager have access (if they don't have access to the root).