Closed (fixed)
Project:
Composite Layout
Version:
6.x-1.0-beta3
Component:
Documentation
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2008 at 06:55 UTC
Updated:
7 Jun 2009 at 01:10 UTC
Im trying to use composite node with organic groups, and am wondering if there is a way to place nodes in zones when creating content type , instead of by creating content?
Normally I create a content type, enable it as composite type, then create content based on that type, then edit it to allow me to chose blocks and put them in zones.
I want to create a group node which contains views I made in different zones..... is this possible to do without having to go through the create new content after creating content type?
Thanks
Comments
Comment #1
bengtan commentedHi,
I've broken down your question into two parts.
1.
Composite Layout operates on nodes. It's not possible to use Composite Layout without creating a node first. (Or have I misunderstood your question?)
2. Composite Layout doesn't directly support Views. However, you can create a block view, and then place that block in a zone.
Comment #2
AntiNSA commentedOk,
1. I know you have to create a node first..... After you create a content type....
The thing is I want to create a content type for organic groups...... the main container, and then create the node which allows me to organize the blocks into the zones... Allowing the users to populate certain nodes in the zone layout through a predefined layout, which is populated by block views.
I cant give users access to create their own composite layouts and I dont want to have to create the layout for each group when created one by one.
I dont want to babsit group creation... Mabe I am answering my own question.
SOrry I am new to this drupal stuff.
Perhaps I must create parent organic groups first and then allow them to only create sub groups.....
Yes... I would like to have this done within organic groups..
sorry I am thinking aloud and maybe halfway crazy. Beginning to see the light.
Comment #3
bengtan commentedI think I understand what you're trying to do - Use Composite Layout on the nodes that represent OG groups.
I think Composite Layout will fit some of your purposes, but I'm not sure whether it will fit perfectly. You'll have to try for yourself and see.
Thinking aloud ...
I'd suggest enabling Composite Layout on the content type (ie. group) that you create for OG.
But then you'd need some way to:
1) Automatically populate Composite Layout settings on all new OG nodes, whilst
2) Preventing users to edit the layout settings of the OG nodes that they create.
There is some talk of doing (1) but no definite timeframe. I don't think there are any plans to do (2) - because we/I don't have any need for it.
Comment #4
AntiNSA commentedThe thing is I am trying to create a layout for organic groups. I wish to have
A. Admin posting With pager Ajax
B.Group member WIth pager ax, but seperate from the admin posting.... nice if it was in its own block
C. wiki posting with pager, ajax, and seperate too....
Without composite node I dont know how to speerate the content types in the groups and give them their own pagers.
I hate the Rive of news style.
Any ideas how I can do that without composite layout or panels would be great!
THanks
Comment #5
bengtan commentedHi,
Sorry, you're asking the wrong person. You should file a new issue and ask the Organic Groups developers.
Comment #6
AntiNSA commentedOk I turned this on because I have a better understanding of Drupal, where Im going with it; and how to express myself clearly.
I Have :
1. created a content type, and enabled composite layout.
2. Created my "block" through views.
Here is the big question.
I know I can select the block to use after the content type is created and composite is enabled. I know I can place the blocks into zones.
HOWEVER:
I would like to allow users to:
A: Create the composite enabled content type;
B: Create content from the content type composite enabled
C: Have the Blocks already designed in views be placed into the proper Zone upon creating the content in step B.
D: I guess use a php snipplet to "Put this node into Zone A for XXXXX content type (From Step A)" and place this snipplet into the freshly created block.
I dont want to confuse you by mentioning organic groups and such. Everything works well when I do it by hand, but it needs to be automated.
I hate the river of news, and need to allow this to be done , and I cant forsee my common users enabling blocks and placing them into zones on their own.
Comment #7
bengtan commentedI'm not sure (A) is presently doable, but B, C, D is achievable with 6.x-1.0beta5.
Create the layout you want, and then in the Zones tab of a node, save the layout as a layout set (see the update options at the bottom of the page).
Then go back to edit your content type, where you can now set a default layout set for all new nodes of that content type.
Comment #8
rsvelko commentedMade the title SEO-friendly.
It turns out that Layout sets/templates are present and functional. I have tested them - all works superb. Marking this as fixed.
You can even populate an old node with another node's layout set...
Will look through this issue queue and post/update some documentation and UI enhancements.