HOWTO: author a rich text message w/embedded images in Dada Mail's list control panel

 
From: "Dada Mail" <dada@PROTECTED>
Date: March 6th 2006

This is kind of cool -

I was playing with FCKeditor today, trying to get the Image/File
Browser to work - I couldn't really get my head around what the heck
was going on

If you have FCKEditor working, try this (YMMV), if not, here's how to
get it going in Dada Mail:

http://mojo skazat com/support/documentation/ Config pm html#fckeditor_integration___fckeditor_url

To add to these instructions:

* In the FCKEditor directory you uploaded in your hosting account  

delete:

    * _samples
    * _testcases

directories (security purposes)

I'm a Perl guy, so I'm going to be using the Perl connector You have
to open up the, "fckconfig js" file and change this line:

var _FileBrowserLanguage    = 'asp' ;   // asp | aspx | cfm | lasso |  

perl | php | py

to:

var _FileBrowserLanguage    = 'perl';

Next, navigate to:

editor/filemanager/browser/default/connectors/perl

and change the permission of every file with either a, " cgi" or,
" pl" extension to, "755" For my account, this directory isn't a
directory that you can execute cgi scripts, but if I do this step,
somehow it all works Mysterious

Open up the, "connector cgi" file, find this line:

&SendError( 1, 'This connector is disabled
 Please check the "editor/ 

filemanager/browser/default/connectors/perl/connector cgi" file' ) ;

And comment it, remove it:

#   &SendError( 1, 'This connector is disabled
 Please check the  

"editor/filemanager/browser/default/connectors/perl/connector cgi"
file' ) ;

Still with me? OK - (whew) Open up "basexml pl" and find this line:

print '<CurrentFolder path="' 
 ConvertToXmlAttribute 

($currentFolder) '" url="' ConvertToXmlAttribute(GetUrlFromPath ($resourceType,$currentFolder)) '" />';

and change it to:

    print '<CurrentFolder path="' 
 ConvertToXmlAttribute 

($currentFolder) '" url="' 'http://yoursite com'
ConvertToXmlAttribute(GetUrlFromPath($resourceType,$currentFolder))
'" />';

where, "http://yoursite com" is the URL of your website

Once it's all up and running, you can navigate to "Send a List
Message -> Advanced" (among other places) and get the WYSIWYG editor

Here's how the "Insert/Edit Image" thingy works:

  • Click the Insert/Edit Image button, you'll get the, "Image
    Properties" Window

Click the, "Browse Server" button You'll get this odd, empty file
browser looking thing It doesn't show anything, but you can select
an image/whatever on your desktop and upload it to your account! Cool!

Click the, "Browse " button at the bottom of the screen, select an
image and click, "Upload"

That image will now show up in the file browser! Click on it and the
file browser goes away and you get a preview of the image

Click, "OK" and the image will be inserted into your message

Nice

Now, to have this image be embedded into your newsletter and sent
within the image as an attachment, do all these steps, not in the,
"Send a List Message -> Advanced" screen, but in the, "Send a
Webpage" screen:

Check the, "Use the following HTML as content: " option

Do the above steps to insert an image

In the, "Send a Webpage" screen, click, "Show/Hide Advanced Options"
and select,

( Images in this Webpage Should:) "be embedded in the message itself
 "

So, that's been a frequently requested feature - with a few tweaks,
you can author a Rich Text message with embedded images right in Dada
Mail It's a little funky, but tell the FCKEditor folks :)

Hope that helps someone, let me know if I can clarify and let me know
how it works for you :)

  • This mailing list is a public mailing list - anyone may join or leave, at any time.
  • This mailing list is a group discussion list (unmoderated)
  • Start a new thread, email: dadadev@dadamailproject.com

This is the developer discussion mailing list for Dada Mail.

If you are just looking for support Dada Mail, consult the message boards at:

https://forum.dadamailproject.com

Documentation for Dada Mail:

https://dadamailproject.com/d

Specifically, see the Error FAQ:

https://dadamailproject.com/d/FAQ-errors.pod.html

To post to this list, send a message to:

mailto:dadadev@dadamailproject.com

All subscribers of this list may post to the list itself.

Topics that are welcome:

  • Constructive critiques on the program (I like, "x", but, "y" needs some work - here's an idea on how to make this better...)
  • Bug/Error reports
  • Bug fixes
  • Request For Comments on any changes to the program
  • Help customizing Dada Mail for your own needs
  • Patches
  • Language Translations
  • Support Documentation/Doc editing, FAQ's, etc.
  • Discussion of any changes that you would like to be committed to the next version of Dada Mail -

Dada Mail is on Github:

https://github.com/justingit/dada-mail/

If you would like to fork, branch, send over PRs, open up issues, etc.

Privacy Policy:

This Privacy Policy is for this mailing list, and this mailing list only.

Email addresses collection through this mailing list are used explicitly to work within this email discussion list.

We only collect email addresses through our Closed-Loop Opt-In system.

We don't use your email address for any other purpose.

We won't be sharing your email address with any other entity.

Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.

All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.

All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.