I am just trying to sift my way through OA2 and replicate a system with client areas. From an earlier post i discovered that a Space is my Client area and i think Sections are pages that can include the ability to add certain types of custom content. But once i have added a Section to a Space; how do i set it so that is automatically added each time i add a new space. Obviously i cant expect my client to try to build up custom sections each time they add one of their clients (i.e. add a new Space).
I also don't really see how a new section page should be related to what content i can add to my Space; hopefully it is not tied only to that section.
ideally what i need in the end is this:
- my client adds a new Client (i.e. space)
- the home page for that Space lists various content which was added under that Client/Space
- from that home page or any page within the Space the members of that Space should be able to add content to that Space
Update: Starting from 2.15 there are Blueprints which allow you to do this: http://www.phase2technology.com/blog/using-blueprints-to-clone-spaces-in...
Comments
Comment #1
Argus commentedDid you already check the Section and Space Template settings? You can find the links at
/admin/openatrium. You can duplicate a template to create a variant.Comment #2
liquidcms commentedYes, seen those.. basic panel config. Not sure how that applies to my question though. What i need is guidance on the steps to do this. What i did so far:
- added a new Space: space1
- added a Section to it called Processes and selected to override default section options. this allowed me to add node types. i picked my custom node type.
- now i get the + og sensitive menu i had in OA1 to add content
- i now add a 2nd Space: space2
- but this has no section called Processes in it already
what am i missing?
i get by your comment i likely need to add something to Space default panel? is my new Process section a content type i can add via panels?
Comment #3
Argus commentedAs far as I know there is no way to auto-configure a set of default Sections when creating a Space. The Templates do let you configure the default Panes that get added to a Space or Section. If you create a View Content Pane that lists all the content in the current Space you can add that Pane to the Template of the Space or Section so it will be added when your client creates the Space or Section. They will have to add the Section(s) manually each time though.
By default you don't add content to a Space, you add content to a Section. If your client needs to create the same Section/Content Type(s) combination all you can do is create the needed Section Type by adjusting the Taxonomy term at
/admin/structure/taxonomy/section_type. That's where you select the needed default layout and content types for each Section.Comment #4
Argus commentedContent creation can be done from the Space's homepage (using the + in the menu), it will list all the content types available in the Sections belonging to that Space and is smart enough to add documents to the Document Section, discussions to the Discussion Section etc. At least if you only have one Document/Discussion Section in the Space. If you have more then one (say a Financial Discussion Section and a Web Development Discussion Section) OA won't know which one to use, so it will pick the top one. So in that case the content should be created in the appropriate Section, or the user will have to adjust it manually.
Comment #5
liquidcms commentedhmm.. ok.. i'll play around a bit but at first glance this seems like a huge step backward from oa1. for example i have an oa1 site with std casetracker, notebook, etc (which i guess are equivalent to sections). if the site admin had to add each of these each time a group (i.e. space) was added; obviously this would not work.
i think oa1 has the idea of making changes and picking if they adjust the group default or just apply to the group in question. i am sure there are use cases for oa2 the way you describe it; but seems to miss the primary one completely.
i guess the option here is to ignore the idea of sections (since they dont seem to be usable in my case) and as long as each space still sees the "default" content types as being addable (i am not sure that is even possible though; is it?) i can do as you said and define my space home page as listing new space content as i define and then set that in default space panel layout.
seems a shame that sections isnt usable though as it seems like a pretty large part of oa2.
Comment #6
liquidcms commentedany idea how i would even set the defaults used in "override default space options" as well as the panel layout. none of these should be options for my client who is adding new spaces. possibly there is no default configuration for things like spaces? and i need to do form alters to streamline this for my clients.
hmm.. i am sure i am missing something here.
Comment #7
Argus commentedI guess what you are looking for can be accomplished by adding a new Space type (at
/admin/structure/taxonomy/space_type) and add the default Node Types there. Now all your client has to do is click add Space and select the Space type on the Space creation screen.Or for that matter change the Default Space Type in this way, then the client doesn't have to select anything.
Comment #8
liquidcms commentedah, ok.. yes.. by editing Default space term i can have the + menu include the type i need. this is good.
so it looks as though Sections just won't be usable but perhaps std page tabs from views and panels can be made to do a replicable "space" which shows functionality as soon as a new space is added.
it still is a bit hard to imagine that the basic out of the box site done with oa1 can't ever be configured with oa2 - a bit scary. perhaps just a few feature requests i can write up to get this concept added.
thanks for your help.
Comment #9
ergonlogicWhile I agree that OA2 is less intuitive than OA1, it's light years ahead in terms of flexibility. OA1 really put a straight-jacket on the use of groups/features. For example, you couldn't easily have two independent 'discussion' tabs on OA1, whereas that's just a matter of adding a new section in OA2.
While you cannot (to my knowledge) configure an OA1-style site in OA2, you could probably do it by adding the Rules module, and trigger the creation of appropriate sections whenever a new space is created. It can be done with a minimum of code by programmatically creating the section nodes in a hook_insert().
Comment #10
pommard commentedHi,
also interested in any solutions to do that.
Do we know if it will be possible in further realeses?
Thanks.
Comment #11
liquidcms commented@ergonlogic; thanks, if i can wrap my head around how a section is attached to a space then hook_insert (or rules) might be an easy solution. looking at this today.
@pommard... also, huge thanks.. i knew i couldn't be the only one that sees this as a huge shortcoming in the outa-the-box OA2.
Comment #12
ergonlogicAFAICT, Sections are just content within a Space, and Spaces are just OG Groups. There's more going on, but that should be enough to get started.
Comment #13
Argus commentedComment #15
Argus commented