Zen Cart Logo
Forums / Addon Templates / ZCA Bootstrap 4 Template [Support Thread]

ZCA Bootstrap 4 Template [Support Thread]

Views: 542,369

Results 201 to 220 of 1,686
19 Nov 2019, 13:45
#201
top_hatt avatar

top_hatt

Zen Follower

Join Date:
Feb 2010
Posts:
237
Plugin Contributions:
0

ZCA Bootstrap 4 Template [Support Thread]

Hi:

I took out the text in the bannerboxHeading. I could not remove the heading altogether but the heading got smaller so that will work for me for right now.

Thanks for your help.

Dave

19 Nov 2019, 13:45
#202
merlin57 avatar

merlin57

New Zenner

Join Date:
Mar 2005
Posts:
22
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi I would appreciate those files as a logo in a sidebox sounds like a plan.
Cheers in anticipation Bob

19 Nov 2019, 14:27
#203
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: ZCA Bootstrap 4 Template [Support Thread]

merlin57:

Hi I would appreciate those files as a logo in a sidebox sounds like a plan.
Cheers in anticipation Bob

Please send me a PM, with your email address, so I can send them to you.

23 Nov 2019, 13:44
#204
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

what do I need to do if I want to display two sidebars just before the footer on the mobile layout?

26 Nov 2019, 10:09
#205
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

I am using Zencart 1.5.6c PHP 7.3
On the create an account page I am not seeing the newsletter options show:
Attachment 18734
All I am seeing is the Text but no radio buttons or check box
Can anyone help please, thanks

26 Nov 2019, 10:37
#206
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

This is the PHP in includes/classes/site_map.php. As you can see it already contains the lines you suggest could be wrong in my site_map.php file.

<?php/** * site_map.php * * @package general * @copyright Copyright 2003-2018 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: Drbyte Mon Nov 5 09:42:04 2018 -0500 Modified in v1.5.6 $ */if (!defined('IS_ADMIN_FLAG')) {  die('Illegal Access');}/** * site_map.php * * @package general */ class zen_SiteMapTree {   var $root_category_id = 0,       $max_level = 0,       $data = array(),       $root_start_string = '',       $root_end_string = '',       $parent_start_string = '',       $parent_end_string = '',       $parent_group_start_string = "\n<ul>",       $parent_group_end_string = "</ul>\n",       $child_start_string = '<li>',       $child_end_string = "</li>\n",       $spacer_string = '',       $spacer_multiplier = 1;
   function __construct() {     global $db;     $this->data = array();     $categories_query = "select c.categories_id, cd.categories_name, c.parent_id                      from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd                      where c.categories_id = cd.categories_id                      and cd.language_id = '" . (int)$_SESSION['languages_id'] . "'                      and c.categories_status != '0'                      order by c.parent_id, c.sort_order, cd.categories_name";         $categories = $db->Execute($categories_query);         while (!$categories->EOF) {           $this->data[$categories->fields['parent_id']][$categories->fields['categories_id']] = array('name' => $categories->fields['categories_name'], 'count' => 0);           $categories->MoveNext();         }   }
   function buildBranch($parent_id, $level = 0, $parent_link = '') {    $result = $this->parent_group_start_string;
    if (isset($this->data[$parent_id])) {      foreach ($this->data[$parent_id] as $category_id => $category) {        $category_link = $parent_link . $category_id;        $result .= $this->child_start_string;        if (isset($this->data[$category_id])) {          $result .= $this->parent_start_string;        }
        if ($level == 0) {          $result .= $this->root_start_string;        }        $result .= str_repeat($this->spacer_string, $this->spacer_multiplier * $level) . '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '">';        $result .= $category['name'];        $result .= '</a>';
        if ($level == 0) {          $result .= $this->root_end_string;        }
        if (isset($this->data[$category_id])) {          $result .= $this->parent_end_string;        }
//        $result .= $this->child_end_string;
       if (isset($this->data[$category_id]) && (($this->max_level == '0') || ($this->max_level > $level+1))) {         $result .= $this->buildBranch($category_id, $level+1, $category_link . '_');       }       $result .= $this->child_end_string;
     }   }
    $result .= $this->parent_group_end_string;
    return $result;  }   function buildTree() {     return $this->buildBranch($this->root_category_id);   }//-bof-zca_bootstrap  *** 1 of 1 ***    public function setParentStartEndStrings($start, $end = "</ul>\n")    {        $this->parent_group_start_string = $start;        $this->parent_group_end_string = $end;    }    public function setChildStartString($start, $end = "</li>\n")    {        $this->child_start_string = $start;        $this->child_end_string = $end;    }//-eof-zca_bootstrap  *** 1 of 1 ***    }
```> **OldNGrey:**
>
> I can reproduce the error by using the original ZC 156c site_map.php in \includes\classes\. 
> This needs to be edited or replaced with site_map.php provided in the Bootstrap template.
> 
> The lines from approximately line 93, starting with "//-bof-zca_bootstrap  *** 1 of 1 ***" must be in the file.
> 
> --------
> environment Dev: Zen Cart 156c; Apache 2.4.33; PHP 7.3.1; MySQL 5.7.21; Windows 10
> environment Test: Zen Cart 156a; Apache 2.4.29; PHP 7.2.4; MySQL 5.7.24; Linux 4.15.0
> 
> packages / add-ons:
> ckeditor ;  clone template 1.2.0;  payment module fee;  Direct bank Deposit V1.5.revised;  zencart155 securepayxml (modified);  ozpost v4.2.7;  
> ceon_back_in_stock_notifications.9 (modified);  export_shipping_information_V1.3.5 (modified);  edit_orders-4.3.5;  master password 4;  admin log in as customer; ZCA bootstrap template-for-156-v2.0.0c; image checker 2.0; sales report 3.2.2; email archive manager 1-8e; zenNoncaptcha v0.5
07 Dec 2019, 12:54
#207
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Sorry to ask again but has anyone an idea how I can fix this, thanks

ianhg:

I am using Zencart 1.5.6c PHP 7.3
On the create an account page I am not seeing the newsletter options show:
Attachment 18734
All I am seeing is the Text but no radio buttons or check box
Can anyone help please, thanks

07 Dec 2019, 15:34
#208
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

ianhg:

Sorry to ask again but has anyone an idea how I can fix this, thanks
are the radio buttons in the html when you view the source?

08 Dec 2019, 10:10
#209
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Nick1973:

are the radio buttons in the html when you view the source?

<fieldset> <legend>Newsletter and Email Details</legend> <input class="custom-control-input" type="checkbox" name="newsletter" value="1" id="newsletter-checkbox" /><label class="checkboxLabel" for="newsletter-checkbox">Subscribe to Our Newsletter.</label><br class="clearBoth" />

<input class="custom-control-input" type="radio" name="email_format" value="HTML" checked="checked" id="email-format-html" /><label class="radioButtonLabel" for="email-format-html">HTML</label><input class="custom-control-input" type="radio" name="email_format" value="TEXT" id="email-format-text" /><label class="radioButtonLabel" for="email-format-text">TEXT-Only</label><br class="clearBoth" />

</fieldset> Thanks for reply
09 Dec 2019, 16:57
#210
borek avatar

borek

New Zenner

Join Date:
Jul 2007
Posts:
9
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hi,

I am just testign your template. I find it great.
But I have some question.

I present my price without VAT and with VAT. But the font size is too large. I can not change te font-size, while <h2> size is defined in https://stackpath.bootstrapcdn.com/bootstrap/scss/vendor/_rfs.scss.

How can I make this links as local and make some small changes to use it with mobile phone ...?

thank you for your reply
B.

14 Jan 2020, 15:40
#211
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hello rbarbour, I just mentioned that on the shopping cart page does not adapt to small screens, even in the demo version http://www.zcadditions.com/bootstrap_tpl_demo if you put a product in the basket you will see that the screen does not resize, obviously you have to crop the page as if you saw on a small phone.
Attachment 18797

14 Jan 2020, 22:32
#212
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

@diamond1 I just tested on the demo and I did not experience that issue nor have I experienced it any of the 6 sites I have used the template on.

15 Jan 2020, 00:42
#213
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: ZCA Bootstrap 4 Template [Support Thread]

I think I see @diamond1's point. Here's my shopping cart page on mobile:

15 Jan 2020, 07:19
#214
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Do you have screen resize? I have the problem with an iphone5 it is necessary to resize the screen to the smallest and you will see it in the demo also saw my print in resize the screen

Attachment 18800
Attachment 18799
Attachment 18801

15 Jan 2020, 19:01
#215
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Yes I have a the same on iPhone but I found this :

I found out that by default the .table element has max-width: 100% and safari "respects" this so it set the width to be 100% which means that the .table element isn't overflowing the .table-responsive element hence causing it to not be scrollable. This somehow doesn't affect android phones.
The fix was rather easy:

.table-responsive .table { max-width: none;}


You then get a horizontal scroll on the iPhone

15 Jan 2020, 19:27
#216
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Ok, I see now. The overflow on the shopping cart table-responsive is being seen by the rest of the page making it wider than it should be as you can see the nav bar at the top is wider than the screen and the back-to-top button is off screen. On Initial screen load of the shopping cart page it was offset and a refresh brought it back to where you would expect it to be. Deleting the table-responsive element from the DOM solved the navbar display and back-to-top button location issues, so it is definitely the overflow of the table-responsive being seen by the rest of the page or at least by the navbar that is causing the issue.

Editing after the response from above: I tested in chrome and firefox with the inspector and tested against a number of devices listed. I don't own an Apple device to physically test on

16 Jan 2020, 17:09
#217
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: ZCA Bootstrap 4 Template [Support Thread]

Hello, I tried to apply the fix .table-responsive .table {max-width: none;} but I have no change, I put on stylesheet.css and it does not change anything, I think I did not understand or apply the css fix.

19 Jan 2020, 22:29
#218
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

diamond1:

Hello, I tried to apply the fix .table-responsive .table {max-width: none;} but I have no change, I put on stylesheet.css and it does not change anything, I think I did not understand or apply the css fix.
Try adding !important to the css rule .table-responsive .table {max-width: none !important;}

24 Jan 2020, 10:30
#219
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Still got issues with the sitemap page:

[24-Jan-2020 10:18:43 UTC] PHP Fatal error: Cannot redeclare class zen_SiteMapTree in /home/MYSITE/public_html/includes/classes/site_map.php on line 19

[24-Jan-2020 10:18:43 UTC] Request URI: /index.php?main_page=site_map, IP address: 00.00.000.000
--> PHP Fatal error: Cannot redeclare class zen_SiteMapTree in /home/MYSITE/public_html/includes/classes/site_map.php on line 19.

Tried replacing includes/classes/site_map.php with the original from a fresh download and I am still getting the same error

24 Jan 2020, 10:43
#220
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: ZCA Bootstrap 4 Template [Support Thread]

Nick1973:

Still got issues with the sitemap page:

[24-Jan-2020 10:18:43 UTC] PHP Fatal error: Cannot redeclare class zen_SiteMapTree in /home/MYSITE/public_html/includes/classes/site_map.php on line 19

[24-Jan-2020 10:18:43 UTC] Request URI: /index.php?main_page=site_map, IP address: 00.00.000.000
--> PHP Fatal error: Cannot redeclare class zen_SiteMapTree in /home/MYSITE/public_html/includes/classes/site_map.php on line 19.

Tried replacing includes/classes/site_map.php with the original from a fresh download and I am still getting the same error

Interesting:

On line 20 of includes/classes/site_map.php we have this:

class zen_SiteMapTree {   var $root_category_id = 0,       $max_level = 0,       $data = array(),       $root_start_string = '',       $root_end_string = '',       $parent_start_string = '',       $parent_end_string = '',       $parent_group_start_string = "\n<ul>",       $parent_group_end_string = "</ul>\n",       $child_start_string = '<li>',       $child_end_string = "</li>\n",       $spacer_string = '',       $spacer_multiplier = 1;

If I change php var $root_category_id = 0, to ```php
var $root_category_id = -0,