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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:42:09
Script start
Timing: Jan 18 2025 11:42:09
Module start 'layout'
Timing: Jan 18 2025 11:42:09
Module start 'content'
Timing: Jan 18 2025 11:42:09
Module end 'content'
Timing: Jan 18 2025 11:42:09
Script end

Main resources:

Total runtime0.0151 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9141152.6250
Module start 'layout' 0.00540.0020 740.539139.4453
Module start 'content' 0.00740.0058 779.984493.3047
Module end 'content' 0.01320.0019 873.289134.3047
Script end 0.0151  907.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.8857140.0002
Check MTime0.00127.7468140.0001
Mysql Total
Database connection0.00106.287210.0010
Mysqli_queries0.001711.253330.0006
Looping result0.00000.086610.0000
Template Total0.001510.110.0015
Template load0.00085.421210.0008
Template processing0.00074.662310.0007
Override
Cache load0.00063.783710.0006
General
dbfile0.00021.352580.0000
String conversion0.00000.050440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs