chaudhary 2007-04-01 10:29
instead of USING head_bg.png how i can use .SWF file for the top header. i am using QC 2.0
» Quick.Cart v2.x 2007-04-01 10:45
You have to edit page.tpl and put there some swf file
chaudhary 2007-04-01 11:11
HERE IS MY PAGE.TPL code i donot know where to put .swf <!-- BEGIN HEAD --> <?xml version="1.0" encoding="$config[charset]"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$config[language]"> <head> <title>$sTitleBefore $config[title]</title> <meta http-equiv="Content-Type" content="text/html; charset=$config[charset]" /> <meta name="Description" content="$config[description]" /> <meta name="Keywords" content="$config[keywords]" /> <meta name="Author" content="opensolution.org" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <script type="text/javascript" src="$config[dir_js]standard.js"> </script> <script type="text/javascript"> <!-- var cfBorderColor = "#5d81bd"; var cfLangNoWord = "$lang[cf_no_word]"; var cfLangMail = "$lang[cf_mail]"; var cfWrongValue = "$lang[cf_wrong_value]"; var cfToSmallValue = "$lang[cf_to_small_value]"; var cfTxtToShort = "$lang[cf_txt_to_short]"; //--> </script> <script type="text/javascript" src="$config[dir_js]plugins.js"> </script> <style type="text/css">@import "$config[dir_tpl]$config[template]";</style> <style type="text/css">@import "$config[dir_tpl]plugins.css";</style> <!-- END HEAD --> <!-- BEGIN BODY --> </head> <body> <div class="hide"><a href="#content">Skip Navigation</a></div> <div id="head"> <ul id="menu3"> <li class="l0"><a href="?p=ordersBasket">$lang[my_cart]</a></li> <li class="l0"><a href="?p=productsList">$lang[products]</a></li> $sMenu3 </ul> </div> <div class="clear"> </div> <div id="body"> <div id="column"> <form method="get" action="" id="searchForm"> <fieldset> <input type="hidden" name="p" value="productsList" /> <span><input type="text" size="20" name="sWord" value="$sWord" class="input" maxlength="100" /></span> <em><input type="submit" value="$lang[Search] »" class="submit" /></em> </fieldset> </form> $sMenu1 </div> <div id="content"> <!-- END BODY --> <!-- BEGIN BODY_GALLERY --> <script type="text/javascript" src="$config[dir_js]gallery.js"></script> </head> <body id="bodyGallery"> <!-- END BODY_GALLERY --> <!-- BEGIN FOOT --> </div> <div class="clear"> </div> </div> <div id="foot"> <p> </p> <a href="http://www.opensolutions.org">Powered by OPENSOLUTIONS</a> </div> </body> </html> <!-- END FOOT --> <!-- BEGIN FOOT_GALLERY --> </body> </html> <!-- END FOOT_GALLERY -->
chaudhary 2007-04-01 18:03
is there any body to solve this issue ?
2007-04-02 08:40
chaudhary - put Your SWF code below this: <div id="head"> You must change styles etc to this block to correct displaying swf file
chaudhary 2007-04-02 11:51
i added this code to page.tpl under <div id="head"> and give the path to .swf in default.css but still its showing blak box with cross sign on the top head. <div id="header"> <a href="?p="><img src="$config[dir_files]img/$config[logo_img]" alt="" /></a> </div>
2007-04-02 14:00
chaudhary - oh i see ... You must generate HTML code from Flash program like Adobe Flash and put into page.tpl btw: change <a href="http://www.opensolutions.org">Powered by OPENSOLUTIONS</a> to: <a href="http://www.opensolution.org">Powered by Quick.Cart</a> We are NOT OpenSolutions, we are OpenSolution
chaudhary 2007-04-02 14:25
HI Treewood Still its not showing .swf just white blank area here is URL http://www.chicmystique.co.uk/ page.tpl code <!-- BEGIN HEAD --> <?xml version="1.0" encoding="$config[charset]"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$config[language]"> <head> <title>$sTitleBefore $config[title]</title> <meta http-equiv="Content-Type" content="text/html; charset=$config[charset]" /> <meta name="Description" content="$config[description]" /> <meta name="Keywords" content="$config[keywords]" /> <meta name="Author" content="ebizsols.com" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <script type="text/javascript" src="$config[dir_js]standard.js"> </script> <script type="text/javascript"> <!-- var cfBorderColor = "#5d81bd"; var cfLangNoWord = "$lang[cf_no_word]"; var cfLangMail = "$lang[cf_mail]"; var cfWrongValue = "$lang[cf_wrong_value]"; var cfToSmallValue = "$lang[cf_to_small_value]"; var cfTxtToShort = "$lang[cf_txt_to_short]"; //--> </script> <script type="text/javascript" src="$config[dir_js]plugins.js"> </script> <style type="text/css">@import "$config[dir_tpl]$config[template]";</style> <style type="text/css">@import "$config[dir_tpl]plugins.css";</style> <!-- END HEAD --> <!-- BEGIN BODY --> </head> <body> <div class="hide"><a href="#content">Skip Navigation</a></div> <div id="head"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="750" height="198" id="top" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="img/top.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <embed src="top.swf" quality="high" bgcolor="#ffffff" width="750" height="198" name="top" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <ul id="menu3"> <li class="l0"><a href="?p=ordersBasket">$lang[my_cart]</a></li> <li class="l0"><a href="?p=productsList">$lang[products]</a></li> $sMenu3 </ul> </div> <div class="clear"> </div> <div id="body"> <div id="column"> <form method="get" action="" id="searchForm"> <fieldset> <input type="hidden" name="p" value="productsList" /> <span><input type="text" size="20" name="sWord" value="$sWord" class="input" maxlength="100" /></span> <em><input type="submit" value="$lang[Search] »" class="submit" /></em> </fieldset> </form> $sMenu1 </div> <div id="content"> <!-- END BODY --> <!-- BEGIN BODY_GALLERY --> <script type="text/javascript" src="$config[dir_js]gallery.js"></script> </head> <body id="bodyGallery"> <!-- END BODY_GALLERY --> <!-- BEGIN FOOT --> </div> <div class="clear"> </div> </div> <div id="foot"> <p> </p> <a href="http://www.opensolution.org">Powered by Quick.Cart</a> </div> </body> </html> <!-- END FOOT --> <!-- BEGIN FOOT_GALLERY --> </body> </html> <!-- END FOOT_GALLERY -->
2007-04-02 15:48
chaudhary - eh ... did You think what are You doing? You have link to top.swf and to img/top.swf but i dont see any files in img/ and main directories. Correct link to file
chaudhary 2007-04-02 16:41
Hi Treewood here is that file http://www.chicmystique.co.uk/templates/img/top.swf I corrected the link still its not showing .swf file http://www.chicmystique.co.uk/ <!-- BEGIN HEAD --> <?xml version="1.0" encoding="$config[charset]"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$config[language]"> <head> <title>$sTitleBefore $config[title]</title> <meta http-equiv="Content-Type" content="text/html; charset=$config[charset]" /> <meta name="Description" content="$config[description]" /> <meta name="Keywords" content="$config[keywords]" /> <meta name="Author" content="ebizsols.com" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <script type="text/javascript" src="$config[dir_js]standard.js"> </script> <script type="text/javascript"> <!-- var cfBorderColor = "#5d81bd"; var cfLangNoWord = "$lang[cf_no_word]"; var cfLangMail = "$lang[cf_mail]"; var cfWrongValue = "$lang[cf_wrong_value]"; var cfToSmallValue = "$lang[cf_to_small_value]"; var cfTxtToShort = "$lang[cf_txt_to_short]"; //--> </script> <script type="text/javascript" src="$config[dir_js]plugins.js"> </script> <style type="text/css">@import "$config[dir_tpl]$config[template]";</style> <style type="text/css">@import "$config[dir_tpl]plugins.css";</style> <!-- END HEAD --> <!-- BEGIN BODY --> </head> <body> <div class="hide"><a href="#content">Skip Navigation</a></div> <div id="head"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="750" height="198" id="top" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="templats/img/top.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <embed src="templates/img/top.swf" quality="high" bgcolor="#ffffff" width="750" height="198" name="top" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <ul id="menu3"> <li class="l0"><a href="?p=ordersBasket">$lang[my_cart]</a></li> <li class="l0"><a href="?p=productsList">$lang[products]</a></li> $sMenu3 </ul> </div> <div class="clear"> </div> <div id="body"> <div id="column"> <form method="get" action="" id="searchForm"> <fieldset> <input type="hidden" name="p" value="productsList" /> <span><input type="text" size="20" name="sWord" value="$sWord" class="input" maxlength="100" /></span> <em><input type="submit" value="$lang[Search] »" class="submit" /></em> </fieldset> </form> $sMenu1 </div> <div id="content"> <!-- END BODY --> <!-- BEGIN BODY_GALLERY --> <script type="text/javascript" src="$config[dir_js]gallery.js"></script> </head> <body id="bodyGallery"> <!-- END BODY_GALLERY --> <!-- BEGIN FOOT --> </div> <div class="clear"> </div> </div> <div id="foot"> <p> </p> <a href="http://www.opensolution.org">Powered by Quick.Cart</a> </div> </body> </html> <!-- END FOOT --> <!-- BEGIN FOOT_GALLERY --> </body> </html> <!-- END FOOT_GALLERY -->
2007-04-03 08:59
chaudhary - templats/img/top.swf maybe check first Your code and after ask? There is not directory: templats
chaudhary 2007-04-03 11:16
Treewood thanks for your reply i am just stuck please can you explain it ??
2007-04-03 13:49
chaudhary - ahh... change this: <param name="movie" value="templats/img/top.swf" /> to this: <param name="movie" value="templates/img/top.swf" />
BORNEO 2009-03-05 15:21
treewood, i got 2 questions for you on this issue... but since now already version 3.3, then it might be different a little bit. 1: If we changed <div id="head">flash object</div> without changing anything on the CSS, will the CSS make errors on the pages when they're run...? 2: what value of "wmode" is best for the swf movie considering the header might be covered by the lightbox or other opened windows...? I know a different value (transparent, opaque, window) produce different effect. Hope to hear from you soon, treewod...