I got it working after I realized I didn't copy your "'" />';" onto the proper line Still a bit clunky, as the "Upload" tab doesn't appear to do anything when hitting upload, but if I upload from the funky blank file browser window, it appears to upload fine Any idea how to get that tab to work properly? I hit upload and it doesn't seem to want to do anything
-jake
-----Original Message----- From: Dada Mail (Justin Simoni) [mailto:dada@skazat com] Sent: Monday, March 06, 2006 12:26 AM To: jake@orty com Subject: [dadadev] HOWTO: author a rich text message w/embedded images in Dada Mail's list control panel
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, "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 :)
-- Justin Simoni
: Dada Mail "Write Once - Distribute Everywhere" Email Communication Software
url: http://mojo skazat com ph: 720 436 7701 aolim: leaddadaist
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:
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:
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.
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.