Developer forum

Forum » Development » Fckeditor for Weblog Module

Fckeditor for Weblog Module


Reply

Hi
We are using the weblog module. We would like to know how to disable "the browse to server"-button in image-properties box when editing/creating a blog post. But so it's only disabled for the weblog module.

I've succeeded to remove the button by choosing FCKConfig.ImageBrowser = false and FCKConfig.ImageUpload = false in fckconfig.js.
But that also removes the button for image properties box in paragraph editor in admin.
 

So what we need is help in how to disable the button only for the weblog module.

BR
Tobias


Replies

 
Reply
Hi Tobias,

Modify your "/Files/Templates/Weblog/Articles/EditArticle.html" template by appending the following into the <script> section:

function FCKeditor_OnComplete(editorInstance) {
    editorInstance.Config.ImageBrowser = false;
}

- Pavel

 
Reply
Thank you very much Pavel!
It work's like a charm!

//
Tobias

 

You must be logged in to post in the forum