osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

swf into the top

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-28-2006, 03:00 PM
Lurker
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kipper
Default swf into the top

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-28-2006, 06:49 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 444
Thanks: 3
Thanked 75 Times in 70 Posts
Rep Power: 6
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default RE: swf into the top

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-30-2006, 03:11 PM
Member
 
Join Date: Feb 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
spottedhaggis
Default RE: swf into the top

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

-----------------------------------------------------------------------------------
&lt;!-- coolMenu_eof //-->
&lt;!-- warnings //-->
&lt;?php require(DIR_WS_INCLUDES . 'warnings.php'); ?>
&lt;!-- warning_eof //-->
&lt;?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
?>
&lt;table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/beadsneeds-headerback1.jpg">
&lt;tr class="header">
&lt;td align="left" valign="top" background="../images/beadsneeds-headerback1.jpg">&lt;object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="120">
&lt;param name="movie" value="../images/Movie1.swf">
&lt;param name="quality" value="high">
&lt;embed src="../images/Movie1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="120">&lt;/embed>
&lt;/object>&lt;/td>
&lt;td align="right" valign="top" background="../images/beadsneeds-headerback1.jpg">&lt;img src="../images/beadsneedsheaderback2.jpg" width="200" height="120">&lt;/td>
&lt;/tr>

&lt;/table>
&lt;table border="0" width="100%" cellspacing="0" cellpadding="1">
&lt;/table>
&lt;!-- header //-->
&lt;table border="0" width="100%" cellspacing="0" cellpadding="1">
&lt;tr class="headerNavigation">
&lt;td class="headerNavigation">&amp;nbsp;&amp;nbsp;&lt;? php echo $breadcrumb->trail(' &amp;raquo; '); ?>&lt;/td>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 05:58 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax