How can I make the ckeditor windows bigger in the OC back-end? Can't seem to find the right files to edit, at the moment the product description box is 200px high but i'd like to change this to at least 400px as it would be easier for the client to make changes instead of scrolling. I'm using version 1.4.7.
Many thanks,
Rob
Reason: solved
Try editing admin/view/javascript/ckeditor/config.js
add (eg)
Code: Select all
config.height = '500px';
Code: Select all
config.filebrowserBrowseUrl = 'index.php?route=common/filemanager';
That seemed to work. See what you think. There must be a default 200px setting in there somewhere: I couldn't find it, but adding this line seems to over-ride it.
Exactly what I'm looking for! Thanks Moggin!Moggin wrote:That is an extremely good question...
Try editing admin/view/javascript/ckeditor/config.js
add (eg)aboveCode: Select all
config.height = '500px';
... etcCode: Select all
config.filebrowserBrowseUrl = 'index.php?route=common/filemanager';
That seemed to work. See what you think. There must be a default 200px setting in there somewhere: I couldn't find it, but adding this line seems to over-ride it.
Any idea how to increase the size for file browser's file preview box?
I don't know much about PHP...~~
Don't know much about JQuery...~~
But I do know that I love OC!~~
and I know that if you'd guide me, what a wonderful world this would be...!~~
_________________________________________________________________
Using OC 1.4.9.2
http://www.ten2hundred.com

I believe the file browser uses jquery UI. If so, this is a place to start
http://jqueryui.com/demos/dialog/
- the 'options' section tells you how to change the default configuration...but I'm not sure how to implement - don't know much jquery! If you figure this out, let me know.
I managed to find it after 1 hour of searching. It took me so long because the value doesn't sit inside jquery. It was in OC's stylesheet for filemanager. Here's how to change it:Moggin wrote:Good to know, thanks manson!
I believe the file browser uses jquery UI. If so, this is a place to start
http://jqueryui.com/demos/dialog/
- the 'options' section tells you how to change the default configuration...but I'm not sure how to implement - don't know much jquery! If you figure this out, let me know.
Go to:
/public_html/admin/view/template/common/filemanager.tpl
Look for:
Code: Select all
#column_right
Code: Select all
#column_left
Code: Select all
Height: 600px;
For ckeditor, go to:
/public_html/admin/view/javascript/ckeditor/config.js
Look for:
Code: Select all
config.filebrowserWindowHeight = '500';
Code: Select all
config.filebrowserWindowHeight = '700';
/public_html/admin/view/javascript/jquery/ui/ui.dialog.js
I've still figuring out which value to adjust, I've tried minHeight but the vertical scrollbar is not working to the full extent. Whereas changing height from 'auto' to fix pixel doesn't load the filemanager.
Moggins, any idea on the last part?

I don't know much about PHP...~~
Don't know much about JQuery...~~
But I do know that I love OC!~~
and I know that if you'd guide me, what a wonderful world this would be...!~~
_________________________________________________________________
Using OC 1.4.9.2
http://www.ten2hundred.com
Code: Select all
add (eg)
config.height = '500px';
above
Code: Select all
config.filebrowserBrowseUrl = 'index.php?route=common/filemanager';
... etc
Whilst I was there I also added:
Code: Select all
config.width = '960px';

Webmaster for: http://www.getlaidbeds.co.uk + www.mattressmoose.co.uk + www.pixellounge.co.uk
Code: Select all
config.resize_enabled = false;
[EDIT]: Tried again and it works..... (helps if you actually put the code to server before using)

tim@pointreddesign.co.uk | http://www.pointreddesign.co.uk
Users browsing this forum: No registered users and 12 guests