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.

eZ debug

Timing: Jan 19 2025 20:12:14
Script start
Timing: Jan 19 2025 20:12:14
Module start 'content'
Timing: Jan 19 2025 20:12:15
Module end 'content'
Timing: Jan 19 2025 20:12:15
Script end

Main resources:

Total runtime0.8722 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.1875180.8047
Module start 'content' 0.00560.7386 769.9922609.1484
Module end 'content' 0.74420.1280 1,379.1406341.0469
Script end 0.8721  1,720.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4527210.0002
Check MTime0.00150.1696210.0001
Mysql Total
Database connection0.00070.076910.0007
Mysqli_queries0.787890.32472080.0038
Looping result0.00170.19542060.0000
Template Total0.845797.020.4229
Template load0.00180.201520.0009
Template processing0.843996.759020.4220
Template load and register function0.00020.018610.0002
states
state_id_array0.00070.080610.0007
state_identifier_array0.00090.098020.0004
Override
Cache load0.00160.1800840.0000
Sytem overhead
Fetch class attribute can translate value0.00160.180440.0004
Fetch class attribute name0.00080.095080.0001
XML
Image XML parsing0.00300.348640.0008
class_abstraction
Instantiating content class attribute0.00000.0021100.0000
General
dbfile0.00520.5945270.0002
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs