Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,179

Results 1,641 to 1,660 of 1,865
6 Jul 2019, 2:37 AM
#1641
shags38 avatar

shags38

Totally Zenned

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

Westminster New

picaflor-azul:

Westminster New v2.0 just submitted!

See the demo here:

https://picaflor-azul.com/westminster_new

This is a major update of the template package for compatibility with v1.5.6x. Upgrade instructions and package also included along with files for a fresh install.

The package has been updated using the latest version of ZCA-Responsive-Default-for-Zen-Cart-1.5.6 by rbarbour. All the wonderful featured in his new package are included in the template upgrade including:

** 2 new columns (Tablet Status and Mobile Status) in the layoutboxes controller so you can turn side-boxes off or on for specific devices
** Product Info - Number of Additional Images per Row specify for Mobile and Tablet
** Also Purchased Products Columns per Row specify for Mobile and Tablet
** Featured, New, and Specials Products Columns per Row specify for Mobile and Tablet
** Flexible Footer Menu replaced with Flexible Footer Menu Multilingual
** AddThis on the product info pages replaced with AddToAny
** MatchHeight JS added

Please post any questions or problems that you might have here. I am making my best effort to spend time here each day going forward to answer questions.

Thanks,

Anne

Good news !! ... is it OK with 1.5.6b - I expect so, just wondering :smile:

6 Jul 2019, 4:12 PM
#1642
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

swguy:

Approved. Good to have you back, Anne. Thanks so much for everything you do for the Zen Cart project.

thank you so much. I am really happy to be getting back after so long :)

Thanks,

anne

6 Jul 2019, 4:14 PM
#1643
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

Yes 1.5.6b. Be sure to read the upgrade instructions. Let me know if you need help upgrading or if you run into any problems. If you have modified any of the template files be sure to merge carefully. Of course you are not working on a live site ;)

Thanks,

Anne

7 Jul 2019, 12:18 PM
#1644
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Westminster New

Welcome back Anne :smile:

7 Jul 2019, 4:04 PM
#1645
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

rbarbour:

Welcome back Anne :smile:

Thanks! And thank you so much for all of your work with the updated ZCA-Responsive-Default-for-Zen-Cart-1.5.6 and the excellent Flexible Footer Menu Multilingual.

Thanks,

Anne

7 Jul 2019, 6:51 PM
#1646
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Westminster New

Anne, have you considered putting your work on Github so the community could help out with small fixes?

7 Jul 2019, 8:06 PM
#1647
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

swguy:

Anne, have you considered putting your work on Github so the community could help out with small fixes?

That is a great idea! I'll figure it out and get the templates over there :)

Thanks,

Anne

9 Jul 2019, 7:33 PM
#1648
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Westminster New

First fix: common/tpl_header.php lines 27-32. Change htmlspecialchars to zen_output_string_protected.

10 Jul 2019, 3:19 PM
#1649
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Westminster New

Looks like this is missing from installation:

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Product Info - Image Width', 'LARGE_IMAGE_WIDTH', '150', 'The pixel width of Product Info images', '4', '80', now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Product Info - Image Height', 'LARGE_IMAGE_HEIGHT', '120', 'The pixel height of Product Info images', '4', '81', now());

10 Jul 2019, 3:56 PM
#1650
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Westminster New

swguy:

Looks like this is missing from installation:

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Product Info - Image Width', 'LARGE_IMAGE_WIDTH', '150', 'The pixel width of Product Info images', '4', '80', now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Product Info - Image Height', 'LARGE_IMAGE_HEIGHT', '120', 'The pixel height of Product Info images', '4', '81', now());
Where are those constants used? I'm pretty sure that the majority of the image-handling plugins, e.g. Image Handler, have provided changes in that area.

10 Jul 2019, 4:46 PM
#1651
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Westminster New

Installing IH is not a precondition for using this template, is it?

These two constants are used here:
./fresh_install/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php
./fresh_install/includes/modules/westminster_new/additional_images.php
./upgrade/includes/modules/westminster_new/additional_images.php
./upgrade/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php

10 Jul 2019, 5:22 PM
#1652
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Westminster New

swguy:

Installing IH is not a precondition for using this template, is it?

These two constants are used here:
./fresh_install/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php
./fresh_install/includes/modules/westminster_new/additional_images.php
./upgrade/includes/modules/westminster_new/additional_images.php
./upgrade/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php
I'm not the template designer, so I can't answer that question. All I'm saying is that there might be more 'lurking' conditions given the history of those constants.

Does the template use a large image-display plugin?

10 Jul 2019, 11:27 PM
#1653
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

swguy:

First fix: common/tpl_header.php lines 27-32. Change htmlspecialchars to zen_output_string_protected.

Thank you for the fix! I'll get it added.

Thanks,

Anne

10 Jul 2019, 11:29 PM
#1654
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

swguy:

Installing IH is not a precondition for using this template, is it?

These two constants are used here:
./fresh_install/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php
./fresh_install/includes/modules/westminster_new/additional_images.php
./upgrade/includes/modules/westminster_new/additional_images.php
./upgrade/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php

The template has zen lightbox installed. Image handler is not required.

Thanks,

Anne

11 Jul 2019, 11:11 AM
#1655
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Westminster New

picaflor-azul:

The template has zen lightbox installed. Image handler is not required.

Thanks,

Anne
... and that's where the LARGE_IMAGE_WIDTH and LARGE_IMAGE_HEIGHT requirements came from!

11 Jul 2019, 2:08 PM
#1656
andyjordaan avatar

andyjordaan

New Zenner

Join Date:
Mar 2012
Location:
South Africa- Krugersdorp
Posts:
29
Plugin Contributions:
0

Re: Westminster New

Hi Anne
zen-cart-v1.5.6b-05272019
On installation of the template the Admin side is been pulled down as soon as the template is selected
It would seem to be the "layout_controller.php" in admin that I had to revert to original to keep the admin up

12 Jul 2019, 1:32 AM
#1657
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Westminster New

AndyJordaan:

Hi Anne
zen-cart-v1.5.6b-05272019
On installation of the template the Admin side is been pulled down as soon as the template is selected
It would seem to be the "layout_controller.php" in admin that I had to revert to original to keep the admin up

Did you follow the upgrade instructions in the readme.html file? It is very important to follow these instructions in order:

These instructions are for upgrading your installed Westminster New template after you have upgraded your zen cart to version 1.5.6x.

You should be working in a test environment, not on a live site.

  1. Remove the following:

YOUR_ADMIN_FOLDER/images/button_new_columnpage.gif
YOUR_ADMIN_FOLDER/includes/languages/english/extra_definitions/carousel_featured_defines.php
includes/auto_loaders/config.display_mode.php
includes/init_includes/init_display_mode.php
includes/modules/westminster_new/also_purchased_products.php
includes/templates/westminster_new/common/responsive_default.php
includes/templates/westminster_new/common/responsive_mobile.php
includes/templates/westminster_new/common/responsive_tablet.php
includes/templates/westminster_new/css/responsive.css
includes/templates/westminster_new/jscript/jquery.carouFredSel-6.0.2.js
includes/templates/westminster_new/sideboxes/tpl_search.php
includes/templates/westminster_new/templates/tpl_advanced_search_default.php
includes/templates/westminster_new/templates/tpl_advanced_search_result_default.php
includes/templates/westminster_new/templates/tpl_contact_us_default.php
includes/templates/westminster_new/templates/tpl_index_categories.php
includes/templates/westminster_new/templates/tpl_index_default.php
includes/templates/westminster_new/templates/tpl_index_product_list.php
includes/templates/westminster_new/templates/tpl_modules_featured_products.php

  1. Upload these from the 1.5.6x release:

includes/modules/pages/contact_us/header_php.php

  1. These files should have been upgraded when you upgraded your zen cart. Double check to see that these are the versions included in release 1.5.6x

includes/classes/categories_ul_generator.php
includes/classes/Mobile_Detect.php
includes/classes/split_page_results.php

  1. Merge any changes that you have made to the template files into the files in the upgrade folder

  2. Upload the YOUR_ADMIN_FOLDER and includes folders from the template package upgrade folder, renaming YOUR_ADMIN_FOLDER to the name of your zen cart admin folder.

  3. Log into your zen cart admin. If you are already logged in then click on the "Admin Home" link in the top right hand corner.

  4. In your zen cart admin go to Tools -> Install SQL Patches and upload the install_sql file.

  5. If you have not previusely installed the Flexible Footer Menu Multilingual plugin, in your Zen Cart admin go to Tools -> Flexible Footer Menu Multilingual Install

Click on the "New Installation" link.

  1. Navigate to the storefront. Clear your browser cache and refresh the page.

Thanks,

Anne

12 Jul 2019, 6:03 PM
#1658
andyjordaan avatar

andyjordaan

New Zenner

Join Date:
Mar 2012
Location:
South Africa- Krugersdorp
Posts:
29
Plugin Contributions:
0

Re: Westminster New

Hi Anne,
Thanks for the very detailed reply, Currently this is a bench-test install (not Live - localhost ) it is therefor also a fresh install using the basic version 1.5.6b and it had only the " Westminster New " template /plugin undergoing installation and testing.
The Idea is to upgrade my sites if I can get a better google report on mobiles.
I have a number of your Templates running, I'm biased but I consider you in the forefront in the mobile coding. so I grabed this one with both hands and a hot mouse.. ..

I am testing on a Ubuntu 18.04 machine with a LAMP so the Apache, Php and MYSQL are quite Current. I am Sorry, I tried finding my debug files that led my to the "layout_controller.php" but to no avail .

13 Jul 2019, 10:30 AM
#1659
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: Westminster New

I'm trying to install this and it's not going well. I did a clean install of Zencart 1.6b. That is working
I uploaded the westminster files as directed. I then installed the flexible footer. After changing the template to westminster I received the following error "WARNING: An Error occurred, please refresh the page and try again.If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields."
I'm getting the same message when trying to log back into the admin section but it looks ok on the website end.
I checked and all the pages are in the correct directories.
Thanks for your help
Carol

13 Jul 2019, 12:46 PM
#1660
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Westminster New

Probably not a problem with the template. More than likely, there's a bad connection to the database on the admin side. Make sure your settings in YOUR_ADMIN/includes/configure.php are correct.

Also, when you get an error, there should be a file in the logs folder for that error. You can use the # to display that file for us to better help.