<div>Hi all!</div>
<div> </div>
<div> </div>
<div>I'm having some troubles getting an include call to work on both Online and Offline modes.</div>
<div>Let me detail this problem... the purpose is to allow any file under my template to include</div>
<div>a right-side menu whenever the property right-side-menu-uri is filled.</div>
<div>So somewhere on my JSP template I do:</div>
<div> </div>
<div>cms.include(cms.property("right-side-menu-uri", "search"));</div>
<div> </div>
<div> </div>
<div>Consider that my "web files" are located under the folder /sites/default/testing.</div>
<div>Suppose that I want the file /sites/default/testing/index.html to include</div>
<div>the file right_menu.html loccated in the same folder.</div>
<div>If I set the property right-side-menu-uri on index.html with the value /sites/default/testing/right_menu.html</div>
<div>it'll work on Offline mode but not on Online. On the other hand if I set i to /testing/right_menu.html it'll</div>
<div>now work on Online but not on Offline.</div>
<div>Seems like there's some issues with mappings... somehow it seems that while the root folder on</div>
<div>Offline mode is really the root folder, on onlin it's actually /sites/default.</div>
<div>Any hints/sugestions on how to solve this problem?</div>
<div>Thanks in advance.</div>
<div> </div>
<div> </div>
<div>kind regards,<br>-- <br>Vítor Varalonga<br>CIBERBIT - Produções de Software S.A. </div>