Forums / Developer / Cache for admin-part

Cache for admin-part

Author Message

K259

Tuesday 05 October 2004 9:58:58 am

I've changed the editor textfield size in the admin-part, because our users want a larger input-field when writing content, but which cache do I have to empty to see the changes? --clear-all does not help..

ANy tip?

Eirik Alfstad Johansen

Wednesday 06 October 2004 12:28:08 am

Hi Zinistry,

If clearing the cache doesn't help, have you considered that the size of the text field might be controlled by CSS?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

K259

Wednesday 06 October 2004 12:34:40 am

Hi!
Tnx for reply.

I've edited the extension/ezdhtml/design/standard/javascripts/ezdhtml/ezeditor.js file.

In this file you can see:
 // Set size of input field
    // TODO: What if nothing is used. why does textareaField.cols always return something?
    // this.width = 513;
    // this.height = 200;
    this.width = textareaField.cols*7;
    this.height = textareaField.rows*17;

I changed textareaField.cols*7, and the inputfield in the editor got wider, but it took some hours until the changes was shown. So, I wondered how I could clear "some" cache, to make this be visible at once.

Btw. I saw a class="box" in the template for the inputfield, but didn't find this in the css-file...can you explain in which file I can change the size of the inputfield for the editor?

Tnx ;)