Closed (fixed)
Project:
Mojo
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2011 at 17:14 UTC
Updated:
24 Nov 2011 at 15:30 UTC
Add responsive Panel layouts that adapt to the screen using media queries.
Comments
Comment #1
dcmouyard commentedAdded responsive layouts for Panels using the OOCSS grid framework. This theme now has the following layouts:
Comment #2
piwicasso commentedNice 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.
Comment #3
dcmouyard commentedYou 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.
Comment #4
piwicasso commentedOK, 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.
Comment #5
dcmouyard commentedWhen 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.
Comment #6
piwicasso commentedThanks, 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.
Comment #7
dcmouyard commentedI'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.