I have imported the Horizontal_dropdown.xml theme and I am getting this smarty error on the top:
string(83) "Smarty error: unable to read resource: "globalcontent:JavaScript for IE page width"" string(83) "Smarty error: unable to read resource: "globalcontent:JavaScript for IE page width"" string(83) "Smarty error: unable to read resource: "globalcontent:JavaScript for IE page width"" string(83) "Smarty error: unable to read resource: "globalcontent:JavaScript for IE page width""
of all my pages:
http://www.theshoppingbaglady.com/index.php?page=news
I have noticed several people have requested a fix in the Full Themes posting of this theme. I'd really like to use it ... can someone help me out here?
Thanks so very, very much.
J4 Web
ps I fixed this post as I referenced the wrong theme ... thank you.
[Solved] Smarty Error - HorizontalDrop Down Theme and Javascript for IE page wid
[Solved] Smarty Error - HorizontalDrop Down Theme and Javascript for IE page wid
Last edited by j4web on Tue Sep 02, 2008 4:03 pm, edited 1 time in total.
Re: Smarty Error - HorizontalDrop Down Theme and Javascript for IE page width
Can you post the contents of your template? - especially the head portion.
Also, you're setting your doctype to HTML 4.01 Transitional. You should be using XHTML 1.0 Transitional.
Nullig
Also, you're setting your doctype to HTML 4.01 Transitional. You should be using XHTML 1.0 Transitional.
Nullig
Re: Smarty Error - HorizontalDrop Down Theme and Javascript for IE page width
I didn't set it at all ... this is the original template...here's the code ...
{global_content name='JavaScript for IE page width'}
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
Haiti Kids Foundation - {title}
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{global_content name='JavaScript for IE page width'}
thanks for any assistance,
J4 Web
{global_content name='JavaScript for IE page width'}
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
Haiti Kids Foundation - {title}
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{global_content name='JavaScript for IE page width'}
thanks for any assistance,
J4 Web
Re: Smarty Error - added XHTML transitional
I changed it to XHTML Transitional -- made the error codes worse but here it is now:
{global_content name='JavaScript for IE page width'}
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
Haiti Kids Foundation - {title}
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{global_content name='JavaScript for IE page width'}
Thanks,
J4 Web
{global_content name='JavaScript for IE page width'}
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
Haiti Kids Foundation - {title}
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{global_content name='JavaScript for IE page width'}
Thanks,
J4 Web
Re: Smarty Error - HorizontalDrop Down Theme and Javascript for IE page width
I am back again for a bit ... anyone able to help me on this?
J4 Web
J4 Web
Re: Smarty Error - HorizontalDrop Down Theme and Javascript for IE page width
Why put JS in a GBC? Just put it in the template or include it as a .js file (in the head).
Furthermore you are including the GCB twice:
Not sure if it helps solve your problem, but give it a try.
Furthermore you are including the GCB twice:
Code: Select all
{global_content name='JavaScript for IE page width'}
<head>
...
{global_content name='JavaScript for IE page width'}
</head>Re: Smarty Error - HorizontalDrop Down Theme and Javascript for IE page width
Remove the call for the global content block as this site/template is set for a fixed width, this call is just something the person that made the template put in the head and didn't realize exporting a template will not bring any GCB with it...
And you can remove any call for the IE min/max width calls...
And you can remove any call for the IE min/max width calls...
[solved] Smarty Error - HorizontalDrop Down Theme and Javascript for IE
I did this and it did fix it. For others, the code in my head is now this:
The Shopping Bag Lady - {title}
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
Thanks all for your assistance,
J4 Web
The Shopping Bag Lady - {title}
{metadata}
{stylesheet}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
Thanks all for your assistance,
J4 Web
Re: [Solved] Smarty Error - HorizontalDrop Down Theme and Javascript for IE page
Still no menu in Firefox 2.**** and you need to change the call for the script...
</__script
</__script


