Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Flash description add on help

    Under the /includes/templates/ folder, what folder names do you have?
    In which folder have you been customizing files for your site?
    Inside that folder you'll have another templates folder, which probably contains a copy of the tpl_product_info_display.php file you installed from the contribution.

    /includes/templates/YOURTEMPLATE/templates/tpl_product_info_display.php


    The FAQ system has a few articles which explain the Overrides system in detail:
    https://www.zen-cart.com/tutorials/i...hp?category=16
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Apr 2005
    Posts
    103
    Plugin Contributions
    0

    Default Re: Flash description add on help

    i did replace that with the original one before this flash description. i copied the two files and restored both files to no avail.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Flash description add on help

    What's your URL ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Apr 2005
    Posts
    103
    Plugin Contributions
    0

    Default Re: Flash description add on help


  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Flash description add on help

    1. you need to delete the /description.swf file from your server
    and
    2. Either:
    --- a) your tpl_product_info_display.php file needs to be replaced from the original, as discussed in previous posts ... namely:
    /includes/templates/sophyblue/templates/tpl_product_info_display.php

    or - b) your product descriptions in your database have been changed and contain
    the embedded code to launch the flash content
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Apr 2005
    Posts
    103
    Plugin Contributions
    0

    Default Re: Flash description add on help

    i think the database is the answer bc like i said before i deleted everything and put the original files back and when i did this the only thing that changed was the text in the description was missing and the flash was still there

  7. #7
    Join Date
    Apr 2005
    Posts
    103
    Plugin Contributions
    0

    Default Re: Flash description add on help

    here this is the description.php file and it changes the database somehow.......


    Zen Cart Flash Description
    Copyright (c) 2006 Wang Aocheng, All Right Reserved.
    http://www.buybaobao.com
    */


    include('includes/configure.php');
    include('includes/database_tables.php');
    $desc_db = @mysql_pconnect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD);
    @mysql_select_db(DB_DATABASE, $desc_db);
    $sql = "select products_description
    from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
    where p.products_status = '1'
    and p.products_id = '" . $_COOKIE['product_id'] . "'
    and pd.products_id = p.products_id
    and pd.language_id = '" . $_COOKIE['language'] . "'";
    $query = mysql_query($sql);
    $desc = mysql_fetch_array($query);
    $value = 'desc=' . rawurlencode($desc['products_description']);
    echo $value;

    ?>

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Flash description add on help

    That's not changing the database ... it's only reading it for display purposes.

    so ... the problem is in your template files.


    Open the Developer Toolkit in the Admin (under Tools). Search for swf or description.swf
    Maybe that'll help you find "which" file contains the reference to it.

    You'll find tips on using Dev Toolkit in the FAQ section ... or just read the instructions on the screen.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Flash description add on help

    I have to restore my website.........

    I wonder who the ############ made this ############## contribution ? free advertising ?
    Why this can be allowed to place in ZEN CART for everyone to download ?

 

 

Similar Threads

  1. PLEASE HELP! - how do add html to product description?
    By what44 in forum Setting Up Categories, Products, Attributes
    Replies: 19
    Last Post: 11 Sep 2009, 03:54 AM
  2. Help moving attribute, price, and add to cart on prod description page
    By MULISH in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 May 2009, 01:39 AM
  3. Want to add a flash media player in the header. Help!
    By hunterspro in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Dec 2007, 03:47 AM
  4. Replies: 5
    Last Post: 20 Nov 2006, 05:57 AM

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