I have used your code for the site navbar plugin from the Restaurant distribution. I've also created a panopoly config group/page, again going off your code from restaurant_base.

I have successfully create the config form & page, I am now stuck however. I am trying to get these config settings to sync with the site navbar pane configuration. Basically I am trying to create a config page for the navbar settings, and I want it to sync with both ways with the pane settings screen when editing the site template.

Can you please give me any advice on how I would get the settings from a panopoly config page to sync with the navbar plugin settings?

Comments

shadcn’s picture

If you use the same name for the site config (navbar config in this case) and for panopoly config, it should sync.

shadcn’s picture

Or what you could do is use panoply_config_get to load the variable in the pane settings.

shadcn’s picture

Marking this as fixed. Please reopen if not. Thanks.

shadcn’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.