Results 1 to 10 of 1685

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by Nick1973 View Post
    Just done that and uploaded it and I am getting the same error.
    This doesn't have to entered into includes/modules/pages/header_php.php does it? It's in includes/modules/pages/header_php_site_map_zca_bootstrap.php

    I'm upgraded to 1.5.6c by the way.

    PHP Code:
    <?php// -----// site_map: Update the site-map array, adding classes to the parent/child entries.//if (zca_bootstrap_active()) {    $zen_SiteMapTree->setParentStartEndStrings('<ul class="list-group">');    $zen_SiteMapTree->setChildStartString('<li class="list-group-item">');}
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  2. #2
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: ZCA Bootstrap Template

    Quote Originally Posted by Nick1973 View Post
    This doesn't have to entered into includes/modules/pages/header_php.php does it? It's in includes/modules/pages/header_php_site_map_zca_bootstrap.php

    I'm upgraded to 1.5.6c by the way.

    PHP Code:
    <?php// -----// site_map: Update the site-map array, adding classes to the parent/child entries.//if (zca_bootstrap_active()) {    $zen_SiteMapTree->setParentStartEndStrings('<ul class="list-group">');    $zen_SiteMapTree->setChildStartString('<li class="list-group-item">');}
    Just wondered if anybody had any ideas why a blank page is happening with the site map page please? You can see what is happening here https://ventureengravings.uk/index.p..._page=site_map

    I have tried the suggestion by 'swguy'
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  3. #3
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    407
    Plugin Contributions
    6

    Default Re: ZCA Bootstrap Template

    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

  4. #4
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    407
    Plugin Contributions
    6

    Default Re: ZCA Bootstrap Template

    In Bootstrap 1.5.6-v2.0.0 the variables $flag_disable_right and $flag_disable_left are undefined.

    ZC 1.5.6c defines these in \includes\templates\responsive_classic\common\ main_template_vars.php on line 26

    if (!isset($flag_disable_left)) {
    $flag_disable_left = false;
    }
    if (!isset($flag_disable_right)) {
    $flag_disable_right = false;
    }
    Great template. Thanks for all the work.

    -----------------
    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

  5. #5
    Join Date
    Feb 2010
    Posts
    237
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Hi:

    I really like this template.

    I do have a couple of small questions.

    1 - I want my logo to go into the banner box sidebox and to eliminate the logo wrapper and tagline thereby moving the content closer to the top of the page. I want to eliminate the bannerboxHeading to do this. In the responsive classic template I just put bannerboxHeading{ display: none;} to make it disappear.

    This is what I am looking for: billiardsplusonline.com

    I have tried that on the bootstrap template with no success. Can someone help me?

    2 - I want to eliminate the Information heading in the mobile menu. I am using the Flexible Footer Menu and don't need the Information side menu. I tried researching that on the forums but to no avail. What file do I need to edit to eliminate that heading?

    My site is poolcuesexpressdotcom/156ctest

    Any help would be appreciated.

    Dave

  6. #6
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: ZCA Bootstrap Template

    For your first point, I did the same thing on a customers site. I can send you the files through email, if you like.
    What I did is creating a new sidebox called logo, and commented out the logo code in the header.
    Quote Originally Posted by top hatt View Post
    Hi:

    I really like this template.

    I do have a couple of small questions.

    1 - I want my logo to go into the banner box sidebox and to eliminate the logo wrapper and tagline thereby moving the content closer to the top of the page. I want to eliminate the bannerboxHeading to do this. In the responsive classic template I just put bannerboxHeading{ display: none;} to make it disappear.

    This is what I am looking for: billiardsplusonline.com

    I have tried that on the bootstrap template with no success. Can someone help me?

    2 - I want to eliminate the Information heading in the mobile menu. I am using the Flexible Footer Menu and don't need the Information side menu. I tried researching that on the forums but to no avail. What file do I need to edit to eliminate that heading?

    My site is poolcuesexpressdotcom/156ctest

    Any help would be appreciated.

    Dave

  7. #7
    Join Date
    Feb 2010
    Posts
    237
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

    Hi:

    Thanks for your hint but I don't want to comment out the code in the header but the header itself.

    Dave

  8. #8
    Join Date
    Mar 2005
    Posts
    26
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap Template

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

  9. #9
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Re: ZCA Bootstrap Template

    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 Code:
    <?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 ***    }
    Quote Originally Posted by OldNGrey View Post
    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
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

 

 

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 107
    Last Post: 11 Nov 2024, 08:28 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. v155 ZCA Bootstrap Template 1.0 (BETA)
    By rbarbour in forum Addon Templates
    Replies: 74
    Last Post: 25 Apr 2018, 07:05 PM
  4. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 PM

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