Page 5 of 24 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 235
  1. #41
    Join Date
    Oct 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    I am new to zencart and flash. And I am desperate need of help. http://www.upcctv.com please take a look of my website.
    1. How can I get rid of the tagline here and blue thingy
    2. how can I maximize my flash to the fullest..
    I am banging my head on the wall please help thanks!
    sorry I need step by step instructions please!

  2. #42
    Join Date
    Nov 2007
    Location
    UK
    Posts
    13
    Plugin Contributions
    0

    Default Re: Problem with Flash Header


    Hope someone can help as this is driving me nuts!!!!

    On my site at www.groovy-stuff.co.uk, with the help of this thread I have installed a flash header which I am very pleased with.

    I now want to move onto my banner ad on the right of the screen to make it a bit more 'dynamic'! The sidebox I am trying to use is sideboxes/banner_box2.

    I have the swfobject.js file installed in my includes/templates/template_default/jscript folder.
    I have placed my flash file that I want to use for the sidebox in the following... includes/templates/template_default/images/sidebox1.swf

    Now I am trying to edit the file ... includes/templates/template_default/sideboxes/tpl_banner_box2.php

    The code I am using to call the script is as previously described on this thread....

    <script type="text/javascript" src="includes/templates/template_default/jscript/swfobject.js"></script>
    <div id="flashcontent">
    This text is replaced by the SIDEBOXES_X Flash movie.
    </div>
    <script type="text/javascript">
    var so = new SWFObject("includes/templates/template_default/images/sidebox1.swf", "YOUR_SIDEBOXES_X", "150", "220", "7", "#000000");
    so.write("flashcontent");
    </script>

    However, for the life of me I just cannot figure out what it is I am supposed to be editing in the tpl_banner_box2.php file! Or even if that is the file I should be editing!!!?????!!!!

    The content of the file tpl_banner_box2.php is:

    <?php
    /**
    * Side Box Template
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 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_banner_box2.php 2982 2006-02-07 07:56:41Z birdbrain $
    */
    $content = '';
    // if no active banner in the specified banner group then the box will not show

    if ($banner = zen_banner_exists('dynamic', $banner_box_group)) {
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
    $content .= zen_display_banner('static', $banner);
    $content .= '</div>';
    }

    ?>

    Many thanks for anyone that can help?

  3. #43
    Join Date
    Nov 2007
    Location
    UK
    Posts
    13
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    ignore above! all sorted now!

  4. #44
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,136
    Plugin Contributions
    11

    Default Re: Problem with Flash Header

    And you did........

  5. #45
    Join Date
    Nov 2007
    Location
    UK
    Posts
    13
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    This may look like I know what I'm talking about so please don't bombard me with questions and such like - I am new to this (as you will see from the number of posts I have made) but like to play around and see what I am able to do!!!!

    Following from my earlier thread the problem I was having was with the banner_box2 and not knowing where to put the code - what to remove, keep etc. As a work around I installed the blank sidebox add-in.

    Entered the following into the includes/templates/template_default/sideboxes/tpl_blank_sidebox.php file:

    <?php
    /**
    * blank sidebox - allows a blank sidebox to be added to your site
    *
    * @package templateSystem
    * @copyright 2007 Kuroi Web Design
    * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
    */

    $content = '';
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';

    // Replace the text and HTML tags between the apostophes on lines 19 and 20.
    // Use as many or as few lines using this model as you need for your custom content.
    // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
    // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
    $content .= '<script type="text/javascript" src="includes/templates/template_default/jscript/swfobject.js"></script>
    <div id="flashcontent_01">
    groovy-stuff.co.uk
    </div>
    <script type="text/javascript">
    var so = new SWFObject("includes/templates/template_default/images/sidebox1.swf", "tpl_blank_sidebox", "150", "220", "7", "#FFFFFF");
    so.write("flashcontent_01");
    </script> ';
    $content .= '</div>';
    ?>


    You will notice I have changed the "flashcontent" to be "flashcontent_01" as previously it was appearing in the header bar (see earlier comments on this thread). Also you need to watch the sizes (mine is set at 150px width x 220px height and a background colour of white but clearly you can change that.

    This was using the swfobject.js file already downloaded (see notes earlier in thread).

    Finally in the Layout Boxes Controller, de-activated the banners in banner manager and switched OFF the sidebxes_bannerbox2. Then activated the sideboxes_blanksidebox and hey presto!

    The ONLY problem I am having is that it is not centred in the column but I can live with that until I can find out how to sort that out!

    Hope this helps someone else as it took me flippin hours to figure it out and could not find anything anywhere on the forum about how to do it!!! I know nothing about php or java and little 'true' HTML so I'm quite pleased with myself!!!???!!!!

  6. #46
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default flash file in center of home page

    I have read so many posts here for hour after hour, but I still can't get my flash file to work.

    I have a site at www.joescigarshop.com/shop

    You will see that it is showing a white box in the middle where my flash file should be. The flash file is simply not loading.

    I have my flash swf file here: includes/templates/theme054/images/carsousel.swf

    I also have the html document located in the same images folder.

    Also, I have the "runactivecontent" js file in the js folder.

    I also downloaded and added the swfobject.js file to this folder.

    But, as you can see, the flash is not working. What do I need to do to fix this? I am in DESPERATE need! Any help is much appreciated.

    Derwin

  7. #47
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,136
    Plugin Contributions
    11

    Default Re: Problem with Flash Header

    Warning Will Robinson, Warning!

    Template Monster Alert!

    Since you've got it, I guess you'll have to try to live with it but your best bet is to create an html doc, insert it into your define_main_page (IF it's still there) and use that to load your swf.

    It may be as simple as adding
    <object width="550" height="400">
    <param name="movie" value="carousel.swf">
    <embed src="carousel.swf" width="550" height="400">
    </embed>
    </object>
    You would also need to experiment where the carousel.swf file should reside but (WAG) I think the root would be best.

    Google "Insert Flash in HTML" and you'll find many examples.

    The advantage of using the define_main_page is that the system is already looking for html versus php from that template.

  8. #48
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    How do I add the html document to the define_main_page file? I added the code to this file, but nothing changed. How do I add the html file to it?

    Thanks for your help!

    Derwin

  9. #49
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Problem with Flash Header

    Also, I have the "runactivecontent" js file in the js folder.
    I also downloaded and added the swfobject.js file to this folder.
    Those files are not being loaded...browser, view source..
    stylesheets loading ok...those js files should be loading in
    same place as stylesheets..they currently are not.

  10. #50
    Join Date
    Dec 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Problem with Flash Header

    I had the stylesheet located in the .css folder. So now I just put the 2 .js files in this folder as I thought you suggested, but still no change.

    My hair is now officially falling out.

    I really need help on this. Any other suggestions?

    Derwin

 

 
Page 5 of 24 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. v150 Problem with flash header size
    By GodfatherAntiques in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 21 Mar 2012, 10:12 AM
  2. Problem with flash on main page (not header)
    By sartor in forum General Questions
    Replies: 7
    Last Post: 14 Jan 2009, 10:59 AM
  3. Once again problem with Flash header
    By craigpowell in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Sep 2008, 01:42 AM
  4. Problem with Flash Header pt2
    By hondauser85 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Jun 2007, 04:03 PM
  5. help with flash header
    By wizzard in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Jun 2007, 05:58 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