Add responsive Panel layouts that adapt to the screen using media queries.

Comments

dcmouyard’s picture

Status: Active » Fixed

Added responsive layouts for Panels using the OOCSS grid framework. This theme now has the following layouts:

  • One column
  • Two column
  • Two column bricks
  • Two column stacked
  • Three column 25/50/25
  • Three column 25/50/25 stacked
  • Three column 33/33/33
  • Three column 33/33/33 stacked
  • Three column 50/25/25
  • Four column
  • Four column stacked
piwicasso’s picture

Category: feature » support

Nice to see support for panels. But how do I use a panel?

I see a directory for panels/layouts and the code for the panels. Suppose I want to test the threecol_33_34_33_stacked, what do I do?

Do I open the threecol_33_34_33_stacked.php file, copy and paste the code in it to my page.tpl.php ?

Do I also have to include_once(drupal_get_path('theme', 'mojo') . '/panels/layouts/threecol_33_34_33_stacked/threecol_33_34_33_stacked.inc'); in template.php ?

Some documentation is needed on how to use the panels.

dcmouyard’s picture

You need to install and enable the Panels module.

NodeOne has a great video series on Page Manager and Panels: http://nodeone.se/blogg/learn-page-manager-screencast-series-summed-up.

piwicasso’s picture

OK, so Panels and Page Manager are needed. But how are they used within the Mojo theme or vice-versa? Can you explain the CONNECTION between the two in a few short sentences.

dcmouyard’s picture

When you install and enable Panels, you can create Panel pages and choose a layout to use. You can then assign different blocks/views/etc. to different regions in that layout.

When this theme is enabled and set as the default, extra layouts will appear within Panels.

piwicasso’s picture

Thanks, the explanation helps.

I think a README.txt should be included that lists the dependencies, the modules needed, and an outline on how to use the Mojo theme with these modules.

dcmouyard’s picture

I'll work on documentation once the first official version comes out. A README.txt is definitely on my to-do list!

Panels isn't a dependency, but this theme provides extra layouts for people that use it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.