Sorry. Where to set FCK or Tiny to appear Advanced or Custom on the FrontEnd?
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.