Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,201

Results 761 to 780 of 1,865
12 Mar 2015, 10:57 AM
#761
purecarsound avatar

purecarsound

New Zenner

Join Date:
May 2006
Location:
Chester, UK
Posts:
99
Plugin Contributions:
0

Westminster New

Hi Anne

Just wanted to say once again, thank you for a great template.

I've updated from 1.5.3 using Sheffield Blue Responsive to 1.5.4 using the Westiminster New template - I'm also only using a couple of add-ons, TwitchWholesale and CEON URi Mapping to keep things simple!

All seems to work ok and it only took me 2 days to complete it all and test it!

Many thanks once again.

Mark

http://www.johnwoodsmotorcare.net/Cart/ (New site)

12 Mar 2015, 10:02 PM
#762
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

twdhosting:

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

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

I don't know why it is not working for you. The urls work fine on the template package out of the box.

Thanks,

Anne

12 Mar 2015, 10:03 PM
#763
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

twdhosting:

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

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

I have no idea if the changes you made are necessary. I will have to run this by Raymond (rbarbour) to find out.

Thanks,

Anne

12 Mar 2015, 10:04 PM
#764
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

Purecarsound:

Hi Anne

Just wanted to say once again, thank you for a great template.

I've updated from 1.5.3 using Sheffield Blue Responsive to 1.5.4 using the Westiminster New template - I'm also only using a couple of add-ons, TwitchWholesale and CEON URi Mapping to keep things simple!

All seems to work ok and it only took me 2 days to complete it all and test it!

Many thanks once again.

Mark

http://www.johnwoodsmotorcare.net/Cart/ (New site)

Thanks for posting. I am happy that you are using the template for your site ;)

Thanks,

Anne

13 Mar 2015, 5:56 AM
#765
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

twdhosting:

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

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
> 
> ```
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
I made a similar change.. Nice catch..

14 Mar 2015, 1:00 AM
#766
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Re: Westminster New

In my shopping cart it says "You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)"

I edited this file an uploaded it but it hasn't changes. Am I missing something?

Thanks

14 Mar 2015, 2:55 AM
#767
cosmosk avatar

cosmosk

Zen Follower

Join Date:
Jan 2015
Posts:
193
Plugin Contributions:
0

Re: Westminster New

got it, should read (defined in includes/languages/english/westminster_new/shopping_cart.php)
Thanks

14 Mar 2015, 2:17 PM
#768
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

CosmosK:

got it, should read (defined in includes/languages/english/westminster_new/shopping_cart.php)
Thanks

No, the text is correct. The zen cart instructions take into account that you will know to make all changes in override files.

Thanks,

Anne

14 Mar 2015, 4:21 PM
#769
bobc avatar

bobc

New Zenner

Join Date:
Jun 2013
Location:
UK
Posts:
49
Plugin Contributions:
0

Re: Westminster New

Hello all,

I have a problem with the attribute dropdown not displaying all the text assigned to the attribute. e.g. in the attached image the Leg Size can be Reg 31" or Tall 32" but you will see that only Reg 3 is being displayed. Can anybody advise where I go in the CSS or PHP to adjust the size of the attribute display box?

Many thanks in advance,

Bob

15 Mar 2015, 2:06 PM
#770
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

bobc:

Hello all,

I have a problem with the attribute dropdown not displaying all the text assigned to the attribute. e.g. in the attached image the Leg Size can be Reg 31" or Tall 32" but you will see that only Reg 3 is being displayed. Can anybody advise where I go in the CSS or PHP to adjust the size of the attribute display box?

Many thanks in advance,

Bob

If you post a link to the page with the problem I can take a look.

Thanks,

Anne

16 Mar 2015, 2:09 AM
#771
redspinnaker avatar

redspinnaker

New Zenner

Join Date:
Oct 2010
Posts:
50
Plugin Contributions:
0

Re: Westminster New

Homepage Images

Can someone please help me with the following:

I have disabled the left side slide out panel, and all but one banner image in the "homepageslide" banner group.
Also I have set the hometop banner to HTML text.

Now what I want to do is to have the homepageslide banner image placed behind the hometop banner text. The effect I am looking for is to have the HTML text appear in front of the banner image.

I may be on the wrong track, but I am guessing that I need to code something like this for the homepageslide banner image, . . img {
position: absolute;
left: 0px;
top: 0px;
z-index: -1;
}
Can anyone help ?

16 Mar 2015, 3:14 PM
#772
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

RedSpinnaker:

Homepage Images

Can someone please help me with the following:

I have disabled the left side slide out panel, and all but one banner image in the "homepageslide" banner group.
Also I have set the hometop banner to HTML text.

Now what I want to do is to have the homepageslide banner image placed behind the hometop banner text. The effect I am looking for is to have the HTML text appear in front of the banner image.

I may be on the wrong track, but I am guessing that I need to code something like this for the homepageslide banner image, . . img {
position: absolute;
left: 0px;
top: 0px;
z-index: -1;
}
Can anyone help ?

If you post a link to your site and try to explain more about what you are trying to do, I can take a look.

Thanks,

Anne

16 Mar 2015, 3:49 PM
#773
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

CosmosK:

got it, should read (defined in includes/languages/english/westminster_new/shopping_cart.php)
Thanks

picaflor-azul:

No, the text is correct. The zen cart instructions take into account that you will know to make all changes in override files.

Thanks,

Anne
If I may interject.. I can't say that I disagree with CosmosK, you and I know to make the changes in the overrides, but a nascent shopowner may not know this instinctively..

16 Mar 2015, 4:38 PM
#774
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

DivaVocals:

If I may interject.. I can't say that I disagree with CosmosK, you and I know to make the changes in the overrides, but a nascent shopowner may not know this instinctively..

Maybe you should post about this in the code suggestions forum so that the developers can change the wording?

Thanks,

Anne

16 Mar 2015, 5:21 PM
#775
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Westminster New

picaflor-azul:

Maybe you should post about this in the code suggestions forum so that the developers can change the wording?

Thanks,

Anne
Oh I have done just that.. (and much more with regards to the default template..:smile:) Just suggesting that it's not a BAD idea to include that in the template or even the readme.. 'tis all..

16 Mar 2015, 8:39 PM
#776
redspinnaker avatar

redspinnaker

New Zenner

Join Date:
Oct 2010
Posts:
50
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

If you post a link to your site and try to explain more about what you are trying to do, I can take a look.

Thanks,

Anne

Hi Anne,
The site is still under development in localhost, but this other site is an example of what I am trying to achieve, where the the HTML text "VENETIAN MASQUERADE MASKS etc . . " appears in front of the banner image(s).
http://www.italymask.com/

Thanks for your assist :)

16 Mar 2015, 10:32 PM
#777
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

RedSpinnaker:

Hi Anne,
The site is still under development in localhost, but this other site is an example of what I am trying to achieve, where the the HTML text "VENETIAN MASQUERADE MASKS etc . . " appears in front of the banner image(s).
http://www.italymask.com/

Thanks for your assist :)

I would recommend looking at the website for the flex slider to see if they have instructions for such a customization.

Thanks,

Anne

17 Mar 2015, 2:54 AM
#778
redspinnaker avatar

redspinnaker

New Zenner

Join Date:
Oct 2010
Posts:
50
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

I would recommend looking at the website for the flex slider to see if they have instructions for such a customization.

Thanks,

Anne

Sorry for any misunderstanding - but I only refer to the referenced website in order to show you an example of the effect I wish to achieve.

I am using the Westminster New template, and looking for guidance as to the appropriate Westminster templete files, and coding which I might implement, in order to achieve a similar effect?

Regards:)

17 Mar 2015, 9:11 AM
#779
erwinsk8 avatar

erwinsk8

New Zenner

Join Date:
Aug 2014
Location:
South Africa
Posts:
27
Plugin Contributions:
0

Re: Westminster New

Hi Anne

Thank you so much for such an amazing template but I would really really like to add a few things and would love it if you you assist me in adding a few things that I personally would like to see on this template without me messing up all the great responsive design you did.

The site currently looks like this: please see the image attached namely "Marshall Now"

As I am relatively new to this I would very much appreciate any and all assistance you could give me in order to make the site look the way I have made it look in Photoshop as depicted in the attached image namely "Marshall Changes"

Thank you for an amazing template and as always your assistance is greatly appreciated

Regards

Erwin

17 Mar 2015, 9:31 AM
#780
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Westminster New

RedSpinnaker:

Hi Anne,
The site is still under development in localhost, but this other site is an example of what I am trying to achieve, where the the HTML text "VENETIAN MASQUERADE MASKS etc . . " appears in front of the banner image(s).
http://www.italymask.com/

Thanks for your assist :)

Just had a quick play so it's a bit dirty but you could move the slider image under the home-top div text by

.content-slider {
float: left;
margin-left: -30%; -- you'll need to experiment with the responsive views to see if a % or px is best
width: 65%; -- try altering the width of this and/or slider images to see what fits

and get the home-top div text to overlay the image by

#top-banner {
position: relative;
z-index: 999;