close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Customising the editor

Thread began 1/30/2010 7:54 am by jan195010 | Last modified 2/03/2010 2:27 am by jan195010 | 2601 views | 7 replies |

jan195010

Customising the editor

Hi I've installed powerCMS 1.2 and managed to get it working - many thanks to the those who have added posts here, all my previous issues have been answered with the pdfs provided by others and the knowledgebase.

I'm now struggling with customising the html editor. I want to remove some (many!) of the buttons before I hand off to the client and to customise the CSS styles and drop down list. I have html editor but have never used it. When I am using it within a site for powerCMS, which page do I need to be on before I open it, once I do what settings do I need to use? Does this make all the changed in the editor for me or do I manually need to edit some files?

Apologies if this is in a help file somewhere but I've not been able to find it. IS there a comprehensive guide to the product anywhere?

Jan

Sign in to reply to this post

Office Guy-172461

See if this thread helps:

showthread.php?t=9136

Sign in to reply to this post

jan195010

Thanks I looked at that - it refers to IRIte - I presume that's now updated to the FCK editor?

I'm trying to find a way for the WA HTML Editor to update FCK editor it via its interface. I Every time I've tried it I get another instance of the HTML directory created. Im trying to remove buttons and add to the styles drop down box in FCK editor contained in Power CMS 1.2.

Can that be done or do I need to manually edit
Jacontents_insert_ContentValue1.js and contents_update_ContentValue1.js in the html - custom directory?

Jan

Sign in to reply to this post

Office Guy-172461

I don't have first hand experience with PowerCMS but most applications based on this editor control the options by editing the .js file. All I do is make a backup of the file and delete the buttons I don't want. If you look at how they are grouped, it pretty easy to understand the syntax. Just make sure you keep the punctuation intact. If you don't get what you want, you can just copy the backup file on top of the modified one and start again.

Sign in to reply to this post

jan195010

Thank-you - I'll do it that way

Jan

Sign in to reply to this post

Office Guy-172461

Let us know how it goes. The WA guys will be back tomorrow and might know a better way.

If someone wants to write a how-to, I'll add it to the rest.

Sign in to reply to this post

neilo

Office Guy's solution is the definitely the quickest and safest way, especially as you are about to sign-off on the project.

[For other peoples' benefit: The two javascript files to edit for the PowerCMS editor instances are:

contents_insert_ContentValue1.js
contents_update_ContentValue1.js

At or about line 31 in each of these files is the beginning of the 'ToolbarSets' section: FCKConfig.ToolbarSets["Custom"]. The only thing to be careful of here is that when you remove one or more of the buttons, that you leave the remaining items' punctuation intact.]


I'm not sure why you are having a problem re-entering the HTMLEditor interface, though.

If your editor instances are in your PowerCMS site, then you would open up either contents_insert.php or contents_update.php page, and re-enter the Editor interface by clicking on the HTML Editor instance (in 'Design View') to select it. It might already be selected, and clicking would then de-select it. In that case, just click once more.

Once selected, you should see - in the Properties Panel/Inspector at the bottom of the window - 'HTML Editor [Edit]' (see attached image)

Clicking 'Edit' should open the HTML Editor UI.

NOTE: If your PowerCMS folders and files are all in the root directory and NOT in their own folder in the root directory (i.e. 'CMS', 'PowerCMS' or 'CMS102'), then re-entering the HTML Editor UI and making changes is fine, go ahead. HOWEVER, if your PowerCMS files and Folders - including the HTML Editor folder - are in their own folder within the root folder of your site, then making changes through the Editor UI will just create a new HTML Editor folder in the root directory of your site and really confuse matters.

How to get round this:

Go to 'Manage your Sites' in the DreamWeaver menu ('Sites'). Select your site and create a duplicate. Click 'Edit' to edit your duplicate site. Change the local and testing server paths for Local Root Folder, Testing Server Folder and (Testing Server) URL Prefix to the folder that contains the PowerCMS files and folders. For Instance, all references to these folders in my site that are currently: C:\Inetpub\wwwroot\Pictuality\ would become C:\Inetpub\wwwroot\Pictuality\CMS\.

In the Local Info screen for 'Site Name' just add the suffix 'CMS' to your site name, and save the site definition. Now (and whenever you want to), using this site definition, you can re-enter the HTML Editor UI and make changes without HTML Editor creating a new directory and big problems.

Sign in to reply to this post

jan195010

Thank-you - I believe the pdfs and threads that have helped me were yours too. Yes that's exactly what has been happening so I'll use your workaround.
I used your methodology for removing the create new page and insert code elments. Do you have any ideas on getting rid of the delete button facility for clients?

I guess once I know my way around this thing it will be a great asset. I like the simple interface for clients. Thanks everyone for your help.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...