Closed (fixed)
Project:
Browsersync
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Jul 2014 at 04:58 UTC
Updated:
21 Aug 2015 at 07:14 UTC
Jump to comment: Most recent
This patch allows a user to configure the BrowserSync settings via the UI. The settings are theme specific and are accessed via the theme settings page (Appearance > Settings > Theme Name). It allows a fallback to the settings.php configuration if required. The settings: browsersync_enabled_for_nonadmin , browsersync_enabled_for_admin and path based options have been removed as it is now theme specific rather than path specific.
The readme has also been updated to reflect the new configuration instructions.
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-Add-a-settings-ui.patch | 11.86 KB | jez500 |
Comments
Comment #2
jorgegc commentedHi @jez500,
Now that Browsersync is stable enough and we know exactly what we need to configure it, I finally managed to get the settings out of the settings.php!
Thanks
Comment #3
marcvangendThanks. I like the fact that this is now configurable from the UI, but it seems that there are less settings available.
What happened to settings like browsersync_version, browsersync_enabled_for_nonadmin and browsersync_enabled_for_admin? Are these still available through code, have they become obsolete, or were some features removed?
Comment #4
jorgegc commentedHi @marcvangend,
All the settings have been moved from the settings.php file to the theme settings. During the process all the variables that we had because BrowserSync 0.9.x was still supported (e.g browsersync_version) were removed too as they are no longer needed as of 1.x.
As for browsersync_enabled_for_nonadmin and browsersync_enabled_for_admin, they were just a quick workaround the fact that we didn't have these settings nicely exposed through the UI, but now we do.
If there is functionality that you are missing please create a ticket for it or jump on IRC and we will discuss :-)
Comment #5
marcvangendThanks for the quick reply and explanation, Jorge. I didn't actually miss functionality yet, I was just curious where the extra settings went. In case I do encounter missing features (or think of nice-to-have new ones :-)), I'll let you know.