[SOLVED] IE8 problem, swf in header doesn't run, okay in Firefox, etc

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
dizzyfish
Forum Members
Forum Members
Posts: 11
Joined: Fri Aug 13, 2010 5:29 pm

[SOLVED] IE8 problem, swf in header doesn't run, okay in Firefox, etc

Post by dizzyfish »

I need to get my client's website up...

But, I may have made my own problem? Not being all that great at programming I used Dreamweaver CS4 to get the code to place my swf (flash) header into the template area by going through the "LAYOUT" tab then clicking on "Templates" and editing the template itself and not by using CSS style sheets. Perhaps I should use the stylesheets for this? Anyway what I did works great in all browsers but IE7 and IE8. Go Figure...

Here is where you can see the problems I am having with the home page header. It is not showing up. Also the gallery module pic show is not showing the navigation arrows, etc. I am using the latest of both CMSms and Gallery. I have allowed scripts, etc.

I can deal with php given some time, but I am not familiar with Smarty which I know is a php kinda language. I hear good and bad about it. I have no emotional attachment to it one way or the other...

www.dizzyfishdesign.com/ai-portal/birds

I have checked that IE8 has all the correct permissions, etc. swf files do run in the other pages viewed in IE8 no problem. I do get this notice at the top of IE8 above the header area at times:

string(127) "Smarty error: [in tpl_head:26 line 5]: syntax error: unrecognized tag: padding-top: 30px; (Smarty_Compiler.class.php, line 446)" string(110) "Smarty error: [in tpl_head:26 line 5]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(136) "Smarty error: [in tpl_head:26 line 6]: syntax error: unrecognized tag: zoom: 1; padding-top: 15px; (Smarty_Compiler.class.php, line 446)" string(110) "Smarty error: [in tpl_head:26 line 6]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

Thanks for any pointers.

Found my problem for the header SWF anyway, just sloppy programming. The navigation arrows I put into the modules area...
Last edited by dizzyfish on Sat Sep 04, 2010 6:22 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [SOLVED] IE8 problem, swf in header doesn't run, okay in Firefox, etc

Post by Dr.CSS »

1) If you get a smarty error like that it most times means there is some code in template/page that uses {  } like styles or some such, anything that uses {  }  needs to be in {literal} the code using { } {/literal}...

Direct quote from a default template...
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}...

2) You have a JS call above your tag, NOT allowed...

3) Between the and you call your flash movie, NOT allowed...

4) You have...

       


Birds of a Feather Home Page



     



Untitled document



In the body, NOT allowed...

5) Last but not least at the very bottom of the template you have...



Home   •   Contact Us   •   Disclaimer   •   Privacy Policy   •   Site Map                                                       



You can NOT have anything between the and at the bottom...

I'm surprised the pages render at all...

Validation finds 21 errors...

http://validator.w3.org/check?verbose=1 ... 2Fbirds%2F
Post Reply

Return to “Layout and Design (CSS & HTML)”