WYSIWYG HTML and / or 'token' insert menu?

2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 28, 2009   (RSS)

Re: [DomainTeks] WYSIWYG HTML and / or 'token' insert menu?

By Dave - September 28, 2009

Hi DomainTeks,

We use the open-source tinyMCE component for the WYSIWYG and it has some extensive documentation here:
http://wiki.moxiecode.com/index.php/TinyMCE:Index

You can find CMS Builders tinymce config settings in: cmsAdmin/lib/wysiwyg.php

For HTML snippets, you could try the templates plugin described here:
http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template

It's the 4th last button on the bottom row in the full demo here:
http://tinymce.moxiecode.com/examples/full.php

And for tokens that reference other data and get updated with that data... If you don't need that data embedded in the wysiwyg content I'd recommend having it as a separate field (or having multiple viewers on the same page and loading it from a separate section).

Or, if you absolutely need it in the wysiwyg you can always use placeholders (like #this# or using any format you like) and then replacing them with something else using PHP.

Note that we don't typically provide free support for custom wysiwyg configurations, but hopefully this will point you in the right direction.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com