Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
This repository was archived by the owner on May 13, 2026. It is now read-only.

Add a dropdown selector for extra context parameter #168

Description

@simesy

Hope I'm asking in the right place, I've been looking at the patternlab setup for our drupal integration, but haven't really worked out where this should be done properly.

I want a drop down selector in the main menu (ie next to "Disco" or wherever). I want to populate this with some values.

When the user changes the value, I want to persist the value either as a $_GET in the url, or as a cookie.

The rest I can do easily enough with javascript (eg swap in a stylesheet based on that value) but any other tricks are welcome.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions