Change the settings files of another root
Prepare the menu list in a copy of the installation before changing the live one.
Life cycle: Migrate, example 10 of 34. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
Not in the Layouts editor.
With settings
./console exp:ini add menu.ini/SiteInfo/MainMenuID[] 192 siteaccess:site --root=/path/to/copy --dry-run.- The scope must exist in that root: in a fresh checkout of the repository, which has no
settings/siteaccess/site/of the installation, the test answered Refused: Unknown siteaccess 'site' (not in settings/siteaccess/ nor in AvailableSiteAccessList). Extension scopes work in a checkout of the extension.
Which to choose
Useful for preparing releases.
Check
- The copy's file has the change; the running site is unchanged.
Related pages
- exp:ini for site builders
- Migrate examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.