Block Based layout in Omega 4

Events happening in the community are now at Drupal community events on www.drupal.org.
timoti's picture

Just starting out on omega 4 - which i have to say I'm every impressed by - from the outside - love the code based UI modularisation, SMACSS and serious sass/compass commitment. (I passed by on o3 in favour of zurb foundation)

So O4 is looking good, ut it's PANELS centric, and while I'm trying to be open minded here, I keep coming back to preferring BLOCKS - much out of concerns for my clients - as with http://getlevelten.com/blog/randall-knutson/how-i-learned-stop-worrying-...

What I'd love to know before I get neck deep in O4, is if anyone knows of any fundamental reason why I shouldn't be able to ignore panels and work with blocks on Omega 4 subthemes like I would with any other?

Comments

Blocks still work great

friendlymachine's picture

I've been working on an Omega 4 theme and blocks work just fine. My experience is that you can basically take three approaches to layouts with O4:

1) Use Omega layouts and blocks. This will be pretty much the same as what you're used to. Layouts are essentially versions of page.tpl.php. You place blocks as normal.

2) Use panels.

3) Use Omega layouts with Panels or Display Suite - sort of a hybrid solution.

Omega 4 is super flexible in my experience and blocks are no problem.

John Hannah
Friendly Machine

New to O4

Victoria9's picture

Are there any real handbooks that go deeper than the stuff you find in the Drupal project documentation available in the project pages. I find that very vague and as a result it is hard to get started.

As I understand it, Victoria,

timoti's picture

As I understand it, Victoria, having full documentation has been the main barrier to O4 going out officially as a full release, though i'm not sure if the current skimpy handbook is supposed to count as documentation or not.

If you haven't come across it, yet Matt Smith's excellent walkthough at https://vimeo.com/69736259 as been a great help to me. Audio and visuals are rough but there are links to the slides, and also all the coding principles he refers to including SMACSS, Harry Roberts, BEM etc.

I did have some issues getting started with subtheming - the drush wizard didn't work for me and in the end just carefully cloned ohm - replacing ALL the "ohm" naming in filenames and code.

Documentation really deserves a thread of it's own. I'd love to help but am under-qualified on the php side. Would be happy to polish someone else's drafts though, particularly if they are less confident with english.

one planet, one chance

As I understand it, Victoria,

timoti's picture

As I understand it, Victoria, having full documentation has been the main barrier to O4 going out officially as a full release, though i'm not sure if the current skimpy handbook is supposed to count as documentation or not.

If you haven't come across it, yet Matt Smith's excellent walkthough at https://vimeo.com/69736259 as been a great help to me. Audio and visuals are rough but there are links to the slides, and also all the coding principles he refers to including SMACSS, Harry Roberts, BEM etc.

I did have some issues getting started with subtheming - the drush wizard didn't work for me and in the end just carefully cloned ohm - replacing ALL the "ohm" naming in filenames and code.

Documentation really deserves a thread of it's own. I'd love to help but am under-qualified on the php side. Would be happy to polish someone else's drafts though, particularly if they are less confident with english.

one planet, one chance

Thanks

timoti's picture

Thanks John - much appreciated - will go forth and conquer

one planet, one chance

Thanks

timoti's picture

Thanks John - much appreciated - will go forth and conquer

one planet, one chance

o4 with, Display Suite, Panels, and Panels Everywhere

Victoria9's picture

o4 with, Display Suite, Panels, and Panels Everywhere, how will this combination work?

I am going to try it cause I have nothing to loose here since I am in early stages of my site. Which is going to be a social network focused on getting people connected, where they can view profiles and contact the people that seem interesting. Dating site with a new concept.

You can look at this

friendlymachine's picture

I put together an Omega 4 starter kit that demonstrates one way to do this. I don't use Panels in the kit, but I think you could easily do so.

Here's the post for it:

http://friendlymachine.net/posts/omega-4-starterkit

I'm going to write another post on creating layouts with Omega 4 next week and then get into Display Suite and Panels later. There are a lot of ways to put together a sub-theme so I think experimenting is a good approach right now.

John

John Hannah
Friendly Machine

Omega Framework

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: