Share » Forums » Extensions » eZ Newsletter » eZ Newsletter forum opened

eZ Newsletter forum opened

eZ Newsletter forum opened

Friday 30 March 2007 2:05:03 am - 8 replies

Modified on Friday 30 March 2007 2:09:15 am by Tobias Struckmeier

Author Message

Ismael Ruiz

Thursday 05 April 2007 2:28:26 am

Hello

I'm testing the eZ Newsletter extension. It seems to be very easy to use. But I have two questions.

1. When you create a newsletter, is it possible to add articles or other object from your content structure and if yes, how?

2. I have created a distribution list and a newsletter but I don't recieve anything. How does the system have to be configured to send the newsletter and can you send it per hand?

THX

Tobias Struckmeier

Thursday 05 April 2007 3:22:02 am

Hello Ismael,

1. Short yes :).
You have several possibilities to achieve this. You must know that you will ever have to create a contentobject that represents the newsletter. The rendering is templated based so you can in your templates decide how and where to fetch the content.

The first is, using the newsletter_issue class and add the articles to the relation list attribute 'topics'. By using the designs those will be directly shown in the sent emails.

Another way is using a class with an XML field in it. There you could embed every object you want. Then you need to ensure, that you have overrides for those objects in your design (do not forget to use that design when running the cronjobs).

And last but not least you could use some attributes in the newsletter content object and a template that fetches its content based on that data. For example you could have a relation attribute that points to a folder. The template could fetch all childs of that folder and send them with the newsletter.

2. Hmm I need some more details about that.
Have you tried our upcoming installer [1] ?
You can send yourself a preview of the newsletter during editing. Just fill the "preview email" text field with your address and click on "send preview" button. If you do not recieve a preview then you should check your email server settings. By default it will use sendmail.
To send the newsletter have to execute the cronjobs like described in the install document [2]

[1] http://ez.no/community/news/ez_newsletter_1_5_beta_1_released
[2] http://ez.no/download/add_ons/ez_newsletter/installation_instructions_for_ez_newsletter_1_5beta1

Ismael Ruiz

Thursday 05 April 2007 4:38:54 am

HIallo Tobias. Sprichst du Deutsch?

1. Ok I will see this.

2. When I edit a Newsletter I don't have any "preview email" text field and no "send preview" button. Here are the fields I have when I create a Newsletter:

Name:
Description:
Sender address:
Send date modifier
Pretext
Posttext
Personalize Newsletter:
Valid content classes:
Allowed designs:
Allowed output formats:
Subscription lists:
Newsletter suggestion inbox:
Newsletter placement:

After the creation I have a new window at the left containing:

Newsletter type list

* ISINewsletter
o Archive
o In progress
o Drafts
o Recurring
o Ideas

For the cronjod I will look in the documentation.

:-))

Tobias Struckmeier

Thursday 05 April 2007 5:14:45 am

Ah ok. I guess I understood now.

When you create a newslettertype it is not the actual newsletter. It just defines a frame for your newsletters. Like defining senderaddress, available templates, contentclasses that can be used for the newsletters, to define the subscriberlists that will recieve newsletters of that type and so on.
After you've created a newslettertype (dont forget to define the newsletter placement) you can create a newsletter.

To make it more understandable a little bit easier formulated. The newslettertype is something like a magazine and the newsletters are the actual issues of that magazine.

Please ensure that you have an override for each contentclass that should be used for sendouts
Example for the class newsletter_issue:

[edit_article]
Source=content/edit.tpl
MatchFile=edit_article.tpl
Subdir=templates
Match[class_identifier]=newsletter_issue

And I speak german right :)

Ismael Ruiz

Tuesday 10 April 2007 5:19:12 am

Hallo Tobias. Ich versuch mal auf Deutsch.

Das hab ich bis jetzt gemacht:

1. eZ 3.9.1 installiert.

2. Untar von ezxnewsletter.tgz gemacht und nach /var/www/isinews/extension kopiert.

3. Das hat mir im Admin-Interface einen neuen Knopf 'Newsletter' gegeben.

4. Dann hab ich einen neuen Newslettertype gemacht.

5. Dann sollte ich die eigentliche Newsletter machen, weis aber nicht wo?

Ab da weiss ich nicht mehr weiter.

Danke für deine Hilfe

Tobias Struckmeier

Tuesday 10 April 2007 12:18:19 pm

Hi,

It seems your preferred language is german so I answer in two languages. So that other can partly follow.

English:
------------

You have to ensure that you selected the newsletter issue class as allowed content class in the newslettertype.

After that you navigate to the view of the type and at nearly the bottom of the page you should find a button "Create newsletter"

German:
------------

Du must sicherstellen, das Du beim Newslettertypen als erlaubte Contentklasse newsletter_issue auswählst.

Danach wechsel zur Ansicht des Newsletttertypen und ziemlich am ende der Seite sollte eine Schaltfläche mit der Aufschrift "Create newsletter" finden.

Ismael Ruiz

Wednesday 11 April 2007 1:51:04 am

I have found the 'Create Newsletter' button by clicking on the Newslettertype I created.
Then I can in fact fill out the Newsletter and an Article. Then I have a bad error message:
'Fatal error: Cannot redeclare class ezsms in /var/www/isinews/extension/eznewsletter/classes/ezsms.php on line 38
Fatal error: eZ publish did not finish the request

The execution of eZ publish was abruptly ended, the debud output is present below?

...

and a lot of errors.'

Where schould I find the newsletter issue class?

My /settings/override.ini file looks like you told me in a previous post.

I'm a little bit lost ...

:-(

Tobias Struckmeier

Wednesday 11 April 2007 3:32:07 am

Hi,

I guess you clicked on preview sendout and that error came up right?
But anyway there had been errors and I fixed them in trunk. It will soon be released. Until then you shouldnt use the SMS format.
Anyway you must know, when you use the SMS format you need to implement a class that handles the transport to your specific sms gateway. This is needed because every gateway has a different API.

I hope that helped you for now.

Cheers,
Tobias

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu