Hy guys
I was wondering if it is possible to:

make multiple style (example 3 column, 1, 4 columns)
for a same node type example listing
then the user when he post his listing he can choose how he want it to be displayed.
me as admin I will be the one setting up the different design for the node type , the regular just choose the layout he want

even more he can drag elements to each pane
example dragging the logo pane to the right, the info to the right etc...

I think that will be awesome for people that build user generated content site

Comments

merlinofchaos’s picture

Currently this is not possible without creating a custom variant type (which would be pretty useful).

merlinofchaos’s picture

Status: Active » Fixed

Actually that is not entirely true. You could create all of your layout styles as variants on node_view and use the PHP Code access rule (or write your own access plugin which is actually a MUCH cleaner way to do it) that looks at a CCK field to determine if that layout should be used.

It does mean understanding enough PHP to figure out how to get a CCK field from a node, which is not actually a trivial task, but it is doable for someone with intermediate Drupal skills.

wallbay1’s picture

Status: Fixed » Closed (fixed)