Forums / Install & configuration / [bug report?]:problem installing eznewsletter

[bug report?]:problem installing eznewsletter

Author Message

christian bencivenni

Monday 26 February 2007 7:19:18 am

I installed the ez publish 3.9rc1 version with installer for windows.
Then I downloaded the packages of the eznewsletter and import them manually from the admin interface. Until here all good.
Then I clear all the cashes and reload the home page.
Now I have a Newsletter section. It seems good.

The problem arrived when I tried to access in admin site.
Now I can only see: Topic, Media and Myaccount sections.
No User, Content and Settings sections!!!

What happened? And what I must do to have them back?

Tobias Struckmeier

Tuesday 27 February 2007 1:27:37 am

Have you used the setup packages or the current release in contribution section?

The setup packages are currently only working during the eZ Publish setup wizard.
They dont work yet by importing in the admin interface ( that has to be handled a bit different ).
So you should upload them during the setup.

christian bencivenni

Tuesday 27 February 2007 2:14:00 am

well... I tried to use them during installation but the final result is a site with only newsletter. Instead I need to add a newsletter to a site.
I hope I'm clear.
There is any way to make this?

christian bencivenni

Tuesday 27 February 2007 2:15:20 am

And with the packages inside the contribution sections I have that problem.

Tobias Struckmeier

Tuesday 27 February 2007 2:41:00 am

Unfortunately those packages don't help you currenlty when installing it into an existing site.
Our release note [1] for this beta already says that:

"In addition, it is still possible to use an instance of eZ Newsletter directly integrated in an existing website powered by eZ Publish (although this requires additional configuration). Because these configurations are so different, only the first configuration is currently supported by the automated installation."

You can currenlty grab the current trunk from [2] and install it manually. If you have any questions during that, I welcome any questions regarding that. The manual install documentations in trunk is not updated yet, but should assist you during installation.

[1] http://ez.no/community/news/ez_newsletter_1_5_beta_1_released
[2] http://svn.ez.no/svn/extensions/eznewsletter/

Olivier Ségain

Wednesday 02 May 2007 6:12:15 am

Hi!

I had the same problem and I read on a french forum that we have to modify two files :

first you have to open the "menu.ini.append.php" file in extension/eznewsletter/settings and uncomment "Tabs[]=eznewsletter" line in the [TopAdminMenu] section.

Secondly you have to open the "menu.ini.append.php" file in extension/eznewsletter_builder/settings and comment the following lines :

[TopAdminMenu]
# This list contains menuitems of the top menu in admin interface
#Tabs[]
#Tabs[]=content
#Tabs[]=media
#Tabs[]=my_account

There you have all menu items as before!

(the only difference is that you have the "topics" item instead of "contents". To change this, you can open again the menu.ini.append.php file in extension/eznewsletter/settings ans you comment all the following lines :

#[Topmenu_content]
#URL[]
#URL[default]=content/view/full/60
#URL[browse]=content/browse/60
#NavigationPartIdentifier=ezcontentnavigationpart
#Name=Topic
#Tooltip=Manage the newsletter topics.
#Enabled[]
#Enabled[default]=true
#Enabled[browse]=true
#Enabled[edit]=false
#Shown[]
#Shown[default]=true
#Shown[navigation]=true
#Shown[browse]=true

And you add the following :

[Topmenu_content]
URL[]
URL[default]=content/view/full/2
URL[browse]=content/browse/2
NavigationPartIdentifier=ezcontentnavigationpart
#Name=Content structure
#Tooltip=Manage the main content structure of the site.
Enabled[]
Enabled[default]=true
Enabled[browse]=true
Enabled[edit]=false
Shown[]
Shown[default]=true
Shown[navigation]=true
Shown[browse]=true

Now you have the same items as before!!!

Tobias Struckmeier

Wednesday 02 May 2007 6:54:58 am

Ah now I can understand the problem :). Sorry was misleaded before.

After installing eZ Newsletter with the installer you have at least three siteaccesses set up.
eng (or your language - the frontpage),
eznewsletter_site_admin (the standard admin interface) and
newsletter_editor (an editorial interface for eZ Newsletter).

Of course you can activate the newsletter in the standard admin as well. Remember you have to add the overrides and the newsletter designs as well there. I will write a guide, how to do this, later that describes all necessary steps to add eZ Newsletter to an existing site and integrate it into the standard admin interface.