I create subscription form with "formhandler". Added authorization code by "authcode" and added direct_mail categories by DB finisher in "formhandler". Now my task to send users news from tt_news extension, filter by language and categories chosen in "formhandler" subscription form.
Somebody have ideas how add directly connect content from "tx_news" in direct_mail mailing. And filter them by language and categories. Of course it be nice to choose which news send and which not
I find some examples how to add content from tt_news in direct_mail https://docs.typo3.org/typo3cms/extensions/direct_mail/Configuration/ConfiguringPlainTextRenderingOfNewsRecords/Index.html. Maybe somebody now how to add from tx_news. Or maybe I need use a total different approach?
Related
I'm working on a magazine page. Therefor I would like the client to be able to select the design type when creating/editing a new post. So I'd like to add a custom field to the "edit news", something like a dropdown where all the news (design) types are listed.
For example: News Types:
Normal
Interview
Date
Special Event
etc...
When the client doesn't select anything it should fallback to a default i.e "Normal" and also it would be nice that when the client selects Interview a second input field shows up where he can enter the persons profession/description.
My goal is, that in the fluid template I can add a line where the selected news type will be added as a class to the list item, something like:
<div class="news-item {newsItem.type}">
// some code
</div>
will render out as:
<div class="news-item interview">
// some code
<div>
I'm not quite sure what I have to add to my custom extension that I'm using to accomplish that.
I appreciate all the help.
you need to extend the news data with further fields. This is described in the manual and this blog(ext:news is extended, but filestructure is old) and this article(current fielstructure, but other tabel is enhanced).
For the evaluation and displaying of your fields you need to modify the templates of ext:news. copy the neccessary parts into your extension and provide the modifications to it.
Also set the typoscript to include your templates like described in the manual.
Just a simple question: Does anyone know if direct_mail_subscription works with fe_users or just with tt_address records? I use both for my newsletter recipients but the unsubscribe link only works for tt_address users. Did I forget to configure something or will it just not work with fe_users?
1) The easiest way to create a new user with a subscription are Finisher in formhandler - here is ready for use EXT https://typo3.org/extensions/repository/view/formhandler_subscription or here is main settings https://github.com/astehlik/typo3-extension-formhandler_subscription/blob/master/Configuration/Settings/setup.txt
2) Create form by PowerMail and add Finisher to save fe_user and direct_mail settings here is manual https://docs.typo3.org/typo3cms/extensions/powermail/1.6.11/Powermail/Features/SavingDbValuesToAnyDbTable/Index.html#example-typoscript-setup-to-add-values-to-fe-users. You need just add direct_mail fields which you need for mailing
3) You can override regular EXT. I found best one https://typo3.org/extensions/repository/view/dmailsubscribe. But like every good EXT it work just with tt_addres. But if you know how - you can override Class instand adding tt_adreess add fe_user by FrontendUser\FrontendUserRepository
If this answer will get 5 likes - I will give example:)
The Typo3 extension tt_news enables for example all created news by this extension to be shown in the newsletter but not content from a "not news" page of the website.
We are looking for a plugin which automatically finds new content on the website and let us create a newsletter from it.
What extension could be used here? Might direct mail be able to do so?
Taken from the Direct Mail manual: "Newsletter pages are just normal pages. Their rendering is configured by the TS template."
A very simple solution for what you want to do would be to write a simple extension where you get the newest content elements and output them. Direct Mail itself will not do that for you, but it will send out any content that you provide on the "Newsletter page".
Here my question : How can I show, on a page, all the comments I received from a custom form throught Orchard CMS ?
If your not sure to understand my question, here an example of what I want :
Create a Guestbook with a new Content Type named "Gestbook". Add two fields (the name and the comment). Once add it on Forms tab, add comments into the new guestbook page into your website. After that, how can I show them after approved it throught dashboard ?
Thank you very much,
David
Click on "submissions" on the right of the form in the Forms section of the admin to see what got added by users. You can also trigger additional actions from the Rules module.
I have a website developed in Typo3 and in a page I show a news with tt_news ext in single view mode. This news has also a list of other related news obtained with the property showRelatedNewsByCategory.
The list is correctly show but I would like to revert the order of listed news, from descending to ascending but I found no way to do it.
Does anyone have any clue or suggestion?
Bests,
Nik
listOrderBy = asc
This should work. There are also many options available e.g. sorting by title oder date. tt_news config reference