What to use as a Basic Container?

8 views
Skip to first unread message

Bruno Reis

unread,
Aug 8, 2015, 1:03:20 PM8/8/15
to symfony-...@googlegroups.com
I wish to create a node in the repository o hold some content. I'm using simplecms as a foundation. Is there a default node I can create using admin just as it was a "directory", a "container" of other nodes. 

I think that using a page for that is too much because I don't need routing. It will only hold some content that will be referenced by blocks on the content structure 

And using a MenuNode is also weird because it's not a menu. Also MenuNodes only allow for NodeInterfaces inside it. 

I see initializers create a nt:unstructured phpcr:managed node, but it's not editable and can't be created by the admin. 

So, is there anything I can use there? 

Lukas Kahwe Smith

unread,
Aug 8, 2015, 4:57:08 PM8/8/15
to symfony-...@googlegroups.com
See my other email regarding MenuNode vs. NodeInterface.

As you figured out the initializers can create you such a container and I would recommend using an initializer for this .. you can of course define a custom initializer if you want the “container” to be slightly different. IMHO this isn’t something that users should define through the UI.

regards,
Lukas Kahwe Smith
sm...@pooteeweet.org



signature.asc
Reply all
Reply to author
Forward
0 new messages