Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2010
    Location
    UK
    Posts
    25
    Plugin Contributions
    0

    help question flash flash banner install on Modern Zen [RI07] Template

    Hi, i have just installed zen cart and then installed the Modern Zen [RI07] Template (which is very nice). I am trying to create a flash banner which is located on home page. I have created the swf. file using ALEO slideshow gallery maker and i have placed the code in the tpl_index_default.php the slideshow shows up on the home page over the top of the banner location but not within the borders, my question is, does anyone know how to place my flashslide gallery within the banner borders you can view my site at http://www.samdana.co.uk

    I am new to this so would really appreciate any help given, thanks

  2. #2
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: flash flash banner install on Modern Zen [RI07] Template

    Hi There,

    You should be adding the Flash and your main page content here:

    \includes\languages\english\html_includes\YOUR_TEMPLATE\define_main_page.php

    Example of some workign flash as this can be tiresome.

    <object type="application/x-shockwave-flash" data="shop/flash/YOUR_flashfile.swf" width="400" height="227">
    <param name="movie" value="shop/flash/YOUR_flashfile.swf" />
    <param name="quality" value="high">
    <param name="BGCOLOR" value="#FFFFFF">
    <param name="menu" value="false">
    <param name=wmode value="transparent">
    </object>

    You may have to position the flash in a borderless html table.

    I 'think' your flash will position reasonably well but you probably need minor adjustments with a table.
    That wasn't the plan!

  3. #3
    Join Date
    Apr 2010
    Location
    UK
    Posts
    25
    Plugin Contributions
    0

    Default Re: flash flash banner install on Modern Zen [RI07] Template

    Hi thanks for your response, i tried putting the files in the mentioned location but i couldn`t get it to work so i put the files back in there original location which is my root directory (public_html) for the swf file and the location for the flash code was placed in /public_html/includes/templates/RI_TEMPLATE_07/templates/tpl_index_default.php. Below is a copy of my tpl_index_default.php file so you can see the code in situ. (the flash code has been put in bold on here only to help identify the location of the flash code.) Are there any alterations i need to make in here to get the flash inside the banner thanks.


    <?php
    /**
    * Page Template
    *
    * Main index page<br />
    * Displays greetings, welcome text (define-page content), and various centerboxes depending on switch settings in Admin<br />
    * Centerboxes are called as necessary
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_index_default.php 3464 2006-04-19 00:07:26Z ajeh $
    */
    ?>
    <div class="centerColumn" id="indexDefault">
    <h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>

    <?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
    <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
    <?php } ?>

    <!-- deprecated - to use uncomment this section
    <?php if (TEXT_MAIN) { ?>
    <div id="" class="content"><?php echo TEXT_MAIN; ?></div>
    <?php } ?>-->

    <!-- deprecated - to use uncomment this section
    <?php if (TEXT_INFORMATION) { ?>
    <div id="" class="content"><?php echo TEXT_INFORMATION; ?></div>
    <?php } ?>-->

    <div id="bannersWrapper" class="unitPng">
    <div id="bannersInnerWrapper">
    This banner section is located in tpl_index_default.php
    </div>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="300">
    <param name="movie" value="slide.swf" />
    <param name="quality" value="high" />
    <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <param name="wmode" value="transparent">
    <embed src="slide.swf"
    quality="high"
    type="application/x-shockwave-flash"
    WMODE="transparent"
    width="550"
    height="300"
    allowFullScreen="true"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    allowScriptAccess="always" />
    </object>
    </div>

    <?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
    <?php
    /**
    * get the Define Main Page Text
    */
    ?>
    <div id="indexDefaultMainContent" class="content">
    <div id="indexDefaultContent">
    <?php require($define_page); ?>
    </div>
    </div>
    <?php } ?>

    <?php
    $show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
    while (!$show_display_category->EOF) {
    ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>
    <?php
    /**
    * display the Featured Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
    <?php } ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
    <?php
    /**
    * display the Special Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
    <?php } ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?>
    <?php
    /**
    * display the New Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
    <?php } ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?>
    <?php
    /**
    * display the Upcoming Products Center Box
    */
    ?>
    <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>


    <?php
    $show_display_category->MoveNext();
    } // !EOF
    ?>
    </div>

    thanks for your help so far.

  4. #4
    Join Date
    Apr 2010
    Location
    UK
    Posts
    25
    Plugin Contributions
    0

    Default Re: flash flash banner install on Modern Zen [RI07] Template

    i have just noticed the smilie in the middle of my code. i forgot to disable smilies in my post, at this location the code reads :D

  5. #5
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: flash flash banner install on Modern Zen [RI07] Template

    I can see now what you mean...

    the template your using is different to standard.

    I can see you have it loading over the top of the background image..

    Yuo will need to edit your css stylesheet width to go around the banner:

    #bannersInnerWrapper

    edit the width sizing under this code in your stylesheet as it suits you.
    That wasn't the plan!

  6. #6
    Join Date
    Apr 2010
    Location
    UK
    Posts
    25
    Plugin Contributions
    0

    Default Re: flash flash banner install on Modern Zen [RI07] Template

    Hi, yep thanks got it working now, thanks for the help.

  7. #7
    Join Date
    Mar 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: flash flash banner install on Modern Zen [RI07] Template

    Thanks Muzz, I had same issue and now was successfully been able to place additional banners. Great support!

  8. #8
    Join Date
    Mar 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: flash flash banner install on Modern Zen [RI07] Template

    Quote Originally Posted by cris2234 View Post
    Thanks Muzz, I had same issue and now was successfully been able to place additional banners. Great support!
    Useful post on this topic as well - http://www.zen-cart.com/forum/showthread.php?p=1006108flash chat

 

 

Similar Threads

  1. Modern Zen [RI07] Template
    By yellow1912 in forum Addon Templates
    Replies: 200
    Last Post: 3 Jul 2013, 09:41 PM
  2. Show the slideshow banner in Modern zen template
    By Taoism in forum Addon Templates
    Replies: 1
    Last Post: 18 Mar 2011, 12:10 AM
  3. Modern Zen [RI07] Template
    By firefly143 in forum Addon Templates
    Replies: 7
    Last Post: 7 Oct 2010, 11:59 AM
  4. Custom template - flash banner not showing
    By tracy_natalia in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Mar 2010, 02:53 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR