Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Integration of mailing.mailing (Email marketing) templates and webiste pages?

by
Data Dance s.r.o., Radovan Skolnik
- 04/03/2021 13:07:08
Simeno, thanx a lot again. Will dive into that.

	Radovan

On štvrtok 4. marca 2021 13:01:47 CET Simone Orsi wrote:

> On Thu, Mar 4, 2021 at 11:27 AM Radovan Skolnik < radovan@skolnik.info [1] >

> wrote: Thank you Simone!

> I was thinking about something exactly like this. How would you propose to

> handle a situation where I want to have a general copy of that email/page -

> for example shared via FB campaign? That is not linked to any specific

> recipient (or is linked to a pseudo one). Should I maybe extend extend the

> mail_browser_view controller to provide something like /campaing/view/

> <string:token> which would render the same content without tracking? Or to

> save removing the tracking elements and create a special version of

> mail.mail to be used in static linking from other websites? Hope I am clear

> :-) I see. Yeah maybe a fake recipient mail record is the easiest way. Then

> to strip out elements on rendering you could rely on query string params.

> Another approach would be to not use mail_browser_view for such case and do

> something custom based on

> https://github.com/OCA/social/blob/13.0/mail_layout_preview/controllers/lay

> out_preview.py [2]  This way you render what you want w/ whatever record you

> want. Best regards

> Radovan

> 

> On štvrtok 4. marca 2021 10:57:46 CET Simone Orsi wrote:

> > Hello,

> > this should address your issue

> > 

> >  https://github.com/OCA/social/tree/11.0/mail_browser_view [3] [1] And if

> >  you> 

> > want to test/dev your templates before sending them w/ real content you

> > can

> > use  https://github.com/OCA/social/tree/13.0/mail_layout_preview [4] [2]

> > HTH, On Thu, Mar 4, 2021 at 9:21 AM Radovan Skolnik < 

> > radovan@skolnik.info [5] [3] > wrote: Hello,

> > let me start in this way. When receiving e-mail campaign mails from

> > various

> > sources, they usually contain a link saying "If you cannot read this email

> > properly, click here to display on web" or something like that for cases

> > when email client forbids loading external content or just cannot render

> > the HTML content properly. The link leads to a webpage where there is

> > basically the same content as in the email.

> > Now I would like to achieve something similar. I.e. to be able to send

> > themed marketing emails and have them contain link to website page as a

> > alternative way of displaying the content. That webpage should be a normal

> > webpage - will be advertised through other means as well (Facebook,

> > Instagram, ...) Now I know I could design/create both email template and

> > website page but that just doubles the work. So I am looking for something

> > like one of these alternatives:

> > *) You design the email and have it render (create) the website page with

> > the same content.

> > *) The same as above but just the other way around. Create webpage and

> > from

> > that have email generated.

> > *) Something else?

> > Can anyone advise anything in this regards? Or am I missing something as

> > usual? ;-)

> > Best regards

> > Radovan Skolnik

> > 

> > 

> > _______________________________________________

> > Mailing-List:  https://odoo-community.org/groups/contributors-15 [6] [4]

> > Post to: mailto:  contributors@odoo-community.org [7] [5]

> > Unsubscribe:  https://odoo-community.org/groups?unsubscribe [8] [6]

> > 

> > --

> > Simone Orsi

> > Full stack Python web developer,

> > Odoo specialist,

> > Odoo Community Board Member,

> > Freelance

> > in love with open source.

> > _______________________________________________

> > Mailing-List:  https://odoo-community.org/groups/contributors-15 [9] [7]

> > Post to: mailto: contributors@odoo-community.org [10]

> > Unsubscribe:  https://odoo-community.org/groups?unsubscribe [11] [8]

> > 

> > 

> > 

> > [1]  https://github.com/OCA/social/tree/11.0/mail_browser_view [12]

> > [2]  https://github.com/OCA/social/tree/13.0/mail_layout_preview [13]

> > [3] mailto: radovan@skolnik.info [14]

> > [4]  https://odoo-community.org/groups/contributors-15 [15]

> > [5] mailto: contributors@odoo-community.org [16]

> > [6]  https://odoo-community.org/groups?unsubscribe [17]

> > [7]  https://odoo-community.org/groups/contributors-15 [18]

> > [8]  https://odoo-community.org/groups?unsubscribe [19]

> 

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [20]

> Post to: mailto: contributors@odoo-community.org [21]

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [22]

> 

> --

> Simone Orsi

> Full stack Python web developer,

> Odoo specialist,

> Odoo Community Board Member,

> Freelance

> in love with open source.

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [23]

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [24]

> 

> 

> 

> [1] mailto:radovan@skolnik.info

> [2]

> https://github.com/OCA/social/blob/13.0/mail_layout_preview/controllers/lay

> out_preview.py [3] https://github.com/OCA/social/tree/11.0/mail_browser_view

> [4] https://github.com/OCA/social/tree/13.0/mail_layout_preview

> [5] mailto:radovan@skolnik.info

> [6] https://odoo-community.org/groups/contributors-15

> [7] mailto:contributors@odoo-community.org

> [8] https://odoo-community.org/groups?unsubscribe

> [9] https://odoo-community.org/groups/contributors-15

> [10] mailto:contributors@odoo-community.org

> [11] https://odoo-community.org/groups?unsubscribe

> [12] https://github.com/OCA/social/tree/11.0/mail_browser_view

> [13] https://github.com/OCA/social/tree/13.0/mail_layout_preview

> [14] mailto:radovan@skolnik.info

> [15] https://odoo-community.org/groups/contributors-15

> [16] mailto:contributors@odoo-community.org

> [17] https://odoo-community.org/groups?unsubscribe

> [18] https://odoo-community.org/groups/contributors-15

> [19] https://odoo-community.org/groups?unsubscribe

> [20] https://odoo-community.org/groups/contributors-15

> [21] mailto:contributors@odoo-community.org

> [22] https://odoo-community.org/groups?unsubscribe

> [23] https://odoo-community.org/groups/contributors-15

> [24] https://odoo-community.org/groups?unsubscribe




Reference