Just getting started and I'm already stuck.

Permalink
I've been out of website work for a lot of years and boy have things changed! Tried to start a homepage with the template that came up on the sitemap. It has 3 global areas at the top, main content area, footer, etc. I can drag a block into the title area, but can't change the shape, move it, or delete unwanted areas. Anyone help me get started?

1 Attachment

 
Gondwana replied on at Permalink Reply
Gondwana
If you don't put anything in an area, the area won't be displayed outside of edit mode.

Re reshaping and moving blocks, it's all covered in the documentation and videos:
https://documentation.concrete5.org/editors...

If you want total control over area definitions, you'll need to develop or customise a theme. You don't want to be doing that at this stage.
CrankyDem replied on at Permalink Reply
Can't find anything in documentation on reshaping or moving blocks.Videos make everything look easy but don't cover what I need.
mnakalay replied on at Permalink Reply
mnakalay
Hello,

You cannot delete areas when editing. Areas are defined in your theme's files so if you want to delete an area you need to open the corresponding file in your editor and delete the area manually.

When you are on your page, click on the top left cog icon. In the sidebar that opens click on "design". Under "page template" you will see which template is used by the current page, make a note of its name. Now look at your theme's files on your server and open the corresponding file, it will have the same name but with underscores "_" instead of spaces.

Open it in your editor and you will see areas are defined more or less like this
$a = new Area('Page Header');
    $a->enableGridContainer();
    $a->display($c);

The second line might or might not be there, the important ones are the first which defines your area named "Page Header" in this example and the last one which displays it.
You can delete the whole thing or you can simply delete the display() line
Sometimes instead of "new Area" you will see "new GlobalArea" like this
$a = new GlobalArea('Another Area Name');

The principle is the same. The difference is global areas are areas that display exactly the same on every page that uses them. So if you change it on one page it changes on all the others.

To move a block, all you need to do is put the page in edit mode and hover over the block with your mouse. You should see a 4 arrows icon appear in the top right corner of the block. When you hover over that icon your cursor turns into the same 4 arrows icon. Then just click on that icon and drag and drop it to move it where you want it. That even allows you to drop it in a different area.

Concerning the shape of the block, I am not sure what you mean exactly. Do you mean creating a new template so that it looks different or do you mean modify its settings so it behaves differently?