This is a discussion on swf into the top within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Dear Sirs, I have the need to install at the top of osCmax 2.0 page a *.swf file which would ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Dear Sirs, I have the need to install at the top of osCmax 2.0 page a *.swf file which would substitute the OSCMAX_top.jpg file. The *.swf file has the same dimensions as the OSCMAX_top.jpg (750x101px). Furthermore it would be very important to me to know how to activate the option which shows in a separate window the image of the selected product when you click on it as it happened with the oscommerce basic version.It doesn't work the same way in the OSCMAX version. Thank you very much in advance for your help. Kipper |
|
#2
| |||
| |||
| to answer the non-swf issue... configuration -> mo pics -> Big Images Directory set this to where your big images are and the popups will popup
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
|
#3
| |||
| |||
| I have a swf file in my header. My header in OSC was made up in 3 sections, the left was 600 wide, the right was 200 wide and the center was 100% (this would allow a min view of 800 wide to work while at the same time stretch to fit any width screen My left image is in fact entirely a swf file. to get it inserted, look at the catalog/templates/your selected template (mine is fallback) and the following file main_page.tpl.php Around line 105/106 you should see the following lines // include i.e. template switcher in every template if(bts_select('common', 'common_top.php')) include (bts_select('common', 'common_top.php')); // BTSv1.5 Under these is where my header detail is. I simply created the header in a seperate files, copied the table information only (left out all the htm stuff at the top and bottom) and pasted it in here. so my tpl file looks like this (just the relevanbt portion) The part in Bold is the actual header itself. you can see it in both OSC here www.beadsneeds.co.uk and in oscmax here www.beadsneeds.co.uk/oscmax ----------------------------------------------------------------------------------- <!-- coolMenu_eof //--> <!-- warnings //--> <?php require(DIR_WS_INCLUDES . 'warnings.php'); ?> <!-- warning_eof //--> <?php // include i.e. template switcher in every template if(bts_select('common', 'common_top.php')) include (bts_select('common', 'common_top.php')); // BTSv1.5 ?> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/beadsneeds-headerback1.jpg"> <tr class="header"> <td align="left" valign="top" background="../images/beadsneeds-headerback1.jpg"><object classid="clsid <param name="movie" value="../images/Movie1.swf"> <param name="quality" value="high"> <embed src="../images/Movie1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="120"></embed> </object></td> <td align="right" valign="top" background="../images/beadsneeds-headerback1.jpg"><img src="../images/beadsneedsheaderback2.jpg" width="200" height="120"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> </table> <!-- header //--> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation">&nbsp;&nbsp;<? php echo $breadcrumb->trail(' &raquo; '); ?></td> |