Page 43 of 63 FirstFirst ... 33414243444553 ... LastLast
Results 421 to 430 of 623
  1. #421
    Join Date
    Jan 2014
    Posts
    62
    Plugin Contributions
    0

    Default Re: Tableau Responsive Theme - Support Thread

    Hi everyone, long time since I retouched my heavily customized tableau. this morning i've installed the new one, over a 1.5.4 zencart, using old patched database.

    before I go into extra custom work, just got this very odd problem. surely is just something in the settings I am missing...

    Ok, in my old version (1.2) the main category page shows all the subcategories

    http://www.londonsatman.co.uk/italian-satellite-tv-77/

    with the same settings, but on the latest version of the template, the category main page show all the products present in the subcategories

    http://www.londonsatman.co.uk/zencar...index&cPath=77

    I would like the main category page to show subcategories, and also a small thumb for it. I remember when I tried to update a few months ago this was the result but as I was very busy I've abandoned the upgrade, but can't manage to have it now

    here are a few conf settings:

    Layout Settings

    Main Page - Opens with Category 0
    Categories - Always Open to Show SubCategories 1



    many thanks for your time in reading this.
    Last edited by satello; 4 Oct 2015 at 11:16 AM.

  2. #422
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    288
    Plugin Contributions
    3

    Default Re: Tableau Responsive Theme - Support Thread

    Quote Originally Posted by vanhorn_s View Post
    Thank you for this. Where are the names defined for this?
    On my test site, I still have HEADER_TITLE_INFORMATION next to categories, rather than information, also HEADER_TITLE_CUSTOMER_SERVICE, and TITLE_GENERAL.

    redsautorehab.com/newzen
    In the tableau_defines.php file that is attached... That files goes in the catalog\includes\languages\english\extra_definitions\tableau folder.
    I will revise the complete zip file as well.

    tableau_defines.zip

  3. #423
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    288
    Plugin Contributions
    3

    Default Re: Tableau Responsive Theme - Support Thread

    This is the revised zip file for the information tabs

    information_tab.zip

  4. #424
    Join Date
    Dec 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Tableau Responsive Theme - Support Thread

    Under Facebook Like Button Configuration...it only gives me a version number (1.3.2). Should there be more options there?

    Also, on the product page, the Facebook text "Be the first of your friends to like this." runs behind the G+ and Pinterest buttons...any way to change that?

    Finally...when I view the source code of any page in my web browser, the Categories menu includes links to all the products in the categories that do not have sub categories. These product links do not show up in the actual menu. Is that how it is supposed to be?

  5. #425
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    288
    Plugin Contributions
    3

    Default Re: Tableau Responsive Theme - Support Thread

    Quote Originally Posted by satello View Post
    Hi everyone, long time since I retouched my heavily customized tableau. this morning i've installed the new one, over a 1.5.4 zencart, using old patched database.

    before I go into extra custom work, just got this very odd problem. surely is just something in the settings I am missing...

    Ok, in my old version (1.2) the main category page shows all the subcategories

    http://www.londonsatman.co.uk/italian-satellite-tv-77/

    with the same settings, but on the latest version of the template, the category main page show all the products present in the subcategories

    http://www.londonsatman.co.uk/zencar...index&cPath=77

    I would like the main category page to show subcategories, and also a small thumb for it. I remember when I tried to update a few months ago this was the result but as I was very busy I've abandoned the upgrade, but can't manage to have it now

    here are a few conf settings:

    Layout Settings

    Main Page - Opens with Category 0
    Categories - Always Open to Show SubCategories 1



    many thanks for your time in reading this.
    This is caused by a change in the includes\modules\pages\index\main_template_vars.php file
    To switch back to the old way first uncomment lines 64 THROUGH 123 and line 126.
    Code:
      /*$sql = "SELECT cd.categories_name, c.categories_image
              FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
              WHERE      c.categories_id = :categoriesID
              AND        cd.categories_id = :categoriesID
              AND        cd.language_id = :languagesID
              AND        c.categories_status= '1'";
    
      $sql = $db->bindVars($sql, ':categoriesID', $current_category_id, 'integer');
      $sql = $db->bindVars($sql, ':languagesID', $_SESSION['languages_id'], 'integer');
      $category = $db->Execute($sql);
    
      if (isset($cPath) && strpos($cPath, '_'))
      {
        // check to see if there are deeper categories within the current category
        $category_links = array_reverse($cPath_array);
        for($i=0, $n=sizeof($category_links); $i<$n; $i++)
        {
          $sql = "SELECT count(*) AS total
                  FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
                  WHERE      c.parent_id = :parentID
                  AND        c.categories_id = cd.categories_id
                  AND        cd.language_id = :languagesID
                  AND        c.categories_status= '1'";
    
          $sql = $db->bindVars($sql, ':parentID', $category_links[$i], 'integer');
          $sql = $db->bindVars($sql, ':languagesID', $_SESSION['languages_id'], 'integer');
          $categories = $db->Execute($sql);
    
          if ($categories->fields['total'] < 1)
          {
            // do nothing, go through the loop
          } else {
            $categories_query = "SELECT c.categories_id, cd.categories_name, c.categories_image, c.parent_id
                                 FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
                                 WHERE      c.parent_id = :parentID
                                 AND        c.categories_id = cd.categories_id
                                 AND        cd.language_id = :languagesID
                                 AND        c.categories_status= '1'
                                 ORDER BY   sort_order, cd.categories_name";
    
            $categories_query = $db->bindVars($categories_query, ':parentID', $category_links[$i], 'integer');
            $categories_query = $db->bindVars($categories_query, ':languagesID', $_SESSION['languages_id'], 'integer');
            break; // we've found the deepest category the customer is in
          }
        }
      } else {
        $categories_query = "SELECT c.categories_id, cd.categories_name, c.categories_image, c.parent_id
                             FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
                             WHERE      c.parent_id = :parentID
                             AND        c.categories_id = cd.categories_id
                             AND        cd.language_id = :languagesID
                             AND        c.categories_status= '1'
                             ORDER BY   sort_order, cd.categories_name";
    
        $categories_query = $db->bindVars($categories_query, ':parentID', $current_category_id, 'integer');
        $categories_query = $db->bindVars($categories_query, ':languagesID', $_SESSION['languages_id'], 'integer');
      }
      $categories = $db->Execute($categories_query);
      $number_of_categories = $categories->RecordCount();
      $new_products_category_id = $current_category_id;*/
    
      /////////////////////////////////////////////////////////////////////////////////////////////////////
      //$tpl_page_body = 'tpl_index_categories.php';
      /////////////////////////////////////////////////////////////////////////////////////////////////////
    Next comment out this section (129-196):
    Code:
    //BOF SHOW ALL PRODUCTS FOR PARENT CATEGORIES
       if (SHOW_PRODUCT_INFO_ALL_PRODUCTS == '1') {
        // set a category filter
        $new_products_category_id = $cPath;
      } else {
        // do not set the category
      }
      // create column list
      $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;
      }
    
      $select_column_list = '';
    
      for ($i=0, $n=sizeof($column_list); $i<$n; $i++)
      {
        switch ($column_list[$i])
        {
          case 'PRODUCT_LIST_MODEL':
          $select_column_list .= 'p.products_model, ';
          break;
          case 'PRODUCT_LIST_NAME':
          $select_column_list .= 'pd.products_name, ';
          break;
          case 'PRODUCT_LIST_MANUFACTURER':
          $select_column_list .= 'm.manufacturers_name, ';
          break;
          case 'PRODUCT_LIST_QUANTITY':
          $select_column_list .= 'p.products_quantity, ';
          break;
          case 'PRODUCT_LIST_IMAGE':
          $select_column_list .= 'p.products_image, ';
          break;
          case 'PRODUCT_LIST_WEIGHT':
          $select_column_list .= 'p.products_weight, ';
          break;
        }
      }
      // always add quantity regardless of whether or not it is in the listing for add to cart buttons
      if (PRODUCT_LIST_QUANTITY < 1) {
        $select_column_list .= 'p.products_quantity, ';
      }
    
      // set the product filters according to selected product type
      $typefilter = 'default';
      if (isset($_GET['typefilter'])) $typefilter = $_GET['typefilter'];
      require(zen_get_index_filters_directory($typefilter . '_filter.php'));
    
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////
      $tpl_page_body = 'tpl_index_product_list.php';
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////
       
       //EOF SHOW ALL PRODUCTS FOR PARENT CATEGORIES
    This will revert to sub-category photos showing when a parent category is selected.

  6. #426
    Join Date
    Jan 2014
    Posts
    62
    Plugin Contributions
    0

    Default Re: Tableau Responsive Theme - Support Thread

    YOU ARE A STAR, YOU REALLY ARE!!!

    Thanks for your help, this has been bugging me for a week. Just a question, is this related to this template only, or it is for the core cart?

    As I've asked the same question in the main forum, and nobody new anything, thinking as well that was a db problem.

  7. #427
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Tableau Responsive Theme - Support Thread

    Quote Originally Posted by leon2lil View Post
    Thanks So Much Bislewl
    Worked A Treat

    Has any one noticed on a mobile device sometimes the logo gets cut in half.
    Or is there a limit on the size of a logo I can change somewhere

    Website address is prohairtherapyltd.co.uk.
    The styling that comes with the template assumes a logo that is longer than it is wide (see the Tableau logo for reference).

    If your logo has two lines or a little extra height, this will happen.

    The reason is that the responsive CSS resizes the image based on width. Meaning, if the width of the image doesn't fit, the CSS makes the image smaller.

    So if your image is tall, the CSS won't know to resize it.

    Ideally, you could change the CSS from max-width:100% to have max-height:100% so that it would resize based on height, but that isn't how things work.

    Instead, do the following and adjust as needed:
    1. Open stylesheet_responsive.css
    2. Find #logo img {
    3. Add max-width: 97px; (for me a width of 97px caused an image resize that fit the height correctly. You will need to adjust this to whatever fits your logo.)

  8. #428
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    288
    Plugin Contributions
    3

    Default Re: Tableau Responsive Theme - Support Thread

    Quote Originally Posted by satello View Post
    YOU ARE A STAR, YOU REALLY ARE!!!

    Thanks for your help, this has been bugging me for a week. Just a question, is this related to this template only, or it is for the core cart?

    As I've asked the same question in the main forum, and nobody new anything, thinking as well that was a db problem.
    I'm thinking that this file would have an effect site wide, and not just in the tableau template, as it is not in a tableau "override" folder. I'm not sure that there is a way to use and override in this case.

  9. #429
    Join Date
    Jan 2014
    Posts
    62
    Plugin Contributions
    0

    Default Re: Tableau Responsive Theme - Support Thread

    Suggestion for the developers: as there is the option to customize the colors of the Drop Down Background Color, etc it would be a good idea to include the same color scheme for the responsive design. What I mean is they give the option to customize that part of the layout, and with a little effort in the coding this could be reflected side wide even when in responsive mode

    At the moment when drop down are opened in mobile view, the colors are different from the ones in full view (if customized), unless we go hard-coding into the responsive.css and do it ourselves but this is something i really don't want (not because I am not capable...)

    just my thoughts

  10. #430
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Re: Tableau Responsive Theme - Support Thread

    Quote Originally Posted by mikestaps View Post
    I have been asked (via PM's) how I was able to add the Information drop down menu next to the Categories drop down menu in the header of my site - HERE. I have also noticed similar questions posted here, so rather than answer a few PM's I wanted to share this here.
    I basically copied the tpl_modules_categories_tabs.php and renamed it tpl_modules_information_tabs.php.
    I also created an information defines page to deal with the mobile version of the menu not expanding, when you click on the parent "category" in the information menu it loads this page.

    Please do not just upload all of these files to your site, use them as a guide to edit your files, as I have other modules and add-ons installed.

    Here are the files I changed/created...
    Attachment 15660
    You are very kind for sharing, thanks!

 

 
Page 43 of 63 FirstFirst ... 33414243444553 ... LastLast

Similar Threads

  1. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Templates, Stylesheets, Page Layout
    Replies: 1087
    Last Post: 18 Jan 2025, 07:23 PM
  2. v155 Support Thread - Responsive Color Changes for 155
    By dbltoe in forum Templates, Stylesheets, Page Layout
    Replies: 99
    Last Post: 1 Oct 2021, 12:31 PM
  3. v155 Tableau Theme configuration not working.
    By tunes in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 22 Mar 2017, 06:53 PM
  4. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Addon Templates
    Replies: 0
    Last Post: 17 Mar 2016, 12:30 AM
  5. v154 Order Steps Responsive [Support Thread]
    By davewest in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jul 2015, 06:11 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