[SOLVED] how to control the base element in cmsms

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

[SOLVED] how to control the base element in cmsms

Post 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
Last edited by blackhawk on Sat Apr 13, 2013 9:17 pm, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: how to control the base element in cmsms

Post by velden »

{metadata showbase='false'}

then create your own base in the template.
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

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

Post by blackhawk »

Beautiful. Thank you! The following worked out perfectly...

Code: Select all

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

Return to “[locked] Installation, Setup and Upgrade”