Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Module suggestion: Context condition theme #659

Open
rooby opened this issue Mar 6, 2018 · 1 comment
Open

Module suggestion: Context condition theme #659

rooby opened this issue Mar 6, 2018 · 1 comment

Comments

@rooby
Copy link

rooby commented Mar 6, 2018

A common use case for displaying blocks is displaying blocks on all public facing pages, but not admin pages.
Since there are a number of different paths that use the admin theme, path is not ideal for doing this, the most useful way to do it is by tying into which theme is being loaded.

You can set blocks with the default Drupal core block system however you get stuck if you want to show the same block on the page multiple times.

The context module allows you to add the same block in multiple contexts, however you cannot use the current theme as a condition unless you have the Context condition theme module.

That module would not upset any other existing GovCMS functionality as it is a very small module that provides one singe feature and works in a "disabled by default" manner.

@invisigoth
Copy link
Contributor

It appears to me this module shouldn't have any implication on the stability of the platform. I would recommend you to create a pull request to include this module so it can be reviewed, tested and considered for future govCMS releases.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants