Composer View don't work, Concrete 5.7.5

Permalink
Hi,
i created a new package theme for Concrete5.
If i want to edit a page and click on the "Page settings" => Attributes i can not see any
attributes at the main content section (rigfht). I only see "save changes". I selected some attributes at the left, but nothing happens at the right.
I can not see any error in the console. If i choose the elemental theme it works.
So what can i do?

Thanks

Felix

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi klicknerds,

Have you double checked that your custom theme has all the code required for the concrete5 interface?
http://documentation.concrete5.org/developers/designing-for-concret...
Vuish replied on at Permalink Reply 1 Attachment
Hi,

thanks for the fast response! I can not see any problem in my basic settings.
Attached you will find my demo Package.
Maybe someone can help me.

Thanks!

Felix
MrKDilkington replied on at Permalink Reply
MrKDilkington
@klicknerds

You are missing the wrapper div and class required by concrete5.
<body>
    <div class="<?php echo $c->getPageWrapperClass(); ?>">
        <!-- site content and areas -->
    </div>
    <?php Loader::element('footer_required'); ?>
</body>

Also, in page templates, the current page object is available by default as the variable $c.
Vuish replied on at Permalink Reply
Hi,

great! You are right i missed the getPageWrapperClass();
I did not know that it is so important. Now it works!
Thanks!

Felix

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.