Page 12 of 33 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 327
  1. #111
    Join Date
    Jul 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Here is the test site where I try this:

    http://theartgangster.com/arttest/

    New Products show the error
    All Products do not show the error but not all products.

    I replaced the queries but still have the error. Hope this helps

  2. #112
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Using one single listing template

    Quote Originally Posted by rooisnor View Post
    Here is the test site where I try this:

    http://theartgangster.com/arttest/

    New Products show the error
    All Products do not show the error but not all products.

    I replaced the queries but still have the error. Hope this helps
    post the header_php.php of your all products here
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #113
    Join Date
    Jul 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Code:
    <?php
    /**
     * products_all  header_php.php
     *
     * @package page
     * @copyright Copyright 2003-2007 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: header_php.php 6912 2007-09-02 02:23:45Z drbyte $
     */
    
      require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    
    
    
      $breadcrumb->add(NAVBAR_TITLE);
    // display order dropdown
      $disp_order_default = PRODUCT_ALL_LIST_SORT_DEFAULT;
      require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_LISTING_DISPLAY_ORDER));
    
      $products_all_array = array();
    
      $listing_sql = "SELECT p.products_type, p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id,
                                        p.products_date_added, m.manufacturers_name, p.products_model, p.products_quantity, p.products_weight, p.product_is_call,
                                        p.product_is_always_free_shipping, p.products_qty_box_status,
                                        p.master_categories_id
                                 FROM " . TABLE_PRODUCTS . " p
                                 LEFT JOIN " . TABLE_MANUFACTURERS . " m ON (p.manufacturers_id = m.manufacturers_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd
                                 WHERE p.products_status = 1
                                 AND p.products_id = pd.products_id
                                 AND pd.language_id = :languageID " . $order_by;
    
      $listing_sql = $db->bindVars($listing_sql, ':languageID', $_SESSION['languages_id'], 'integer');
      //check to see if we are in normal mode ... not showcase, not maintenance, etc
      $show_submit = zen_run_normal();
    
    $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,
      'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,
      'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER,
      'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE,
      'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY,
      'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT,
      'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE);
    
      /*                         ,
      'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW);
      */
      asort($define_list);
      reset($define_list);
      $column_list = array();
      foreach ($define_list as $key => $value)
      {
        if ($value > 0) $column_list[] = $key;
      }
    ?>

  4. #114
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Using one single listing template

    It seems like the template files were not changed.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #115
    Join Date
    Jul 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Using one single listing template

    You mean these files?

    tpl_featured_products_default
    tpl_modules_product_listing
    tpl_products_all_default
    tpl_specials_default

  6. #116
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Using one single listing template

    Yes, for each "page" i remember you have to change at least 1-2 template files. And you have to change them in the correct folder. For example, in your case, your probably have to over ride them in the "classic" folder
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  7. #117
    Join Date
    Jul 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Just for the record and I don't know if that might be the problem.

    The above files I mentioned is located in the package under:

    templates/template_default

    where the original templates are located under

    templates/template_default/templates

    I wasn't sure if your intentions were to overwrite those files?

  8. #118
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Using one single listing template

    In your case they should be placed in
    includes/templates/classic/templates/
    Quote Originally Posted by rooisnor View Post
    Just for the record and I don't know if that might be the problem.

    The above files I mentioned is located in the package under:

    templates/template_default

    where the original templates are located under

    templates/template_default/templates

    I wasn't sure if your intentions were to overwrite those files?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #119
    Join Date
    Jul 2008
    Posts
    192
    Plugin Contributions
    0

    Default Re: Using one single listing template

    Quote Originally Posted by yellow1912 View Post
    In your case they should be placed in
    includes/templates/classic/templates/
    Thank you. I'm using the template_default folder for all the templates and not classic. Actually I don't have any folders listed under the classic folder exept for the style.css

    Does any of the other pages point to /classic/templates or can I use /template_default/templates?

  10. #120
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Using one single listing template

    You should use classic, by default the classic folder is used for overriding purpose.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 
Page 12 of 33 FirstFirst ... 2101112131422 ... LastLast

Similar Threads

  1. Single Listing Template
    By AnglersCorner in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 24 Mar 2015, 01:55 PM
  2. single listing template addon - grid layout for products
    By noyloza in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Nov 2012, 03:45 PM
  3. Column Grid / Single Listing Template Alternative
    By niccol in forum All Other Contributions/Addons
    Replies: 74
    Last Post: 9 Jul 2012, 01:25 PM
  4. Single Listing Template problem
    By gqq0404 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Nov 2010, 08:57 PM
  5. Transfer of one single category from one Zen database to another
    By MeltDown in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 14 Oct 2008, 07:07 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