5.7.0.3 Theme Editing not working

Permalink 1 user found helpful
Hi All,

I used to edit my themes quite fast and easily but with 5.7 I get no luck.

The edit toolbar is there but when adding Area's to edit they won't work...

I've used the code
<?php
$a = new Area('MainContent1');
$a->display($c);
?>


But it gets me a white block with the name of the area which I cannot use. (See screenshot) is this code deprecated? Can someone please tell me where the new codes are? (Or which lines of new code I need to add to use the area blocks).

What i've tried:
1. Browsers: Chrome, Firefox, Explorer, Safari, Iron
2. Import an old theme (same issue) which worked on older Concrete5
3. Reinstall Concrete5

Thanks in advance.

1 Attachment

 
szucslaszlo replied on at Permalink Reply
Hi!

I had the same exact problem. Check your javascript console for any errors, that may have shut down javascript processing.

In my case, I had a theme which had an editable area inside an <a> element, and that just killed underscore.js included in footer_required. I removed the <a> element and voila - all is fine.
jero replied on at Permalink Reply
jero
Thanks for posting that - it fixed my problem. I'd managed to break some HTML which lead to an area being declared within an anchor. Moral of the story is validate your HTML first!