Forums / General / Ez newsletter : newsletter creation

Ez newsletter : newsletter creation

Author Message

Aurore Hublé

Wednesday 20 September 2006 5:42:38 am

Hi everybody

I meet some problems with the extension Ezxnewsletter.

I don't understand how a newsletter is created. When I click on "create newsletter", I have a tree-parts form with a firstpart "Edit newsletter", a second to create article and the third to recurrence. When I click on "Ok" to valid article's creation (or if I remove the draft of the article) any newsletter appear in the newsletter list (under newsletter type view). However, with phpmyadmin, I can see a newsletter has been added in my database. I understand a thing, the status of the new newsletter is at 0 (=> draft). If I change "handly" this field, newsletters appear !
I found the code "$this->setAttribute( 'status', eZNewsletter_StatusPublished );" in the publish() fonction of ezxnewsletter class. But this fonction seems never be called, why ?

Sorry for my poor english, if you want more explain on this, don't hesitate.

Regards,
Elea

Arash Molavi

Wednesday 20 September 2006 8:15:48 pm

Sounds like you have no cron activated to start the workflow witch sends out the mail.

Aurore Hublé

Thursday 21 September 2006 12:07:07 am

Yes, I didn't see how use cron for the moment. Is the newsletter status in relation with cronjob ? I talk about status (published or draft) not about send status (buldingList, Sendind, Finished,stopped).
I will see that, thanks for your answer.

Xavier Dutoit

Thursday 21 September 2006 9:47:49 pm

Hi,

Not sure what your question is, but the status of the newsletter content (article) is linked to the status of the newsletter a draft being a newsletter's draft, and ready to send once you save it.

You can't find your newsletter on the left hand column (second bloc, by status ?

X+

http://www.sydesy.com

Aurore Hublé

Friday 22 September 2006 12:08:31 am

Hi

If I save the article or if I remove the draft, it's the same. The newsletter stay with the status of draft (I see that in phpmyadmin).
I see newsletter draft in the left menu too, it's run. But the only way to see the newsletter under the newsletter type view is to change the status in phpmyadmin.

eZ debug

Timing: Jan 30 2025 19:32:57
Script start
Timing: Jan 30 2025 19:32:57
Module start 'content'
Timing: Jan 30 2025 19:32:57
Module end 'content'
Timing: Jan 30 2025 19:32:57
Script end

Main resources:

Total runtime0.2294 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0091 587.9297370.2969
Module start 'content' 0.00910.0232 958.22661,005.5000
Module end 'content' 0.03230.1971 1,963.72663,894.7109
Script end 0.2294  5,858.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00462.0202200.0002
Check MTime0.00150.6367200.0001
Mysql Total
Database connection0.00090.378410.0009
Mysqli_queries0.119351.97951410.0008
Looping result0.00150.66831390.0000
Template Total0.196685.710.1966
Template load0.00090.386610.0009
Template processing0.195785.307110.1957
Override
Cache load0.00060.266310.0006
Sytem overhead
Fetch class attribute can translate value0.00190.843810.0019
XML
Image XML parsing0.00030.130810.0003
General
dbfile0.01596.9340200.0008
String conversion0.00000.002630.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs