Jump to content

Welcome Email


ZeroX42

Recommended Posts

I'm working on a Welcome Email plug-in.
However, I'm having some issues.

One, it's saving Plain-text, not FCK, chances are I'm just missing something here.

Two, I don't know how to trigger it without modifying the registration script itself.

Any documentation would be good but then I've searched and seem to find there is nothing?
Why is there no documentation for module development?

Link to comment
Share on other sites

"The HTML editor is saving as plain-text instead of HTML."

The rich-text editor allows to design a web page using graphical tools and dialog boxes.

To actually be able to type in raw HTML code, you will need to switch the editor to Source mode. On the top toolbar row, click the Source button. Then tags and other HTML syntax will be safe.

Also, when saving the contents of the rich-text editor, the PHP code that accepts the editor's content to be databased must use:

$GLOBALS['RAW']['POST']['name_of_text_editor_content_field']

Otherwise, $_POST['name_of_field'] has tags and stuff stripped out -- for safety.

I am not aware of any documentation for plugin development.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...