osCmax v2.5 User Manual
Results 1 to 3 of 3

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

      
  1. #1
    Lurker
    Join Date
    Mar 2006
    Posts
    1
    Rep Power
    0


    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

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    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

  3. #3
    Member
    Join Date
    Feb 2006
    Posts
    63
    Rep Power
    0


    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>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •