Page 1 of 1

[Solved] Smarty error using bluewave.zip template

Posted: Wed Jan 30, 2008 3:53 am
by emt
I downloaded bluewave.zip from themes.cmsmadesimple.org and installed. But I'm seeing an error at the top of each page.

Error is:

string(83) "Smarty error: unable to read resource: "globalcontent:JavaScript for IE page width""

So I've searched this forum and Googled around looking for a solution. I found {global_content name='JavaScript for IE page width'} in the bluewave template and some refernces to it being in the Global Content Block and that I should add it there. But I don't actually know what to add. Can someone explain?

Oh, using CMSMS 1.2.3.

Marshall

Re: Smarty error using bluewave.zip template

Posted: Wed Jan 30, 2008 6:09 am
by Dr.CSS
If you look at a default install template you will see a line in the head...


{literal}

=b){nw=b+"px";}if(w



#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}


{/literal}
{* The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Left sidebar + 1 column" *}

You can either paste this into the head or go to GCB, Content > Global Content Blocks, and put it in there and name it as it appears in the template...

Re: [Solved] Smarty error using bluewave.zip template

Posted: Thu Jan 31, 2008 1:47 am
by emt
And it worked once I remembered to "Turn WYSIWYG on/off" - dag blame TinyMCE!

Thank you, that's exactly what I needed.  :)