
justritedesign
User
Jun 25, 2008, 3:02 PM
Post #8 of 19
(5954 views)
Shortcut
|
|
Re: [Dave] Tutorial: Custom styles pulldown in wysiwyg
[In reply to]
|
Can't Post
|
|
Hi Dave I am at the stage to address this with one of my clients but I am not seeing the results. The code in the "Edit_Functions.php" looks like this:
<script language="javascript" type="text/javascript"><!-- tinyMCE.init({ mode : "exact", theme : "advanced", // Define buttons: Button codes: http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference theme_advanced_buttons1 : "styleselect,bold,italic,underline,|,justifyleft,justifycenter,justifyright,|,bullist,numlist,|,indent,|,outdent,|,removeformat,fullscreen", theme_advanced_buttons2 : "forecolor,backcolor,|,hr,link,unlink,image,table,|,code", theme_advanced_buttons3 : "content_css : "www.efreewillmar.org/style.css", // Load Plugins: ***NOTE*** plugins must be added both here and in tinyMCE_GZ.init() in edit.php! plugins : "inlinepopups,contextmenu,table,fullscreen", // theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", elements: '{$fieldSchema{'name'}}', file_browser_callback : "$uploadBrowserCallback", relative_urls : false, entity_encoding : "raw", // don't store extended chars as entities (ñ) or keyword searching won't match them // content_css : "css/wysiwyg.css" }); //--></script> But I see the two dropdowns "Format and Fonts Size" in the wysiwyg editor. I added a Test class to the wysiwyg.css sheet but I do not see it at all. If my code is set to "styleselect" then why do I see the two older drop downs? Also I see on "Theme_Advanced_button3" is set to the style sheet that is used by the rest of the site. What is the function of that line? Thanks for all your help. Michael Moyers Owner/Administrator Just Rite Design & Just Rite Productions A growing network of professionals in Web development, Programming, Graphic Design, Flash, and Audio and Video Productions
|