Thread: Westminster New

Page 76 of 187 FirstFirst ... 2666747576777886126176 ... LastLast
Results 751 to 760 of 1865
  1. #751
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Westminster New

    Quote Originally Posted by jcrewe View Post
    Worked like a charm...thanks Anne! Not sure how I managed to turn it off in the first place! LOL!
    I am happy that you figured it out ;)

    Thanks,

    Anne

  2. #752
    Join Date
    Sep 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Westminster New v 1.3 UPDATE

    Quote Originally Posted by picaflor-azul View Post
    The easiest way to find out which files you need to edit is to use the admin--tools--developers toolkit ;)

    Thanks,

    Anne
    Thank you.

  3. #753
    Join Date
    Feb 2015
    Location
    Netherlands
    Posts
    15
    Plugin Contributions
    0

    Default Footer Content Centered

    Hi,

    Is there a quick way to center the flexible footer content the same way it is on winchester_black?

    Thanks,

  4. #754
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Footer Content Centered

    Quote Originally Posted by Daba_do View Post
    Hi,

    Is there a quick way to center the flexible footer content the same way it is on winchester_black?

    Thanks,
    I don't understand. The footer content is the same in these 2 templates.

    Thanks,

    Anne

  5. #755
    Join Date
    Jan 2014
    Location
    United States
    Posts
    6
    Plugin Contributions
    0

    Default Re: Westminster New

    Have anyone install the MSRP mod for the Westminster New?

    Thank You,
    Larry

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

    Default Re: Westminster New

    Quote Originally Posted by Larry0652 View Post
    Have anyone install the MSRP mod for the Westminster New?

    Thank You,
    Larry
    Any stable, correctly installed plugin will work with the template. As always, if there are the same files in the plugin package and the template package then you will need to merge the files.

    Thanks,

    Anne

  7. #757
    Join Date
    Mar 2005
    Posts
    123
    Plugin Contributions
    0

    Default Re: Westminster New

    Hi there, thanks for this amazing template! The flexibility of the mobile detect is awesome :)

    One question (not sure if it's been covered before - couldn't find it) is there a way of switching between desktop & mobile sites manually? So a link on the mobile site to "show desktop version" and maybe a link on the desktop site to switch back to the mobile version?

    I've tried googling it and the only references I can find are to using cookies to set the version and then redirect back to the desktop site (when you have 2 versions of a website) obviously this doesn't apply to this situation though

    Thanks!

    Tony

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

    Default Re: Westminster New

    Quote Originally Posted by twdhosting View Post
    Hi there, thanks for this amazing template! The flexibility of the mobile detect is awesome :)

    One question (not sure if it's been covered before - couldn't find it) is there a way of switching between desktop & mobile sites manually? So a link on the mobile site to "show desktop version" and maybe a link on the desktop site to switch back to the mobile version?

    I've tried googling it and the only references I can find are to using cookies to set the version and then redirect back to the desktop site (when you have 2 versions of a website) obviously this doesn't apply to this situation though

    Thanks!

    Tony
    Thanks! I can not take credit for the php mobile detect integration though. This is based on rbarbour's DIY Template Default Package, so kudos go to him ;)

    You can switch use these urls:

    your url.com/index.php?main_page=index&display_mode=isDesktop

    your url.com/index.php?main_page=index&display_mode=isMobile

    your url.com/index.php?main_page=index&display_mode=isTablet


    Thanks,

    Anne

  9. #759
    Join Date
    Mar 2005
    Posts
    123
    Plugin Contributions
    0

    Default Re: Westminster New

    Thanks Anne, the URL's are kind of working to switch layouts, it's not 100% though?

    For example the site switches from mobile to desktop when the "view desktop" link is clicked but the mobile menus are still rendered instead of the desktop ones, the left column is missing as per the mobile version and the center column that displays the top level categories is still 1 product per row instead of 3 per row (as per the desktop version)

    I've added a new check for the 'isDesktop' to alter the viewport so that a user can zoom etc
    Code:
    <?php
    if ($_SESSION['display_mode']=='isDesktop') { ?>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
    <?php } else {?>
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <?php } ?>
    which is working fine?

    Ive seen the mobile detect code towards the bottom of the html_header.php file which looks to control the loading of the stylesheets etc and tried tweaking it but nothing seems to fix it properly?

    Thanks

    Tony

  10. #760
    Join Date
    Mar 2005
    Posts
    123
    Plugin Contributions
    0

    Default Re: Westminster New

    Just a quick update - I think it've just about got it working :)

    There is a logic error in the mobile detect in the template - nothing major and most people probably won't want to switch templates like I am doing but just in case they do!

    html_header.php change the follwing line
    Code:
    if ($detect->isMobile() && !$detect->isTablet() or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') {
    
        echo $responsive_mobile;
    to

    Code:
    if ($detect->isMobile() && !$detect->isTablet() && !$_SESSION['display_mode']=='isDesktop' or $detect->isMobile() && !$detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $detect->isTablet() && $_SESSION['display_mode']=='isMobile' or $_SESSION['display_mode']=='isMobile') {
    
        echo $responsive_mobile;
    The first code checks for a mobile device (but not a tablet) and returns true because - well it is true, but it doesn't check for the isDesktop in the $SESSION so it also catches anyone who is on a mobile but has chosen to view the desktop version.

    The same code is also in tpl_main_page.php and needs tweaking - this now fixes the column layouts and the missing left column and shows the correct desktop header but I am still missing the desktop main menu... I'll keep digging :)

    Tony

 

 

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