Newsletter Width in ACP

Dazed
Dazed
@dazed
12 years ago
1,022 posts
Where would I change the width of the existing tinymce form for the Newsletter? I am getting a scroll bar on the bottom from a newsletter I used in JR4 so I would like to extend it a bit.

Thanks!
updated by @dazed: 12/20/13 06:07:09PM
michael
@michael
12 years ago
7,772 posts
I think it fills in the div its put in. Try changing the width of the container.
Dazed
Dazed
@dazed
12 years ago
1,022 posts
Hey Michael - I went into core_form_layout.css and changed the below 15% and 85% respectively which yielded an odd result. It was resized but it really just shifted everything a bit to the left. What was odd is I now had a brand new Expand Help Button that appeared next to the form on the right that does nothing. I am wondering if this was supposed to be there with the available variables for the newsletter?


.element_left {
    background-color:transparent;
    text-align:right;
    text-transform:capitalize;
    padding:8px;
    width:25%;
}
/* @title Element Right */
/* @help This is the right side of pages and forms where the form elements appear */
.element_right {
    background-color:transparent;
    padding:6px;
    width:75%;
}
brian
@brian
12 years ago
10,148 posts
You don't want to change those classes - that's going to mess things up :)

The file you are looking for is modules/jrCore/templates/form_editor.tpl - inside you'll see that it is already using 100% width though.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
12 years ago
1,022 posts
Thanks Brian. Any idea why another help icon appeared? It looks like we are missing the newsletter variables. Maybe that was it?
brian
@brian
12 years ago
10,148 posts
The icons that show on the tiny_mce editor are dependent on the width of the editor - so that icon is just hidden by default based on the current width - when you made it wider it showed up.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net