[TYPO3-RTE] tinymce_rte templates preview window path variable

Thomas Allmer at at delusionworld.com
Tue Mar 31 14:05:11 CEST 2009


Andreas Burg wrote:
>> If it's a PHP template, then you should have access to all TYPO3 vars,
>> such as path etc.
>> Look at the 2 PHP based template examples in the
>> "res/tinymce_templates/" folder of TinyMCE RTE.
> 
> yes, I've done this before, but I'm not comfortable with it. Maybe I 
> need some more examples.

what type of examples?

> BTW maybe a bit OT
> 
> Do you know how to delete the default templates (10,12,20,25,30)?
> 
> RTE.default.init.template_templates >
> RTE.default.init.template_templates =
> RTE.default.init.template_templates.10 >
> RTE.default.init.template_templates.10 =
> 
> does not work. Overwriting them with a new template works.

don't know... but anyway you should use standard as default and not full 
and if you need templates just define it

take the "plugins" from full and add the template button somewhere..
it's better than removing the templates from full...

cheer
-- 
+---------------------------------+-----------------------------------+
| Thomas Allmer                   |   http://www.delusionworld.com    |
| E-mail: at at delusionworld.com    |   phone: +43 699 16217064         |
+---------------------------------+-----------------------------------+


More information about the TYPO3-project-rte mailing list