Panelizer Variants

Component ID

2354187

Component name

Panelizer Variants

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1838

Component created

Component changed

Component body

As of Oct. 2015 I havent touched the module in quite sometime sadly. Hopefully someone can swing in and assist. Work + D8 initiative + Other contrib modules take up all my time meow, which isn't a horrible thing.

Nov. 2017, It seems a lot of this functionality was ported into Panelizer 6 months ago. Marking this module as obsolete.

Panelizer Variants

This module adds the functionality to have Panelizer Variants based off of List Defaults in Panelizer Full Page Override. What this does is allows you to have multiple layouts for one content type based off a field selection. The functionality doesn't seem to really exist yet. WELL, now it does!

TO USE

  1. Enable the module, make sure your node_view template in page manager is enabled as well. Should be if you are using Panelizer.
  2. Go to your panelizer page: admin/config/content/panelizer
  3. Select all the check boxes for your Panelizer Full Page Override on the content type you are looking to do this with.
  4. After saving, go back up and select list on that content type in Panelizer
  5. Click add in that page_manager list
  6. Add your name of the variant
  7. Set it up. Must select context (use the context you have on your node)

        See Below regarding what you can use for contexts
  8. Go look at your node and this all should be happy.

FANCY TIDBITZ

7.x - alpha Releases
I fixed a few small bugs and also fixed a major glitch when you overrode the panel variant default, all became that override. Now you can have overrides on your full page override variant. FANCY!

Also note, when you revert a panelized page, duplication of displays may happen. I need to fix that one of these days.

In alpha2/3 you can use multiple taxonomy terms and/or taxonomy vocab as contexts. Or just use one, whatever fits your needs.