These are chat archives for COCOPi/cockpit

9th
Oct 2015
Artur
@aheinze
Oct 09 2015 05:12
@/all anyone willing to try / test-run https://github.com/COCOPi/cocopi-kickstart? Comes with the current status of cockpit-next + copilot. thanks for feedback!
Peter Brinck
@peterbrinck
Oct 09 2015 09:09
I will do it in a bit @aheinze :-)
Artur
@aheinze
Oct 09 2015 09:09
:+1:
Peter Brinck
@peterbrinck
Oct 09 2015 09:18
It's great to see that you're back developing Cockpit and the other COCOPi projects
Peter Brinck
@peterbrinck
Oct 09 2015 09:35
@aheinze shouldn't the menu update automatically when adding new folders in content folder?
Matthijs Alles
@malles
Oct 09 2015 09:40
@peterbrinck change the menu.yml :) Static you know ;)
Peter Brinck
@peterbrinck
Oct 09 2015 09:40
Aaah :-P
Remember when I fiddled with Copilot, @malles ?
Artur
@aheinze
Oct 09 2015 09:43
yepp … way more performant then going through the filesystem and removing 01 from 01.xyz for the routes
Peter Brinck
@peterbrinck
Oct 09 2015 09:43
Yeah
Artur
@aheinze
Oct 09 2015 09:44
i will add a menu gui in the near future
Peter Brinck
@peterbrinck
Oct 09 2015 09:44
Ah okay :+1:
But it's nice to work with Cockpit and Copilot together!
Artur
@aheinze
Oct 09 2015 09:48
yepp :-)
by the way, custom page types are already supported
Peter Brinck
@peterbrinck
Oct 09 2015 09:49
That's nice
Artur
@aheinze
Oct 09 2015 09:52
just create e.g /site/types/wysiwyg.yaml
with the following content:
label: WYSIWYG
ext: html
meta:
    content:
        type: wysiwyg
Peter Brinck
@peterbrinck
Oct 09 2015 09:53
That's nice
Very easy
Artur
@aheinze
Oct 09 2015 09:54
yes, you can now select „WYSIWYG“ as page type when creating a new page
Peter Brinck
@peterbrinck
Oct 09 2015 09:54
Yeah
So what if I want to add a region?
To a page
I've already created the region
Artur
@aheinze
Oct 09 2015 09:57
@region('regionname')
Peter Brinck
@peterbrinck
Oct 09 2015 09:58
Easy, thanks
But it doesn't work..
It just outputs @region('TestRegion') on the page
Artur
@aheinze
Oct 09 2015 10:01
where did you put it in?
Peter Brinck
@peterbrinck
Oct 09 2015 10:01
In the editor, to edit pages
Matthijs Alles
@malles
Oct 09 2015 10:02
html or md page?
Artur
@aheinze
Oct 09 2015 10:03
ooops, it did work… could you please create an issue on github?
Peter Brinck
@peterbrinck
Oct 09 2015 10:03
Yeah, I will
Just in cocopi-kickstart?
Artur
@aheinze
Oct 09 2015 10:04
yepp
Peter Brinck
@peterbrinck
Oct 09 2015 10:04
Okay :+1:
COCOPi/cocopi-kickstart#1