Hi Jeff

Yeah, as a test, I used the following richtext.cfc code:

<cfcomponent extends="farcry.core.packages.formtools.richtext"
name="richtext" displayname="Rich Text Editor" hint="Used to liase
with longchar type fields">

        <cffunction name="getConfig" access="public" output="false"
returntype="string" hint="This will return the configuration that will
be used by the richtext field">

                <cfset var configJS = "" />

                <cfsavecontent variable="configJS">
                        <cfoutput>
                                theme : "advanced",
                                plugins :
"table,advhr,farcrycontenttemplates,advimage,advlink,preview,zoom,searchreplace,print,contextmenu,paste,directionality,fullscreen",
<!--- farcryimage --->
                                theme_advanced_buttons2_add : 
"separator,farcrycontenttemplates",
                                theme_advanced_buttons3_add_before :
"tablecontrols,separator",
                                theme_advanced_toolbar_location : "top",
                                theme_advanced_toolbar_align : "left",
                                theme_advanced_path_location : "bottom",
                                theme_advanced_resize_horizontal : true,
                                theme_advanced_resizing : true,
                                extended_valid_elements: 
"textarea[name|class|cols|
rows],script[type],img[style|class|src|border=0|alt|title|hspace|
vspace|width|height|align|onmouseover|onmouseout|name]",
                                remove_linebreaks : false,
                                relative_urls : false
                        </cfoutput>
                </cfsavecontent>

                <cfreturn configJS />
        </cffunction>

</cfcomponent>


The difference between the code above and the sample code on
http://docs.farcrycms.org:8080/confluence/display/FCDEV40/richtext

is that I removed this line:

theme_advanced_buttons3_add :
"separator,fullscreen,pasteword,pastetext",

I refreshed and uploaded the app scope many times just to be sure, but
still, the editor is showing fullscreen, pasteword and pastetext
options.

To recap, Ive got the above code at /Farcry/projects/art/packages/
formtools/richtext.cfc , refreshed app scope within farcry admin.

perhaps there is another process that Im missing??


On Nov 8, 2:51 pm, Jeff Coughlin <[EMAIL PROTECTED]> wrote:
> On Nov 8, 2007, at 6:51 AM, BazD wrote:
>
> > Ive gone down the getConfig route, created a "formtools" folder within
> > the "packages" folder, and created a richtext.cfc file, populated with
> > the sample extended richtext getConfig code from
> >http://docs.farcrycms.org:8080/confluence/display/FCDEV40/richtext,
> > updated the application scope, gone into edit a page, but still, looks
> > exactly same as before (ie. looks and functions exactly like the
> > standard tinyMCE editor that is set by defaullt within every farcry v4
> > install)
>
> In your custom richtext.cfc file, did you replace the sample tinyMCE
> configuration with your own?
>
> --
> Jeff Coughlin
> Web Application Developerhttp://jeffcoughlin.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to