1283 Posts
Bucklash
8 years ago
Topic

Hi folks

I am hoping to get a bit of advice on the 'good way' to think.

 

Scenario:

'User Batman' has a group called Batman.
    He has a member called 'User Robin'.
        User Robin creates a new Superhero article (to be viewed only in the 'Batman' group).

On the same site...

 'User Tintin' has a group called Tintin.
    He has a member called 'User Milou'.
        User Milou creates a new Superhero article (to be viewed only in 'Tintin' group).

 

Requirement:

For each group to have a unique style and layout for the Superhero content type form.

 

Question:

For the Superhero Article content type to appear different depending on the group I am viewing it in, what is the 'good way' to achieve this?

Possibilities might include:

1

Using Positions and Variations overrides - in the tutorial they are global, so to make them local?

 

2

Create the required fields with the padlock unlocked (content type agnostic), then create a content type per group and add fields as required?

 

3

Add some sql or php somewhere to the load the appropriate template.....

 

4

Use purely CSS, though this has limitations

 

Any tips or suggestions would be great :)

Thanks 

Bucklash (Jon)

Get a Book for SEBLOD

2 replies have been added to this thread, and the topic is marked as solved.
You should subscribe to a club in order to read all posts.