<![CDATA[ RTE on frontend - My Forums]]> https://forums.modx.com/thread/?thread=45671 <![CDATA[Re: RTE on frontend]]> https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264302
Just set Web Theme to what you want. Granted, it’s a global setting for any instance of TinyMCE but it works for now till I can add some more complexity to the plugin.]]>
Bravado Apr 15, 2008, 10:24 AM https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264302
<![CDATA[Re: RTE on frontend]]> https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264301 vhollo Apr 11, 2008, 04:52 PM https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264301 <![CDATA[Re: RTE on frontend]]> https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264300 Bravado Apr 11, 2008, 08:35 AM https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264300 <![CDATA[Re: RTE on frontend]]> https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264299
In the plugin-code:
if(isset($forfrontend)||$modx->isFrontend()){
$frontend = ’true’;
$frontend_language = isset($modx->config[’fe_editor_lang’]) ? $modx->config[’fe_editor_lang’]:"";
$tinymce_language = getTinyMCELang($frontend_language);
$html = getTinyMCEScript($elementList,$webtheme,$width,$height,$tinymce_language,$frontend,$base_url, $webPlugins, $webButtons1, $webButtons2, $webButtons3, $webButtons4, $disabledButtons, $tinyFormats, $entity_encoding, $entities, $tinyPathOptions, $tinyCleanup, $tinyResizing, $modx->config[’editor_css_path’], $modx->config[’tinymce_css_selectors’], $modx->config[’use_browser’], $webAlign, null, null, $tinyLinkList, $customparams, $tinyURL, $modx->config[’rb_webuser’]);
} else {
$frontend = ’false’;
$manager_language = $modx->config[’manager_language’];
$tinymce_language = getTinyMCELang($manager_language);
$html = getTinyMCEScript($elementList, $modx->config[’tinymce_editor_theme’], $width=’100%’, $height=’400px’, $tinymce_language, $frontend, $modx->config[’base_url’], $modx->config[’tinymce_custom_plugins’], $modx->config[’tinymce_custom_buttons1’], $modx->config[’tinymce_custom_buttons2’], $modx->config[’tinymce_custom_buttons3’], $modx->config[’tinymce_custom_buttons4’], $disabledButtons, $tinyFormats, $entity_encoding, $entities, $tinyPathOptions, $tinyCleanup, $tinyResizing, $modx->config[’editor_css_path’], $modx->config[’tinymce_css_selectors’], $modx->config[’use_browser’], $modx->config[’manager_direction’], $advimage_styles, $advlink_styles, $tinyLinkList, $customparams, $tinyURL, null);
}

Where has the value of $forfrontend) been set?
Where have the $webButtons1...4 been set?

And so on.
I need a full or custom set of RTE tools on the frontend editor page.]]>
vhollo Apr 04, 2008, 04:56 PM https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264299
<![CDATA[RTE on frontend]]> https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264298 (EDIT: typo in the title)]]> vhollo Mar 27, 2008, 05:05 PM https://forums.modx.com/thread/45671/rte-on-frontend#dis-post-264298