Thread: Westminster New

Page 28 of 187 FirstFirst ... 1826272829303878128 ... LastLast
Results 271 to 280 of 1865
  1. #271
    Join Date
    Dec 2010
    Location
    U.S. State of Texas
    Posts
    76
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by picaflor-azul View Post
    This is a bug in the updated template package. I believe that I posted a fix for this earlier in the thread. If you can't find it, you can upload the includes/templates/override/common/tpl_header_tablet.php file from the version previous to the latest version of the template and it will fix the problem.

    Thanks,

    Anne
    It worked! Thank you so much for your quick response and specially for this super clean user friendly template.

  2. #272
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by creyesx6 View Post
    It worked! Thank you so much for your quick response and specially for this super clean user friendly template.
    No problem, I am happy that you fixed it ;)

    Thanks,

    Anne

  3. #273
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,240
    Plugin Contributions
    1

    Default Re: Westminster New

    Trying to enable the 'switch' between tablet/mobile/desktop - 'ZCA Template Switch' on this template.

    The way I understand it is that this template is based on the Responsive DIY Template Default for 1.5.x v2.1 template which has the switch included in its files but was not used in Westminster New. Is the correct install method to

    Run the upgrade sql which adds the ZCA Template Switch to admin/configuration.

    Compare all the Responsive DIY Template Default for 1.5.x v2.1 files with the Westminster New files to identify which files and bits of the v2.1 code were not included in this template.

    It wasn't as simple as running the upgrade sql and adding this code to the tpl_header.php

    Code:
    /**
     ******************************* BOF 2.1b **********************************
     */
    
    if ($detect->isMobile() && !$detect->isTablet() && (empty($_SESSION['display_mode'])) or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') { ?>
    
    <?php if (SHOW_GOTO_DESKTOP_FROM_MOBILE == 'true') { ?>
    <li><a href="<?php echo zen_href_link($current_page_base, zen_get_all_get_params(array('display_mode')) . 'display_mode=isDesktop') . '">' . ZCA_DESKTOP_LINK_TEXT . '</a></li>'; ?><?php } ?>
    
    continues.....
    hence my thought to compare all the v2.1 files with this template.

    I'm pretty sure this is the route to take but wanted to make sure I wasn't missing anything.
    Last edited by simon1066; 18 Sep 2014 at 09:32 AM.

  4. #274
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,240
    Plugin Contributions
    1

    Default Re: Westminster New

    Quote Originally Posted by simon1066 View Post
    Run the upgrade sql which adds the ZCA Template Switch to admin/configuration.

    Compare all the Responsive DIY Template Default for 1.5.x v2.1 files with the Westminster New files to identify which files and bits of the v2.1 code were not included in this template.

    Yes, this was it turns out, the way to go. ZCA Template Switch successfully installed
    Last edited by simon1066; 18 Sep 2014 at 02:07 PM. Reason: missed a bit

  5. #275
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Westminster New

    Thank you for a fabulous template Anne!

    I want to customise the main menu and I would be grateful if someone would help me.
    There is currently CATEGORIES, INFORMATION & CONTACT US in the main menu.
    I would like the main menu to display:
    CATEGORY A, CATEGORY B, CATEGORY C, CATEGORY D, INFORMATION & CONTACT US

    I've been through the thread and know that I have to make changes to tpl_modules_mobile_categories_tabs.php. I'm clueless at php. I've found the section to be changed (I think I'd need to put in submenu and level2 somewhere) but don't know how to change it.

    The section to change is from line 20
    Code:
     <li class="test"><a href="<?php HTTP_SERVER . DIR_WS_CATALOG;?>" class="mshop"><?php echo HEADER_TITLE_CATEGORIES; ?></a>
    <?php
        // load the UL-generator class and produce the menu list dynamically from there
        require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
    $zen_CategoriesUL = new zen_categories_ul_generator;
    $menulist = $zen_CategoriesUL->buildTree(true);
    $menulist = str_replace('"level4"','"level5"',$menulist);
    $menulist = str_replace('"level3"','"level4"',$menulist);
    $menulist = str_replace('"level2"','"level3"',$menulist);
    $menulist = str_replace('"level1"','"level2"',$menulist);
    $menulist = str_replace('<li>','<li>',$menulist);
    $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
    echo $menulist;
    ?>                        
    </li>
    Thank you very much in advance!

  6. #276
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by nipinuk View Post
    Thank you for a fabulous template Anne!

    I want to customise the main menu and I would be grateful if someone would help me.
    There is currently CATEGORIES, INFORMATION & CONTACT US in the main menu.
    I would like the main menu to display:
    CATEGORY A, CATEGORY B, CATEGORY C, CATEGORY D, INFORMATION & CONTACT US

    I've been through the thread and know that I have to make changes to tpl_modules_mobile_categories_tabs.php. I'm clueless at php. I've found the section to be changed (I think I'd need to put in submenu and level2 somewhere) but don't know how to change it.

    The section to change is from line 20
    Code:
     <li class="test"><a href="<?php HTTP_SERVER . DIR_WS_CATALOG;?>" class="mshop"><?php echo HEADER_TITLE_CATEGORIES; ?></a>
    <?php
        // load the UL-generator class and produce the menu list dynamically from there
        require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
    $zen_CategoriesUL = new zen_categories_ul_generator;
    $menulist = $zen_CategoriesUL->buildTree(true);
    $menulist = str_replace('"level4"','"level5"',$menulist);
    $menulist = str_replace('"level3"','"level4"',$menulist);
    $menulist = str_replace('"level2"','"level3"',$menulist);
    $menulist = str_replace('"level1"','"level2"',$menulist);
    $menulist = str_replace('<li>','<li>',$menulist);
    $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
    echo $menulist;
    ?>                        
    </li>
    Thank you very much in advance!
    This will take some custom programming. If you look at an older menu module by getemfast, I think that it is horizontal css drop down menu, he provides an alternate categories_ul_generator.php file that shows the top categories. You could use it as a guide.

    Thanks,

    Anne

  7. #277
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: Westminster New

    Quote Originally Posted by picaflor-azul View Post
    This will take some custom programming. If you look at an older menu module by getemfast, I think that it is horizontal css drop down menu, he provides an alternate categories_ul_generator.php file that shows the top categories. You could use it as a guide.

    Thanks,

    Anne
    Anne, Thank you so much for pointing me in the right direction Anne. I can't believe it but I've actually done it (grinning like a Cheshire cat)!

    Here's what I did:
    1. Download CSS Horizontal Dropdown Menu With jquery module by getemfast.
    2. You will need to compare the following files
    a. CSS Horizontal Dropdown Menu With jquery/includes/classes/categories_ul_generator.php.txt and /includes/classes/categories_ul_generator.php. Copy the relevant section from getemfast's module to /includes/classes/categories_ul_generator.php.
    b. CSS Horizontal Dropdown Menu With jquery/includes/templates/CUSTOM/common/alternative_tpl_drop_menu.php and includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php.

    I've got to run and be mom now. Thank you again Anne. Really appreciate it!

  8. #278
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by nipinuk View Post
    Anne, Thank you so much for pointing me in the right direction Anne. I can't believe it but I've actually done it (grinning like a Cheshire cat)!

    Here's what I did:
    1. Download CSS Horizontal Dropdown Menu With jquery module by getemfast.
    2. You will need to compare the following files
    a. CSS Horizontal Dropdown Menu With jquery/includes/classes/categories_ul_generator.php.txt and /includes/classes/categories_ul_generator.php. Copy the relevant section from getemfast's module to /includes/classes/categories_ul_generator.php.
    b. CSS Horizontal Dropdown Menu With jquery/includes/templates/CUSTOM/common/alternative_tpl_drop_menu.php and includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php.

    I've got to run and be mom now. Thank you again Anne. Really appreciate it!
    I am happy that you figured it out and posted your solution ;)

    Thanks,

    Anne

  9. #279

    Default Re: Westminster New

    Can someone tell me how to change the color of the blue buttons and the blue social networking icons?

  10. #280
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Westminster New

    for the header nav

    /stylesheet.css

    /* Line 78 */
    #navMain i
    {
    margin-right: 10px;
    color: #8db9fb;
    font-size: 120%;
    vertical-align: middle;
    }

    /* Line 79 */
    #navMain i:hover
    {
    color: #ffffff;
    }

    for the footer social icons
    /stylesheet.css

    /* Line 392 */
    .ffCcol4 i
    {
    font-size: 200%;
    border-top-width: 1px;
    border-right-width-value: 1px;
    border-bottom-width: 1px;
    border-left-width-value: 1px;
    border-top-style: solid;
    border-right-style-value: solid;
    border-bottom-style: solid;
    border-left-style-value: solid;
    border-top-color: #8db9fb;
    border-right-color-value: #8db9fb;
    border-bottom-color: #8db9fb;
    border-left-color-value: #8db9fb;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: #8db9fc;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    color: #ffffff;
    transition-property: background;
    transition-duration: 2s;
    transition-timing-function: ease;
    transition-delay: 0s;
    min-width: 30px;
    }

    /* Line 393 */
    .ffCcol4 i:hover
    {
    background-color: #171717;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    color: #ffffff;
    }

    Hope that helps!

    Quote Originally Posted by reciecup View Post
    Can someone tell me how to change the color of the blue buttons and the blue social networking icons?

 

 

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

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