broken theme

Permalink
Hi all,

i try create a new theme for c5, i thought i i got all the parts properly... but somehow, the areas can't be clicked, add or edit...

to simplify the testing, i just has 1 area
<?php 
defined('C5_EXECUTE') or die(_("Access Denied."));
$this->inc('elements/header.php');
?>
<body class="default">
<div class="container">
   <div class="content">
         <?php
         $a = new Area('Main');
         $a->display($c);
         ?>
      </div>
</div>
<?php $this->inc('elements/footer.php'); ?>


that's my code, any help would be really appreaciated

ps: i have added Loader::element('header_required'); in the header file. i can go to (and exit) edit mode just fine, just can't add more blocks into the main area.

kutis
 
kutis replied on at Permalink Reply
kutis
so i definitely did something wrong there...
synlag replied on at Permalink Reply
synlag
put htat line into your head section of your theme:

<?php  Loader::element('header_required'); ?>
kutis replied on at Permalink Reply
kutis
had that...

it is css problem, it works if the css is not included, i paste it directly from a drupal theme...

anyway, starting fresh while monitoring the cms...
synlag replied on at Permalink Reply
synlag
sry didn't see that line.
maybe it's time for an app, in which you can choose your current cms and all the content is put in the right way into your new concrete5 database. ;)