I need each of the numbered blocks displayed in the image above to be a content area. How can I set up a simple block to have a set size, background colour, padding etc.?
Installing Concrete from the source repository can sometimes require a re-install in order to get newer (and better) versions working.
However, since it is a release candidate, changes before the final release should be small, and also will be covered by the next version's upgrade script. In fact, Concrete 5.4 introduces one-click upgrade support, so when the final version is released you should be able to upgrade directly from the dashboard
I have tried upgrading, but I have got this Error:
An Unexpected Error occurred while upgrading: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'columns INTEGER(3) NOT NULL DEFAULT 3, breakpoints ' at line 4] in EXECUTE("CREATE TABLE Layouts ( layoutID INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, rows INTEGER(5) NOT NULL DEFAULT 3, columns INTEGER(3) NOT NULL DEFAULT 3, breakpoints VARCHAR(255) NOT NULL DEFAULT '', locked TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (layoutID) )")
I have tried upgrading, but I have got this Error:
An Unexpected Error occurred while upgrading: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'columns INTEGER(3) NOT NULL DEFAULT 3, breakpoints ' at line 4] in EXECUTE("CREATE TABLE Layouts ( layoutID INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, rows INTEGER(5) NOT NULL DEFAULT 3, columns INTEGER(3) NOT NULL DEFAULT 3, breakpoints VARCHAR(255) NOT NULL DEFAULT '', locked TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (layoutID) )")
It seems like 'columns' might be treated as a reserved keyword in some versions of MySQL. Since it installed fine on my server, maybe it would be possible to fix this problem by upgrading MySQL?
Meanwhile I think they are going to change the table name in the core to prevent this type of problem
OK, I have got 5.4 working. I was playing around with the layout feature, but cannot get it to work the way I would like it to. I want to add a block 1/2 the width of the Main content, without using columns. I need to be able to add blocks horizontally rather than vertically, in reading order. So, if there is one block only on the page it will appear at the top left, the next block added would then horizontally appear straight after it to the right and the third block would appear underneath on the second line to the left.
The attached images explain better what I mean. I want to know if there is a way, when the first area is added, that the 'Add to' button changes to appear on the right. Then when that area has been added, it then changes to appear on the next line and so on.
Unfortunately I don't think there is a way for the editing controls to appear that way, but you should still be able to replicate this layout using the layouts feature.
You can add a new 50/50 layout, add a block on the left, then add a block on the right, then add a new 50/50 layout, so on.
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.
Then you could use the design feature to apply styles to each block individually, or you could try using custom templates.
Does this make sense?