Zen Cart Logo
Forums / Addon Templates / Tableau Responsive Theme - Support Thread

Tableau Responsive Theme - Support Thread

Views: 229,230

Results 461 to 480 of 624
25 Oct 2015, 11:49
#461
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Tableau Responsive Theme - Support Thread

Jen56789:

Thanks for your reply! Yes your product page looks fine on my phone. Does this link show correctly too on your phone? (fyi this is not my site, which is not active): http://www.kathijahzohra.com/basic-jane/basic-jane-in-chili1? Thanks for checking! zenid=6315151967e7cd0fac7e64c3d680af61

Just check on my phone your product image was justified to the right along with add to cart button.

25 Oct 2015, 11:58
#462
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

Can we place a FULL SITE link somewhere in the footer?

In case a mobile user doesn't like mobile view.

25 Oct 2015, 21:35
#463
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

spawnie69:

Can we place a FULL SITE link somewhere in the footer?

In case a mobile user doesn't like mobile view.

I may be wrong, but I believe the answer is no.

This template is not creating a separate mobile subdomain (in which case you could provide a link to the standard domain.) It is changing the styling based on the screen size and media device.

25 Oct 2015, 21:43
#464
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

Jen56789:

Using a Samsung Phone. I've attached a picture - See how the product picture (top) and Add To Cart button do not fit the screen. Could it be a value in the CMS menu?

I see what you mean. I fiddled with it a bit using Firebug, but without a full file compare I couldn't find the issue.

There is div somewhere on the page that is stretching past the edge. That then is pushing the container past the edge and allowing all elemnts with width 100% to also stretch.

On my test and production sites I have it working correctly so the default should be correct.

As an aside, I find styling this template to be rather difficult due to the reset.css file.

26 Oct 2015, 21:11
#465
jen56789 avatar

jen56789

New Zenner

Join Date:
Oct 2015
Posts:
5
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

Actually Spawnie69 was right, this problem is solved by one of the latest updates listed at the Numinix site (the Zen Cart site does not list the most recent version)! Installing the files from the 1.6.7 update fixes the bug. I'd advice all users of an earlier version to check whether their product page looks ok on cell phone and if not install the updated files. Thanks Spawnie69 :smile:

lindasdd:

I see what you mean. I fiddled with it a bit using Firebug, but without a full file compare I couldn't find the issue.

There is div somewhere on the page that is stretching past the edge. That then is pushing the container past the edge and allowing all elemnts with width 100% to also stretch.

On my test and production sites I have it working correctly so the default should be correct.

As an aside, I find styling this template to be rather difficult due to the reset.css file.

26 Oct 2015, 21:53
#466
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

Cool, great to hear Jen56789
If you happen to accept paypal express you may want to check if you have a spacing issue between the paypal express button and the continue shopping link in the shopping cart with at least one item.
I have this spacing issue on my samsung phone and my wifes tablet. On desktop looks fine. From what I could find, it was only mentioned once early in the thread but never fixed? not too sure though.

27 Oct 2015, 17:37
#467
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

spawnie69:

Cool, great to hear Jen56789
If you happen to accept paypal express you may want to check if you have a spacing issue between the paypal express button and the continue shopping link in the shopping cart with at least one item.
I have this spacing issue on my samsung phone and my wifes tablet. On desktop looks fine. From what I could find, it was only mentioned once early in the thread but never fixed? not too sure though.

If anything I would change the CSS styling on that section to display:none; - even though technically you are not supposed to. It is just a distraction.

28 Oct 2015, 21:06
#468
mikeyfm avatar

mikeyfm

New Zenner

Join Date:
Aug 2015
Location:
UK
Posts:
15
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

mikestaps:

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.

/*$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):
> ```
//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.

This is exactly what I wanted to get the category listing back but it seems to break the sort filter and the listing the products by cheapest to highest price. Or the old to new . I am not sure if you can have both. It would be good if you can as the price low to high is a nice feature..

Has anyone else noticed this and is there a fix somewhere that I have not been able to see on the forum/thread.

Thank you.

MG

28 Oct 2015, 22:22
#469
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Tableau Responsive Theme - Support Thread

MIKEYFM:

This is exactly what I wanted to get the category listing back but it seems to break the sort filter and the listing the products by cheapest to highest price. Or the old to new . I am not sure if you can have both. It would be good if you can as the price low to high is a nice feature..

Has anyone else noticed this and is there a fix somewhere that I have not been able to see on the forum/thread.

Thank you.

MG

I resolved it by doing the following:
created a file: includes/functions/extra_functions/sort_by_functions.php

<?php

function order_by_sort_by_sql($sortby, $order_by = true) {
    if($order_by == true){
    $listing_sql = ' ORDER BY ';
    }
    switch ($sortby) {
        case '1':
            //newest
            $listing_sql .= " p.products_date_added DESC ";
            break;
        case '3':
            //price HIGH->LOW
            $listing_sql .= " p.products_price DESC ";
            break;
        case '4':
            //price LOW->HIGH
            $listing_sql .= " p.products_price ASC ";
            break;
        case '5':
            //Name ASC
            $listing_sql .= " pd.products_name ASC ";
            break;
        case '6':
            //Name DESC
            $listing_sql .= " pd.products_name DESC ";
            break;
        case '0':
        default:
            //products defualt sort order
            $listing_sql .= " p.products_sort_order, pd.products_name";
            break;
    }
    return $listing_sql;
}

includes/index_filters/default_filter.php
commented out: (around line 90ish) also similarly in the includes/modules/advanced_search_results/header_php.php

array('id' => 0, 'text' => 'Default Order'),
			  array('id' => 1, 'text' => 'Newest First'),
			  //array('id' => 2, 'text' => 'Most Popular'),
			  array('id' => 3, 'text' => 'Price (High to Low)'),
			  array('id' => 4, 'text' => 'Price (Low to High)'),
			  array('id' => 5, 'text' => 'Name (A-Z)'),
			  array('id' => 6, 'text' => 'Name (Z-A)'),
...
        case 'PRODUCT_LIST_WEIGHT':
          $listing_sql .= " order by p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
          break;
        case 'PRODUCT_LIST_PRICE':
          $listing_sql .= " order by p.products_price_sorter " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
          break;
      }
    }
  }

modified includes/templates/tableau/templates/tpl_modules_product_listing.php to have the ```html

<div class="sort-listings-wrapper"> ``` look like this: ```php <div class="sort-listings-wrapper"> <?php echo zen_draw_form('sortbyform', zen_href_link(zen_db_prepare_input($_GET['main_page']), zen_get_all_get_params(array('sortby', 'sort','keyword','search_in_description','inc_subcat','')), $request_type, false), 'get') . zen_hide_session_id();?> <?php echo zen_draw_hidden_field('main_page', zen_db_prepare_input($_GET['main_page'])); $sortbyparams = explode('&', zen_get_all_get_params(array('sortby', 'sort',''))); foreach($sortbyparams as $param) { $param = explode('=', $param); if(strlen($param[0]) > 1){ echo zen_draw_hidden_field($param[0], $param[1]); } } ?> <label>Sort By:</label> <?php $sortby_array = array( array('id' => 0, 'text' => 'Default Order'), array('id' => 1, 'text' => 'Newest First'), //array('id' => 2, 'text' => 'Most Popular'), array('id' => 3, 'text' => 'Price (High to Low)'), array('id' => 4, 'text' => 'Price (Low to High)'), array('id' => 5, 'text' => 'Name (A-Z)'), array('id' => 6, 'text' => 'Name (Z-A)'), ); echo zen_draw_pull_down_menu('sortby', $sortby_array, $_GET['sortby'], 'onchange="this.form.submit();"'); ?> <?php echo '</form>';?> </div><!--EOF .sort-listings-wrapper-->
<?php if($_GET['showall'] == 1) {?>

Hopefully that helps!
28 Oct 2015, 22:29
#470
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Tableau Responsive Theme - Support Thread

I think I spoke too soon, it looks like the sort bug was fixed in version 1.6.5

29 Oct 2015, 17:32
#471
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Tableau Responsive Theme - Support Thread

bislewl:

I think I spoke too soon, it looks like the sort bug was fixed in version 1.6.5

It was only kind of fixed... If you set a default sort order in the Admin ->Configuration -> Product Listing you cannot select/re-select that sort option in the drop down.
This was also brought up on github - here

29 Oct 2015, 18:10
#472
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

I asked a question a month ago, that never got answered. Here it is again:

In the left column sideboxes, the reviews sidebox has blue text that shows REVIEWS [MORE], and I cannot collapse the sidebox. The featured sidebox did the same thing, but I just turned it off, because I don't care about it.
Also, is there a way of setting the default sort order to best selling? When you navigate from a mobile device, it does not have the entire drop down menu, and so main categories are all you see, rather than sub categories.
http://redsautorehab.com/index.php?main_page=index&cPath=8

The reviews sidebox only shows one review, with no link to any other reviews. I would like to have it show 3, or 4 reviews.

29 Oct 2015, 21:07
#473
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Tableau Responsive Theme - Support Thread

vanhorn_s:

I asked a question a month ago, that never got answered. Here it is again:

http://redsautorehab.com/index.php?main_page=index&cPath=8

The reviews sidebox only shows one review, with no link to any other reviews. I would like to have it show 3, or 4 reviews.

The # of reviews in the side is in the admin. Admin -> Configuration ->Maximum Values -> Random Product Reviews for SideBox

To collapse the side boxes edit includes\templates\tableau\jscript\jquery\jquery_filters.js
I took the code for #recentproducts and copied it for each additional sidebox I added.

// original code
     jQuery('#recentproducts .collapse-sidebox').on('click', function(){
		jQuery(this).parent().siblings().slideToggle(function(){
		});
		jQuery('#recentproducts .collapse-sidebox').toggleClass('expand-sidebox');
	});

// added code
    jQuery('#information .collapse-sidebox').on('click', function(){
		jQuery(this).parent().siblings().slideToggle(function(){
		});
		jQuery('#information .collapse-sidebox').toggleClass('expand-sidebox');
	});

I did the collapse fix to mine awhile back, I'm not 100% there wasn't another little edit I had to do, but give this a try.

29 Oct 2015, 21:14
#474
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

Shouldn't the "more" next to "reviews" in the sidebox be a hyperlink? I would assume so, because the text is blue, but it does nothing.

29 Oct 2015, 21:34
#475
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

I just successfully updated my database from 1.39 to 1.54 on a demo shop at https://www.gelcandlecompany.com/demo2
For some reason the Categories link is no longer displaying the drop down categories.
Is this due to the dbase upgrade? Should I reinstall the tableau template again?
thanks for your help

29 Oct 2015, 21:59
#476
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

vanhorn_s:

Shouldn't the "more" next to "reviews" in the sidebox be a hyperlink? I would assume so, because the text is blue, but it does nothing.

I agree does nothing. One day numnix will get around to it, I guess.

29 Oct 2015, 22:47
#477
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

I've been working on my tableau demo2 site for a couple of weeks now and got it running and working great with it's zen cart demo store items. Once I upgraded my 1.39h database it defaulted to the classic green template, I then activated the tableau template and now the CATEGORIES link on my home page is not displaying the just imported categories. I just tried uploading template files again and nothing. Any insight is much appreciated.

29 Oct 2015, 23:16
#478
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

spawnie69:

I've been working on my tableau demo2 site for a couple of weeks now and got it running and working great with it's zen cart demo store items. Once I upgraded my 1.39h database it defaulted to the classic green template, I then activated the tableau template and now the CATEGORIES link on my home page is not displaying the just imported categories. I just tried uploading template files again and nothing. Any insight is much appreciated.

Check your logs folder. I imagine it is setting an error.

30 Oct 2015, 03:16
#479
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

I had to replace my /includes/templates/tableau/templates/tpl_index_default.php file to prevent rss feed issues.

I still cannot see my categories appear from the link at my home page. Any other suggestions.
No more log entries that I can see. Any help is appreciated, thanks.

30 Oct 2015, 04:32
#480
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Tableau Responsive Theme - Support Thread

I recently imported my 1.34h database onto my tableau template at https://www.gelcandlecompany.com/demo2
After the import I was welcomed with the green zen cart template, I then changed the template selection to tableau to activate.
I then discovered the CATEGORIES link on my front page will not display my imported database's categories. I see products in my listings and my admin.
Just not able to see on desktop or phone. What could this be?

Was I wrong to work on tableau template first then import data?

Anyone's advice is greatly appreciated. thank you.