Area issues

Permalink
I try to adapt a very simple template to C5. I have 3 editable areas:

Header Intro
Header Nav
Main

When I edit the page, only the 'Main' area works.

Any idea??

 
okhayat replied on at Permalink Reply
okhayat
Maybe your code to define the Areas isn't correct? Like using the same variable for the 3 areas?
mrr15 replied on at Permalink Reply 1 Attachment
I have 3 var $a, $a2, $a3. I have joined my default.php file if you want take a look. Thanks.
matogertel replied on at Permalink Reply
matogertel
Have you tried removing the spaces in the Area names? I'm not sure if c5 supports spaces there.
mrr15 replied on at Permalink Reply
Tried to remove the blank in the names area. Same result. Only 'main' works!
okhayat replied on at Permalink Reply
okhayat
I see nothing is wrong, and it's working fine when I test it locally.
One last thing, can you try each of these to see if it fixes your problem:
1. Move the line <?php Loader::element('header_required'); ?> down just before the closing </head> tag.
2. Comment out your CSS lines
3. Comment our the Javascript code at the bottom
ScottC replied on at Permalink Reply
ScottC
probably malformed html. Check your opening and closing tags and whatnot, I'd bet that is your issue.
mrr15 replied on at Permalink Reply
Congratulations and thanks! The right answer.