Found a workaround:
[code][#assign siteParameters =
cmsfn.contentByPath("/modules/multisite/config/sites/${currentSiteName}/parameters",
"config")!'' /]
[#assign sitesNode = cmsfn.nodeByPath("/modules/multisite/config/sites/",
"config")]
<li>
<select class="form-control" id="city"
onchange="callDomainChange(value)">
[#list cmsfn.children(sitesNode, "mgnl:contentNode") as
child ]
[#if child.name != 'fallback']
<option
value="${ctx.contextPath}/${child.name}/${pageNode}" [#if currentSiteName ==
child.name] selected = "selected"[/#if]>${child.name!'nothing'}</option>
[/#if]
[/#list]
</select>
</li>
[/code]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=c7cb88fd-18e5-45d1-b115-d8b17834e23d
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------