pm_viewmode

Categories

Component ID

1141112

Component name

pm_viewmode

Component type

module

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module create a task-handler plugin for ctools page_manager that allows you to render one of the arguments of the given page using a view mode (currently works only for user + node).

Added context- and argument-plugins to allow for dynamic "view mode" selection by means of path arguments (i.e. /path/%node/%view-mode - still todo: access plugin, so that you can limit/validate %view-mode)

Caveat: this module is merely a proof of concept, a testing ground for grokking the ctools/page_manager-api and maybe testing how display suite can work into this; you probably *DO NOT* want to use this module, use the powerful panels.module instead. Really, i repeat: use panels :)