Forums / Setup & design / important newsletter question

important newsletter question

Author Message

alvaro alvaro

Saturday 01 July 2006 8:50:05 am

Sorry my english isnt good.

My first question was:
How i could remove newsletter from the send queue?.

Nobody answered me, i am only trying to see if EZP is good for my personal web or no, so i am trying all the features, i am now trying the ezxnewsletter.

I dont like ezxnewsletter.

1) Why it obligate me to create the newsletter asociated class (the object of this class type) when i create the newsletter?

2) Why when i have created the newsletter it put automatic in a queue send.

3) why i cant delete items of this queue before it send at his time?

I think it would be more logical that :
1) we create the article or especial class that define the newsletter, and then, once it is finished and stored under my folders of newsletters(for example), i could send a Newsletter searching for this article i created. Not to create the newsletter class when i send the newsletter.So i could modify it before send it, or delete it from the send queue. I see it more logical.

How i did it:

1) i create a class type newsletter
2) i create a node folder to save my newsletters below it.
3) i create a template that override the class newsletter it contain all the html necesary.
4) i create a section asociated to this folder, agrouping all my newsletters.
5) i create a template that override the pagelayout for this section, and it is blank because i dont want layout in my newsletter, they will be old html based in tables and all the html will be in the template that override the newsletter class.

6) i create a class that simulate an email,boletinadjunto is the name, it will be the real newsletter that i send, it has only this fields:
- title
- newsletter(boletin in spanish), this field will be an Object related, and is like an attachment in an email, this will attach the instance of my newsletter class, 1).

7) i override the html.tpl in ezxnewsletter son that it is only this:
{include uri="design:full/boletin01.tpl" node=$contentobject.data_map.boletin.content.main_node}
boletin is the name of the field that is the attached newsletter.
i dont know to do this with content_view_gui, so i use include.

So i do this:

First i create my newsletters, and when i want to send one, i ill go to the NEWSLETTERS tab in admin, click in my newsletter type, and click in create, this will be create a boletinadjunto so i attach the newsletter object i created first. And send it.

Now before the email is sent in the cron, i could modify the boletin or i could delete the boletinadjunto , preserving the newsletter.

Nobody understand my poor english, i know.

MY CONCLUSIONS:
I think newsletters must be rethinking like an email question.

It would be nice to create an email, to create list of users where suscribe, to send emails to this lists, to programate emails, the newsletters its only a email with an attachment of an object newsletter. Where i could indicate html-text or two alternatives.

I think is more easy to understand so.

Thx.

.

Thx

eZ debug

Timing: Jan 18 2025 19:18:12
Script start
Timing: Jan 18 2025 19:18:12
Module start 'content'
Timing: Jan 18 2025 19:18:12
Module end 'content'
Timing: Jan 18 2025 19:18:12
Script end

Main resources:

Total runtime0.8850 sec
Peak memory usage4,096.0000 KB
Database Queries183

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.4844180.8359
Module start 'content' 0.00820.6983 770.3203424.6875
Module end 'content' 0.70650.1784 1,195.0078333.8203
Script end 0.8849  1,528.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.5217210.0002
Check MTime0.00160.1857210.0001
Mysql Total
Database connection0.00130.147710.0013
Mysqli_queries0.814492.01941830.0045
Looping result0.00170.19411810.0000
Template Total0.849496.020.4247
Template load0.00230.254420.0011
Template processing0.847195.717220.4235
Template load and register function0.00020.021710.0002
states
state_id_array0.00120.137410.0012
state_identifier_array0.00240.276120.0012
Override
Cache load0.00190.2124370.0001
Sytem overhead
Fetch class attribute can translate value0.00150.173620.0008
Fetch class attribute name0.00060.062710.0006
XML
Image XML parsing0.00030.039520.0002
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00360.4089210.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs