|
| Iniciado por guest, 25,nov. 2015 12:01 - 7 respuestas |
| |
| | | |
|
| |
| Publicado el 25,noviembre 2015 - 12:01 |
Hi
I hope my description makes some sense. My users want to send a bulk email to their clients but the email format must be in html and the user must be able to create an email with 1,2 or 3 columns and add their own images as well.
Is it possible to do something like that in Webdev? That means after the user selected, let's say, a 3 column format with 3 pictures I prepare a template like that for them. After they complete all the details I hopefully get everything exactly right in the email contents that will be sent out.
Thanks in advance
Ericus Steyn |
| |
| |
| | | |
|
| | |
| |
| Publicado el 25,noviembre 2015 - 15:04 |
Hi Ericus
of course it's possible
After all, html format is just a string
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 25,noviembre 2015 - 16:18 |
Yes Fabrice but to redesign the wheel. It's to close to XMas holidays for that.
Hopefully somebody, somewhere has one little webdev page that they designed for exactly this purpose and they are prepared to share that page, even for a fee.
I have my great accounting system and now want to add CRM to it with as little effort as possible.
Ericus Steyn |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,noviembre 2015 - 17:42 |
Hi Ericus,
I'm using TinyMCE for editing emails. Not using templates, but the user can create almost any layout, tables to create columns etc. I was also able to use an image browser built in WB, to manage and upload images used in the email. Due to a bug or at least a limitation in WB it is unfortunately not possible to use the imagebrowser in a page called by PageDisplayDialog, but there's a workaround to create a "pseudo" dialog for this purpose. In normal pages there's no problem. I have no documentation (it's in my head) but I could send you the class and some pages to give you an idea. If you're interested I need some time of course to make it a little bit understandable. It's not tested in AWP, only in dynamic WB pages.
Regards, Piet |
| |
| |
| | | |
|
| | |
| |
| Publicado el 30,noviembre 2015 - 12:37 |
Hallo Piet
That is very kind of you. I was thinking I must ask the user to create their document in Word and then just copy and paste it into a html control but I have not tested that yet.
I also found the html editor example from PC Soft but it is a bit limited in what it can do. Tables for instance is not available.
TinyMCE looks perfect. If you can just give me an idea how to integrate it into a web page it will be nice.
I also only use dynamic WB pages.
Thanks in advance.
Ericus Steyn |
| |
| |
| | | |
|
| | |
| |
| Publicado el 30,noviembre 2015 - 15:09 |
Hi Ericus,
I'm using ckeditor in WebDev as a plug-in to create rich HTML content in one of my solutions.
You just need to add the ckeditor.js to the page and do a js initialisation call to the edit control.
As a matter of fact, in our solution a power user can define a template completely containing html with field placeholders (data connections and parsing are executed dynamically during parsing to any SQL application).
While my solutions aims at RTF/PDF as the end form, you can probably use a similar logic to generate a rich HTML body to add into an e-mail.
A layout is defined like this:
And the editor to define the html templates looks like this:
After parsing the user can still edit the html result and add html content (or images and even PDF files to attache to the generated one):
Last, the generated html document can be sent to an identical RTF and PDF result:
I guess you'll need to look for a similar approach if you want to give your users control on how to generate html bodies. You could even give them the ability to start from an existing rich html created in another html editor and give the option to insert those field placeholders and flow placeholders (e.g. {FOR EACH DDS0001} .... {END FOR EACH DDS0001}) ...
I hope this gives you an idea,
Peter Holemans |
| |
| |
| | | |
|
| | |
| |
| Publicado el 01,diciembre 2015 - 13:55 |
Thanks to all.
I managed to integrate TinyMCE quite easily and it seems to have most of the features I need. If users want more they can create a document in Word and just copy/paste into the edit control.
To upload images I installed the Justboil.me plugin for TinyMCE/
Thanks again
Ericus Steyn |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,diciembre 2015 - 23:32 |
Hi Ericus,
Good to hear you got it to work on your own. Thanks for pointing me to justboil.me.
Regards, Piet |
| |
| |
| | | |
|
| | | | |
| | |
|