Scf.Includes.AddFolder() Example
Using one single method, you can easily add all client includes in a given folder to their respective placeholders.
| Smartsite SXML |
|
|---|---|
{scf.includes.addfolder(MY_DESIGN_FOLDER, 'ClientData')}
|
|
| Example Result |
|
|---|---|
<!--
This will add all includes in the subfolder 'ClientData'
under the cms item with the code MY_DESIGN_FOLDER
to the cssinclude and javascriptinclude placeholders,
unless the 'Add to Global include' flag is set.
-->
|
|