Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,171

Results 1,721 to 1,740 of 1,865
5 Nov 2019, 4:34 PM
#1721
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Westminster New

Elemi:

By variable I assume you mean LARGE_IMAGE_WIDTH and LARGE_IMAGE_HEIGHT? If so, they are both in the Westminster New template only.
Correct. Don't use the template so I'm flying a little blind here.
The error is telling you that some part of the cart needs to know how wide and how tall to make an image. If the request is part of the Westminster New template, then it should also have a define for those values as part of the template.
When you search with the Developer' toolkit, you should find at least two places where the variables show up. The most important should look something like```
Line #28 : define('[B]LARGE_IMAGE_WIDTH[/B]','500');

If you don't see a define for each of these variables, that's the main problem.  They may need to be added.
If you do see a define for them, you need to check that they have the single quotes (') correctly placed, that there's a number between the single quotes, and that there is nothing like PX or EM after the number.

If there is no define there, you may need to add them to your extra_definitions folder.  To do this:
1. Create a file called westminster_images.php.
2. Add the text below to the file and set the defines of each.  Might want to use 300 as a starting point.
3. Save the file to your site in the includes/languages/english/extra_definitions/westminster_new/ folder of the shop, NOT the admin.
4. You may need to add the westminster_new folder to the extra_definitions folder if it is not already there.

<?php define('LARGE_IMAGE_WIDTH','300'); define('LARGE_IMAGE_HEIGHT','300'); ```
6 Nov 2019, 12:31 AM
#1722
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Westminster New

I am building a new 1.5.6c version of an existing site (I am hopeless at upgrading so I use the rebuild method). The existing site uses westminster_new (original version).

Q: can I utilize the existing stylesheet.css and any other modified .css template files on the old site, in this version 2.0 ? ... i.e. copy them across, without conflict?

cheers,
Mike

6 Nov 2019, 1:25 AM
#1723
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

You can put a Volkswagen engine in a Dodge Ram 2500 but, is the time spend building the adapter kit really worth the effort?

Maybe, just maybe, the newer version is meant to be used with a newer ZC.

6 Nov 2019, 4:56 AM
#1724
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Westminster New

dbltoe:

You can put a Volkswagen engine in a Dodge Ram 2500 but, is the time spend building the adapter kit really worth the effort?

Maybe, just maybe, the newer version is meant to be used with a newer ZC.

Thanks dbltoe - yeah I think you're right - I suppose it's like a broken calculator, it just doesn't add up.

cheers,
Mike

6 Nov 2019, 5:52 AM
#1725
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Westminster New

Thank you soooo much dbltoe... there was nothing defined, so I created the file as per your instructions above, and have made the image size 450 x 450 to match my images... and that error log has stopped (I've checked every product I have loaded to date).

I can now delete about a hundred debug issues and see what's remaining :-)

How do I get that coffee to you?

Hugs
Tania :-)

6 Nov 2019, 6:45 PM
#1726
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

Glad you were able to get it going. We're all volunteers here on the forum. Personally, I am not able to support the project as well as I'd like financially. That's my reasoning for time spent on the forum. If I can answer questions and keep the dev team focused on development, I feel I am paying it forward.

For those who wish to support the project and keep the devs in coffee, you can do so at https://www.zen-cart.com/content.php?6-donate

They will appreciate it. Thanks for your willingness to help.

6 Nov 2019, 8:36 PM
#1727
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Westminster New

Thanks for that - I will put a donation across like I did when I created my first cart many many moons ago :-)

9 Nov 2019, 11:07 AM
#1728
gsh68 avatar

gsh68

Zen Follower

Join Date:
Mar 2011
Posts:
103
Plugin Contributions:
0

Re: Westminster New

Anyone know how to get the categories sidebox showing on the main page on 1.5.6C and v2.0 template?
On the previous versions (1.5.5 + v1.3 template) it was simply a case of removing/commenting out a line in tpl_main_page.php

if ($this_is_home_page) {
  $flag_disable_right = true;
 /* $flag_disable_left = true;*/
}

However v2 has significantly changed and I can't find a way to do it.
Thanks.

9 Nov 2019, 3:05 PM
#1729
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Westminster New

gsh68:

Anyone know how to get the categories sidebox showing on the main page on 1.5.6C and v2.0 template?

Sorry no, I've decided to stay with the clean look for now, however if you get an answer, I'll have a look to see how it compares.

Have you worked out how to have the images in the slideshow at the top to be the same size? Mine are all identical pixels and dpi, although showing up as different sizes on the screen...

9 Nov 2019, 6:28 PM
#1730
gsh68 avatar

gsh68

Zen Follower

Join Date:
Mar 2011
Posts:
103
Plugin Contributions:
0

Re: Westminster New

Elemi:

Sorry no, I've decided to stay with the clean look for now, however if you get an answer, I'll have a look to see how it compares.

Have you worked out how to have the images in the slideshow at the top to be the same size? Mine are all identical pixels and dpi, although showing up as different sizes on the screen...

I didn't change anything, just used the placeholder images as the template for my own images and overwrote them and they all show same size.

9 Nov 2019, 7:32 PM
#1731
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

Re: Westminster New

gsh68:

I didn't change anything, just used the placeholder images as the template for my own images and overwrote them and they all show same size.

I've changed the image to a different one and it now works... interestingly, the layout is very different on my husband's laptop which is an 18" screen. The black strip on the bottom of the slides is lower and jumps out to the right.
My two laptops I'm using are 16" and 17" and they are identical layouts.

1 Dec 2019, 3:16 AM
#1732
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Westminster New

is it possible to make this template into a 4 column display layout?? .... if so how, please?

cheers, Mike

1 Dec 2019, 9:37 AM
#1733
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Westminster New

Elemi:

I've changed the image to a different one and it now works... interestingly, the layout is very different on my husband's laptop which is an 18" screen. The black strip on the bottom of the slides is lower and jumps out to the right.
My two laptops I'm using are 16" and 17" and they are identical layouts.I imagine this template is much like the responsive_classic in that it uses screen width as the determiner for many items.

Responsive_classic uses the responsive_default.css file to tell the user's browser to perform basic things based on screen width and portrait/landscape orientation.

In this case, you decided on an action based on your screen size. Looking at it on a tablet in portrait or a smaller monitor will change the settings again as the stylesheet may take over what you did.

Sometimes, the problem is that we get stuck on pixels in widths, margins, and padding. What works with a margin of 40 pixels on a 1600 screen may look terrible on a 1500 screen and worse on a 750 screen.

You might try changing something to a percentage versus a set amount. A setting of 10% is going to take up 10% no matter what. 10% of a 1600 screen (160) is going to take a LOT of space out of an available 750 screen.

11 Dec 2019, 4:53 AM
#1734
clover avatar

clover

New Zenner

Join Date:
Sep 2019
Location:
Montana
Posts:
12
Plugin Contributions:
0

Re: Westminster New

The installation instructions for Westminster New instruct you to go to Admin - > Tools -> Flexible Footer Menu Install, but "Flexible Footer Install" is not there. Unless I'm not looking in the right place. All I see is "Template Selection" "Layout Box Controller" etc.. am I looking in the wrong place?
Much appreciation for any guidance. :)

11 Dec 2019, 5:35 AM
#1735
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Westminster New

Clover:

The installation instructions for Westminster New instruct you to go to Admin - > Tools -> Flexible Footer Menu Install, but "Flexible Footer Install" is not there. Unless I'm not looking in the right place. All I see is "Template Selection" "Layout Box Controller" etc.. am I looking in the wrong place?
Much appreciation for any guidance. :)

you are in the right place - it should be down near the bottom of the list -if not there go to Plugins and search 'Flexible Footer Menu' and you will find 'Multilingual Flexible Footer Menu' - download and install it - the flexible Footer Menu Install should then appear in admin/tools

cheers, Mike

25 Dec 2019, 3:40 AM
#1736
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Westminster New

Installed new zen 1.5.6c
Installed Westminster_New 2.0
Checked the Demo Westminster_new and the search box is located below the black menu bar.
my search box resides within the black menu bar?
Only added a logo.png so far
Am I missing a file?

Any help would be appreciated
mike

25 Dec 2019, 11:12 AM
#1737
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Westminster New

mikebr:

Installed new zen 1.5.6c
Installed Westminster_New 2.0
Checked the Demo Westminster_new and the search box is located below the black menu bar.
my search box resides within the black menu bar?
Only added a logo.png so far
Am I missing a file?

Any help would be appreciated
mike

As a thought - is the log.png the same dimensions as that in the download - smaller may not 'move' the search out of the black menu bar. Test by making your log the same dimensions as in download.

25 Dec 2019, 1:31 PM
#1738
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Westminster New

shags38:

As a thought - is the log.png the same dimensions as that in the download - smaller may not 'move' the search out of the black menu bar. Test by making your log the same dimensions as in download.

Hi
Thanks for the suggestion
Reverted back to the orig downloaded logo.png with same result

see image

thanks mike
Attachment 18766

26 Dec 2019, 2:00 AM
#1739
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Westminster New

mikebr:

Hi
Thanks for the suggestion
Reverted back to the orig downloaded logo.png with same result

see image

thanks mike
Attachment 18766

Ok so removing the 'Header sales Text' caused the Search box to move to the Top Header
Everything at this point is ok
mike

26 Dec 2019, 6:51 PM
#1740
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

Re: Westminster New

New Clean Install zencart 1.5.6c PHP 5.6
installed Westminster)New template
Installed IH5 1.5.7
Fatal error result:

26-Dec-2019 18:13:33 UTC] Request URI: /admin/image_handler.php?ih_page=manager&products_filter=2, IP address: 100.2.167.42
--> PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 19160 bytes) in /home/tell/public_html/includes/classes/bmz_image_handler.class.php on line 824.

reinstalled IH5 twice same error
used IH5's version of additional_images.php knowing that will effect zen lightbox
also used the Westminster version of additional_images.php.

trying to get IH5 to work first
As soon as 1st product was created with 1 image file , fatal error surfaces.
bmz_cache folder permissions are 777
Checked database configuration table ok.

any help would be appreciated