Skip navigation.

Contridentuallity

Not a fact, a theory!?

Posts tagged with "wordpress plugin"

Wordpress Mailing List v1.2.3

, , , ...

I have released the Wordpress mailing list plugin v1.2.3 with a set of great and extremely useful new features. You can view the product pitch page on the link below.

Wordpress Mailing List Plugin

Primary Features :

  • Opt-in sidebar widget
  • Statistics Overview
  • Mass CSV Import Feature
  • SMTP Authentication
  • Auto Email Upon Post Publishing
  • Etc...


There is also a PDF changelog available case you would like to keep track of bug fixes, new features, improvements and other related changes.

Wordpress Mailing List Plugin Changelog

If you have any comments, questions or even suggestions, please contact me or post your comments here if you want to. All feedback is always greatly appreciated.

Wordpress : Using TinyMCE with your plug-in

, , , ...

Want to use TinyMCE with one of your Wordpress plugins?
Obviously you can include all the TinyMCE files in your plugin and use those, but you seriously don't have to, since Wordpress already has TinyMCE ready for you.

Btw...for those of you who don't know what TinyMCE is, it's a WYSIWYG (What You See Is What You Get) HTML editor for webpages. See the screenshot below :



Let's say that you have a plugin which creates a form in the administration panel, allowing the administrator to enter some text, even HTML with CSS into a textarea. You'll first need to include a reference to the "tiny_mce.js" file included with Wordpress.

<script type="text/javascript" src="../wp-includes/js/tinymce/tiny_mce.js"></script>


Once you have done that, you'll need to initialize the TinyMCE class and tell it how to behave. See the code below. It tells TinyMCE to use the "advanced" theme and replace all elements with the "editorContent" ID with the TinyMCE User Interface. The code also specifies the WIDTH and the HEIGHT of the User Interface. There are many more parameters you can use, but you'll need to look at the TinyMCE documentation, since I don't really know many of them.

<script type="text/javascript">
<!--
tinyMCE.init({
theme : "advanced",
mode : "exact",
elements : "editorContent",
width : "565",
height : "200"
});
-->
</script>


Lastly, you'll need to put a TEXTAREA on the page somewhere which will be replace with the TinyMCE User Interface. It will be something like this :

<textarea id="editorContent"></textarea>


And that's just about it.
TinyMCE used inside of one of your own, custom Wordpress plugins.
Download Opera, the fastest and most secure browser
December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31