Thread: Westminster New

Results 1 to 10 of 1865

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Re: Westminster New

    Anyone know about hiding inactive categories w/ this template?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Westminster New

    Quote Originally Posted by wolfderby View Post
    Anyone know about hiding inactive categories w/ this template?
    Categories are "hidden" by turning them off in the admin panel of your webstore.
    20 years a Zencart User

  3. #3
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by schoolboy View Post
    Categories are "hidden" by turning them off in the admin panel of your webstore.
    So, if you have a category status of 1 (green check) and 0 of N active, then the category name still displays? I'm looking for it to automatically deactivate, like they talk about in (https://www.zen-cart.com/showthread....ctive-products)

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Westminster New

    Quote Originally Posted by wolfderby View Post
    So, if you have a category status of 1 (green check) and 0 of N active, then the category name still displays? I'm looking for it to automatically deactivate, like they talk about in (https://www.zen-cart.com/showthread....ctive-products)
    Looks like the answers are all in that thread... Why are you posting your question in this thread, when you know the thread that deals with the issue? (Just curious - not criticism).
    20 years a Zencart User

  5. #5
    Join Date
    May 2015
    Posts
    23
    Plugin Contributions
    0

    Default Re: Westminster New

    Lovely template, this one is. I like it a lot.

    Here is my question, on the main page, the three images that zoom in and out when the mouse goes over them. I see the images in the /images folder, and the SHOP NOW text is in the code, but where is the other text, the FINE JEWELRY, GREAT TOPS, etc?

    I have hunted around but cannot find this out.

    Sorry in advance if this has been asked before.

    Talk to you all later.

  6. #6
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Westminster New

    Try the template README
    Scroll down to the section for Home Page Banners which identifies the various banners and how to edit them.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  7. #7
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by schoolboy View Post
    Looks like the answers are all in that thread... Why are you posting your question in this thread, when you know the thread that deals with the issue? (Just curious - not criticism).
    I can't seem to get Ajeh's corrections found on more specifically in the post:
    https://www.zen-cart.com/showthread....47#post1265047

    ...to work w/ Westminster New because it doesn't seem that /includes/templates/*westminster_new*/sideboxes/tpl_categories.php is used for the top nav menu?

    I'm somewhat guessing but it doesn't seem to break if I rename that file.

    Basically I just want categories to "automatically hide" if they don't have products in them.

    My best guess is that
    includes/templates/*westminster_new*/common/tpl_header.php

    would have to be modified or for...
    includes/templates/*westminster_new*/templates/tpl_modules_mobile_categories_tabs.php

    I'm really not sure though, I'm a novice programmer, I just don't think the categories drop down menu is loading from a "sidebox" but I'm not sure.

    Any help would be appreciated.

  8. #8
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by wolfderby View Post
    I can't seem to get Ajeh's corrections found on more specifically in the post:
    https://www.zen-cart.com/showthread....47#post1265047

    ...to work w/ Westminster New because it doesn't seem that /includes/templates/*westminster_new*/sideboxes/tpl_categories.php is used for the top nav menu?

    I'm somewhat guessing but it doesn't seem to break if I rename that file.

    Basically I just want categories to "automatically hide" if they don't have products in them.

    My best guess is that
    includes/templates/*westminster_new*/common/tpl_header.php

    would have to be modified or for...
    includes/templates/*westminster_new*/templates/tpl_modules_mobile_categories_tabs.php

    I'm really not sure though, I'm a novice programmer, I just don't think the categories drop down menu is loading from a "sidebox" but I'm not sure.

    Any help would be appreciated.

    Answered my own question... includes/classes/categories_ul_generator.php
    Code:
            while (!$categories->EOF) {
              if (CATEGORIES_PRODUCTS_INACTIVE_HIDE == 1 && zen_count_products_in_category((int)$categories->fields['categories_id']) == 0) {
                // skip empty or status off categories
              } else {
    
    
    
                $this->data[$categories->fields['parent_id']][$categories->fields['categories_id']] = array('name' => $categories->fields['categories_name'], 'count' => 0);
            }
    $categories->MoveNext();
            }

  9. #9
    Join Date
    Feb 2015
    Posts
    64
    Plugin Contributions
    0

    Default Re: Westminster New

    Hi,
    I searched but can't find solution, please help me to erase the static "Sale" image on left leader of this template. I want to permanently disable or delete it. But it should not disturb cross browser adjustments which is currently fine.
    I notice this static image already does not show up on mobile devices which is fine.

    Regards

 

 

Similar Threads

  1. v155 Getting ajax error in v155 with v154 Westminster template
    By godt in forum General Questions
    Replies: 3
    Last Post: 11 Jul 2016, 12:41 AM
  2. v155 Getting ajax error in v155 with v154 Westminster template
    By MCS_Computers in forum General Questions
    Replies: 10
    Last Post: 21 Mar 2016, 03:58 PM
  3. v154 Modifying Top Menu - Westminster New
    By chelseaneedshelp in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Mar 2015, 04:28 PM
  4. Westminster New doesn't work on mobile phone
    By Pompidompie in forum Addon Templates
    Replies: 3
    Last Post: 26 Mar 2015, 10:34 PM
  5. v151 westminster new Share and Connect
    By Larry0652 in forum Addon Templates
    Replies: 8
    Last Post: 24 Oct 2014, 03:30 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