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??
Header Intro
Header Nav
Main
When I edit the page, only the 'Main' area works.
Any idea??
Maybe your code to define the Areas isn't correct? Like using the same variable for the 3 areas?
I have 3 var $a, $a2, $a3. I have joined my default.php file if you want take a look. Thanks.
Have you tried removing the spaces in the Area names? I'm not sure if c5 supports spaces there.
Tried to remove the blank in the names area. Same result. Only 'main' works!
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
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
probably malformed html. Check your opening and closing tags and whatnot, I'd bet that is your issue.
Congratulations and thanks! The right answer.