...
- First off, you need to have a MM with the "include source" postfix in an unzipped state.
- Have an available DC - possibly a DC installed and running on your local computerclient's DC (remember, uploading something to it will appear in the customer's DC and MM)
- Host the "include source" MM from your computer via IIS, and hook it up to your DCthe DC mentioned in the previous step (you hook it up via the MM's web.config file).
- Edit the MM's web.config as shown below:
Change
Code Block | ||
---|---|---|
| ||
<add key="UseDist" value="true" /> |
...
Now all your changes to the files "style_overwrites" and the "variables.less" (found in the "MP2" folder), will instantly show up in your local MM upon saving the files. (Meaning that you'll not have to build the entire thing manually)
Info | ||
---|---|---|
| ||
The original variables file is located in ..\[your site's name]\MP2\src\app\mp2\layout\less. Configuring in this will overwrite the default colors supplied to you by Digizuite. It is not recommended to never edit this original file! | ||
Info | ||
| ||
When you're done live editing, you may choose to "flip back the switch" on the UseDist value you changed to be "false" when you started editing. It is, however, not recommended to use the "include source" of a MM, as it can be considered to be more "bulky". Therefore, just copy the main.css file you've generated into a non-"include source" build of the MM. |