Post Content to my own template

Permalink
I've build my own template, converted and installed it like is said in the video but now I have no idea how to post any content to my news section. If I write something in the composer it doesn't show up in my <?php
$a = new Area('nieuws');
$a->display($c);
?>

Can anyone help me please?

I am a NEWBIE to Concrete5!

Thanks!

 
olliephillips replied on at Permalink Reply
olliephillips
You have to enable any 'page types' that you want to use with composer in pages & themes | page types.

You don't say how your template/theme is structured, but to make sure your theme is working ok, when creating a page, assign the news section page type to it - whatever that is named as in your theme. You should then have a page on your site you can edit outside of composer using in-context editing. If that works you should be able to visit the pages & themes | page types option and set up your page type to be useable via composer.

Hope that helps.
Bommeltje replied on at Permalink Reply
Thanks Ollie,

So far I found out my toolbar doesn't work on my site (the old: <?php Loader::element('header_required'); ?>). I've allready tried to delete all the jquery links and it still doesn't work. I haven't a clue how to solve this.

My test location ishttp://www.derotterdammers.nl/concrete...

Chz...
Bommeltje replied on at Permalink Reply
And i do get the 'Add To content' is a dotted border, Just no toolbar...
Bommeltje replied on at Permalink Reply
I've gone and dunnit! :-)

Toolbar showed up after I put

<?php Loader::element('footer_required'); ?>

in the head AND body? I'm not gonna wonder why, i'm just glad it works! :-)