Page 1 of 1

[SOLVED] how to control the base element in cmsms

Posted: Sat Apr 13, 2013 7:44 pm
by blackhawk
In CMSMS 1.11.4, if I am in a situation where I need to reference a cmsms site as an iframe within a parent window, how can I change the base element, which is right below the title element, to look like this...

Code: Select all

<base target="_parent" />
Right now, I can't seem to find way to control the base...yet it generates after the DOM loads...

Thanks for any advice

Re: how to control the base element in cmsms

Posted: Sat Apr 13, 2013 8:21 pm
by velden
{metadata showbase='false'}

then create your own base in the template.

[SOLVED] Re: how to control the base element in cmsms

Posted: Sat Apr 13, 2013 9:16 pm
by blackhawk
Beautiful. Thank you! The following worked out perfectly...

Code: Select all

...
<title>{title} | {sitename}</title>
{metadata showbase='false'}
<base target="_parent">
...