Unable to move newly added layout.
Permalink
After creating a great page, I wanted to add another layout, so I clicked on the 'Main' tab and selected 'Add Layout' which I then created 2 columns, but unfortunately, I can't move it up between the page header and another layout, doing so only returns the layout back to the bottom of the main layout, soo, I had to delete all the blocks and layouts I previously created, then using a pen and paper, the draw out the layouts I wanted, making sure I leave the paper sitting for a few days, just in case I miss something, then when I'm satisfied that I haven't missed anything, I create new layouts according to the design on the paper.
This IS the only way to do it, being that new, empty layouts can't be moved,,,,if you want to add something, delete everything on the page, and start again.
This IS the only way to do it, being that new, empty layouts can't be moved,,,,if you want to add something, delete everything on the page, and start again.
I tried every which way, but the layout can not be moved.
What should happen, is when a layout is dragged up, all other layouts even if they contain blocks should drop down to make room for the new layout, but they don't, and if there's a content block with a lot of content, and a new layout which by default is created at the bottom of all the other layouts, is attempted to be dragged up under the page title, the the page does not auto scroll to follow the drag, therefore making it impossible to add further layouts to the top of the page, so everything has to be added below the already existent content, it seems new layouts cannot be inserted between existing layouts.
What should happen, is when a layout is dragged up, all other layouts even if they contain blocks should drop down to make room for the new layout, but they don't, and if there's a content block with a lot of content, and a new layout which by default is created at the bottom of all the other layouts, is attempted to be dragged up under the page title, the the page does not auto scroll to follow the drag, therefore making it impossible to add further layouts to the top of the page, so everything has to be added below the already existent content, it seems new layouts cannot be inserted between existing layouts.
Hi usalabs,
The problem was caused by updates in how some web browsers work.
This issue is fixed in the next version of concrete5.
"Fix block dragging in edit mode #6334"
https://github.com/concrete5/concrete5/pull/6334...
The problem was caused by updates in how some web browsers work.
This issue is fixed in the next version of concrete5.
"Fix block dragging in edit mode #6334"
https://github.com/concrete5/concrete5/pull/6334...
I too have struggled with changing layouts on existing pages so this will be a really helpful improvement. MrKD, you say it will be fixed in the next release. Would you be able to indicate when that might be? (I need to decide whether to battle on with rebuilding a layout by copying, deleting and replacing etc., or whether I should just wait, if the change is reasonably imminent)
Regards
JonCope
Regards
JonCope
@Joncope
I am not sure when the next version will be released.
If you don't want to wait, you can apply the fix manually after making a full backup (files and database).
I am not sure when the next version will be released.
If you don't want to wait, you can apply the fix manually after making a full backup (files and database).
Thanks but I think that might be outside my comfort zone!
I have the same problem. I guess it's not only a browser issue, but also an issue with the graphics card. Or a combination of graphics power and browser type. This is what I tested and what I found out:
- first I updated the system and browser. I use now Firefox 86 on Linux (Mint 18). Even now I can't drag and move an Area Layout.
- I tried another browser (Midori 0.5.11) on the same computer: dragging en dropping works, but very very slow.
- I tried with the same version of Firefox (86) on another computer (Linux Mint 20) and there it works more or less like it should. (actually also there dragging and dropping gives problems but of another kind: dragging works, but I can't drag too long distances. The solution for the time being is: drag and drop until above or below the next block or area and then Save Layout and then again drag and move only one step further, otherwise the browser may "freeze" in the dragging).
The other computer has a newer and more powerfull graphics processor, but I didn't dive into details. This is why I guess that the graphics card power or settings could play a role.
- first I updated the system and browser. I use now Firefox 86 on Linux (Mint 18). Even now I can't drag and move an Area Layout.
- I tried another browser (Midori 0.5.11) on the same computer: dragging en dropping works, but very very slow.
- I tried with the same version of Firefox (86) on another computer (Linux Mint 20) and there it works more or less like it should. (actually also there dragging and dropping gives problems but of another kind: dragging works, but I can't drag too long distances. The solution for the time being is: drag and drop until above or below the next block or area and then Save Layout and then again drag and move only one step further, otherwise the browser may "freeze" in the dragging).
The other computer has a newer and more powerfull graphics processor, but I didn't dive into details. This is why I guess that the graphics card power or settings could play a role.
You hover over a column in the layout, click on the tab, select "Edit Container Layout", then use the move icon to drag/drop your layout within the area.