block setup/edit width
Permalink
hi, im adding the editor to the form block for reply emails. I cant find where to change the width of the block admin.
any tips ?
Iv added an image cause the description is not very good, where does the width and height for the block come from ?
thanks for any advice
any tips ?
Iv added an image cause the description is not very good, where does the width and height for the block come from ?
thanks for any advice
image attached
The width and height is set in the block controller, by these two variables:
protected $btInterfaceWidth = "550";
protected $btInterfaceHeight = "400";
Note that after you change these numbers, you need to "Refresh" the block by going to the Dashboard, Add Functionality, click "Edit" next to the block, then click the "Refresh" button.
BTW, if you're customizing a built-in block you should probably copy it to your site's blocks folder (so there's a copy outside of the "concrete/blocks" folder) and make changes there, otherwise a system update will overwrite your customizations (and it will be easier to keep track of things this way as well).
-Jordan
protected $btInterfaceWidth = "550";
protected $btInterfaceHeight = "400";
Note that after you change these numbers, you need to "Refresh" the block by going to the Dashboard, Add Functionality, click "Edit" next to the block, then click the "Refresh" button.
BTW, if you're customizing a built-in block you should probably copy it to your site's blocks folder (so there's a copy outside of the "concrete/blocks" folder) and make changes there, otherwise a system update will overwrite your customizations (and it will be easier to keep track of things this way as well).
-Jordan
I feel so stupid ! i was looked through almost all of the core files to try to find this and its just there, in the controller, at the top.
thanks for your help with this :)
thanks for your help with this :)