Use templates plugin in tinymce
Posted: Fri Jul 11, 2008 4:37 pm
Anyone knows how to use tinymce templates plugin?
I tried to follow tinymce wiki instructions but without success...
Here is what I did:
1) Enabled templates plugin in tinymce extension configuration (inside cms admin)
2) Added templates tag to tinymce toolbar2 (inside cms admin)
3) In tinyconfig.tpl added the following code:
4) upload template.htm to tinyconfig.tpl dir
The template icon now shows up in the toolbar, but when I click on it the templates listbox is empty, not populated...
I tried also to add the template_templates code to extra config (inside cms admin) instead, but didn't work.
Any help on this...
Thanks!!!
I tried to follow tinymce wiki instructions but without success...
Here is what I did:
1) Enabled templates plugin in tinymce extension configuration (inside cms admin)
2) Added templates tag to tinymce toolbar2 (inside cms admin)
3) In tinyconfig.tpl added the following code:
Code: Select all
template_templates : [
{
title : "template",
src : "template.htm",
description : "Adds Editors Name and Staff ID"
}
]
The template icon now shows up in the toolbar, but when I click on it the templates listbox is empty, not populated...
I tried also to add the template_templates code to extra config (inside cms admin) instead, but didn't work.
Any help on this...
Thanks!!!