1

For my first Drupal site ever I was thinking of filling the frontpage with a view that has different content types. I'm even mixing page content type with a custom event content type so now I have problems with styling the view because of different content fields in different view items.

Does anybody know of case studies where people have succesfully mixed custom with stock content types because this is becoming a nightmare.

2
  • 1
    This is a question and answer site. I am not sure what exactly you are asking here. You should clarify what exactly the problem is that you're having, displaying multiple content types is not a problem per se.
    – Berdir
    Oct 18, 2011 at 18:45
  • Well my question is do you know of any case studies that have tackled creating views with different content types?
    – Immers
    Oct 25, 2011 at 12:28

1 Answer 1

1

Views gives you enough power to maintain your custom styling. Please check for Views for theme information.

You can theme your different fields, rows, general theme.

You can style your node.tpl.php for general and for specific type node-[type].tpl.php

1
  • Yes I was thinking of using if statements in a template file attached to the view but that may result in more cumbersome way of going about it. For now I found a way around it so I could move on. Probably get back to later
    – Immers
    Oct 25, 2011 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.