Friday 31 October 2008 8:18:40 am
Hi Michal,
the packages can only be used with the setup wizard.
it is not possible to import the eZ Newsletter packages
by using the administration panel, because the packages
contain code as well, which is only executed if the packages are imported by the wizard.
There are currently two ways to install eZ Newsletter 1.6.
You can use the setup wizard on a clean installation of eZ publish, which has not already been set up or you can do the installation manually.
If you want to install the latest packages from trunk you will have
to host the packages yourself (for example at http://localhost/packages).
Then edit settings/package.ini and set RemotePackagesIndexURL
to http://localhost/packages or whatever. You also have to customize the index.xml located in this directory to your local paths.
If you plan to have a manual installation (what is necessary on a
existing eZ publish installation), I propose that you get the
latest extensions directly from svn and copy them to your local extension directory.
The default setup installs the following extensions:
- ezapprove2
- ezlabel
- ezmailimport
- eznewsletter
- eznewsletter_builder - eznewsletter_designs After these extensions are copied the wizard would do the following configuration:
- Newsletter specific database tables are set up
(SQL files can be found within the several extensions)
- Roles and policies are set up
- An editorial siteaccess is created
- INI files are configured
- Content classes & demo content are imported (- autoload/ezp_extension.php is updated)
You will have to handle all these things manually.
Content classes and demo content are defined in eznewsletter_classes.ezpkg
and eznewsletter_democontent.ezpkg and can (as an exception) be imported
by using the package import from admin interface.
As far as I know it is possible that the latest package (eznewsletter_democontent.ezpkg)
is not imported during the setup for some reason. In this case you can
also use the admin panel to import it afterwards.
In addition older packages (current 1.6beta packages) require
that 'ger' is mapped to an existing language. So please verify that
all classes from eznewsletter_classes.ezpkg are imported correctly (newsletter_issue, newsletter_article, ... ).
If you install the newsletter on an existing installation,
I would suggest that you run the setup wizard again on a clean eZ publish
installation and compare it to your installation ... or you can follow
the setup guide (http://ez.no/doc/extensions/newsletter), which is unfortunately not 100% up to date.
I hope this has been of some help to you :-)
Best regards, Thomas
|