Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,073

Results 1,821 to 1,840 of 1,865
04 Aug 2021, 20:32
#1821
dbltoe avatar

dbltoe

Totally Zenned

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

Westminster New

More info would be really helpful. Perhaps a link?

Are you not seeing the hamburger in mobile view?

05 Aug 2021, 12:46
#1822
kernheimer avatar

kernheimer

Zen Follower

Join Date:
Jul 2009
Posts:
126
Plugin Contributions:
0

Re: Westminster New

Sorry you are perfectly right.
no i don't see it in mobile view and it is a test shop :D not even public. i did change a lot of the css and can't find it in my chrome or firefox web checks also.
i did not want the sideboxes to show on the index page, but they are on the product pages.
https://shop.skindexsystem.com/index.php?main_page=index
i have no idea where i went wrong :D

05 Aug 2021, 14:50
#1823
simon1066 avatar

simon1066

Totally Zenned

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

Re: Westminster New

kernheimer:

Sorry you are perfectly right.
no i don't see it in mobile view and it is a test shop :D not even public. i did change a lot of the css and can't find it in my chrome or firefox web checks also.
i did not want the sideboxes to show on the index page, but they are on the product pages.
https://shop.skindexsystem.com/index.php?main_page=index
i have no idea where i went wrong :D

Although this thread is for Westminster New, I see you are using Winchester Responsive - no problem because, as I recall, the two are basically the same template under the hood. I have used Westminster New, not necessarily the latest version of the template but hopefully the detail below matches yours somewhat.

The source code of your site doesn't contain any reference to the menu, so it's not hidden by css, instead there must be something missing in your template files.

The hamburger menu doesn't have a switch that controls it, instead it is loaded by javascript in

includes/templates/winchester_responsive/common/tpl_main_page.php

in that file you should have something like:

<?php 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') { ?>

<script type="text/javascript">
    $('ul.slimmenu').slimmenu(
			      {
			      resizeWidth: '800',
				  collapserTitle: '',
				  animSpeed: 'medium',
				  easingEffect: null,
				  indentChildren: false,
				  childrenIndenter: ' '
				  });
</script>

(
as an aside the content of the h/burger menu is subsequently controlled by the file
includes/templates/winchester_responsive/templates/tpl_modules_mobile_categories_tabs.php
)

You should check your template's tpl_main_page.php with the original source file.

Failing that, verify that all of the template's source files have been correctly uploaded - if they are then I can't see any reason why the menu wouldn't show.

05 Aug 2021, 17:13
#1824
kernheimer avatar

kernheimer

Zen Follower

Join Date:
Jul 2009
Posts:
126
Plugin Contributions:
0

Re: Westminster New

OH dear, i am so sorry to have posted this on the wrong pages..
and thank you @simon for the help. It did not solve anything :D and yes i did even uploaded the template files again, but no luck.
I gues i have to discuss with my self if i like this good enoug to continue :D or just make something new from it.
Thank you so much for your advise
Eugénie

simon1066:

Although this thread is for Westminster New, I see you are using Winchester Responsive - no problem because, as I recall, the two are basically the same template under the hood. I have used Westminster New, not necessarily the latest version of the template but hopefully the detail below matches yours somewhat.

The source code of your site doesn't contain any reference to the menu, so it's not hidden by css, instead there must be something missing in your template files.

The hamburger menu doesn't have a switch that controls it, instead it is loaded by javascript in

includes/templates/winchester_responsive/common/tpl_main_page.php

in that file you should have something like:

<?php 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') { ?> <script type="text/javascript"> $('ul.slimmenu').slimmenu( { resizeWidth: '800', collapserTitle: '', animSpeed: 'medium', easingEffect: null, indentChildren: false, childrenIndenter: ' ' }); </script>
> 
> (
> as an aside the content of the h/burger menu is subsequently controlled by the file 
> includes/templates/winchester_responsive/templates/tpl_modules_mobile_categories_tabs.php
> )
> 
> You should check your template's tpl_main_page.php with the original source file.
> 
> Failing that, verify that all of the template's source files have been correctly uploaded - if they are then I can't see any reason why the menu wouldn't show.
09 Sep 2021, 22:38
#1825
enid_mchorse avatar

enid_mchorse

New Zenner

Join Date:
Jan 2014
Location:
Fresno, California, United States
Posts:
10
Plugin Contributions:
0

Re: Westminster New

Hi,
I'm trying to install the spanish language pack in my demo cart. Running v1.5.7 Zen and the Westminster New template. It's all working except for the horizontal tabs.Attachment 19712 Help, what am I missing?

21 Sep 2021, 20:57
#1827
beav avatar

beav

New Zenner

Join Date:
Mar 2018
Location:
Idaho,USA
Posts:
23
Plugin Contributions:
0

Re: Westminster New

My home page is not displaying all content when I try to use HTTPS vs HTTP. My host tells me that the script located at "public_html/includes/templates/westminster_new/jscript/jquery.carouFredSel-6.0.2.js" is causing the ssl to break as it's showing as a mixed content error.

I'm using Zencart Version 1.5.5f. not an upgrade. installed using zc_install. PHP version 7.4.23. Westminster new version 1.3. https://www.legendcycle.net

21 Sep 2021, 23:24
#1828
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: Westminster New

Blocked loading mixed active content “http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js”
Loading failed for the <script> with source “http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js”. www.legendcycle.net:324:1

Blocked loading mixed active content “http://www.legendcycle.net/includes/templates/westminster_new/jscript/jquery.carouFredSel-6.0.2.js”
Loading failed for the <script> with source “http://www.legendcycle.net/includes/templates/westminster_new/jscript/jquery.carouFredSel-6.0.2.js”.

All of those need to be called https

24 Sep 2021, 16:17
#1829
beav avatar

beav

New Zenner

Join Date:
Mar 2018
Location:
Idaho,USA
Posts:
23
Plugin Contributions:
0

Re: Westminster New

Thanks for the reply. How do I do that?

18 Oct 2021, 20:11
#1830
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

Re: Westminster New

I would like to increase the number of columns for categories on the main page. Currently it allows 3 and I would like to fit 5. Sorry if this was brought up, I could not locate the post. Any help would be awesome!
Using 1.5.7c

18 Oct 2021, 20:15
#1831
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

Re: Westminster New

Spoke to soon. I apologize. See below

18 Oct 2021, 20:15
#1832
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

Re: Westminster New

chuckrey:

I would like to increase the number of columns for categories on the main page. Currently it allows 3 and I would like to fit 5. Sorry if this was brought up, I could not locate the post. Any help would be awesome!
Using 1.5.7c

Ugh, I should have known, sorry.
Configuration > Maximum Values > Categories to List Per Row.

02 Dec 2021, 21:18
#1833
elemi avatar

elemi

Zen Follower

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

Re: Westminster New

I see there was an updated version uploaded in February... has anyone compared it to the previous version to see what has actually changed, as this time Anne didn't give a break down.

If not, can someone please tell me which is the best php comparison app to use so I can go through the files?

Thanks :-)

03 Dec 2021, 09:37
#1834
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Westminster New

I use a commercial comparison tool from IDM. If you are looking for free, WinMerge is free for windows and I understand Meld is free for the MAC.

04 Dec 2021, 17:23
#1835
boxcar avatar

boxcar

New Zenner

Join Date:
Jun 2007
Posts:
47
Plugin Contributions:
0

Re: Westminster New

php comparison app to use so I can go through the files?

There are lots of options. I use diffmerge on my mac. It's free, Win and Mac versions.

27 Dec 2021, 23:04
#1836
elemi avatar

elemi

Zen Follower

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

Re: Westminster New

Elemi:

I see there was an updated version uploaded in February... has anyone compared it to the previous version to see what has actually changed, as this time Anne didn't give a break down.

Finally found time to look at this today and the main changed is the english.php file.

She has removed all the ARIA references, added 2 A4 pages worth of syntax and when I upload this file it crashes my site and I don't know why. When I revert back to the previous version it's okay.

However, there are 57 new defines and they are not added to the westminster_new_defines.php file.... should they be? This part of coding I don't understand.

29 Dec 2021, 00:44
#1837
elemi avatar

elemi

Zen Follower

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

Re: Westminster New

My biggest log error is this one which has been occurring consistently since Sept and possibly earlier, and it appears to be happening every time a page is clicked on by the look of it...

[29-Sep-2021 22:16:48 UTC] Request URI: /index.php?main_page=article&p=11, IP address: 151.210.130.224
#1 require(/home/amoraromatherapy/public_html/includes/templates/westminster_new/jscript/jscript_plugin_structured_data.php) called at [/home/amoraromatherapy/public_html/includes/templates/westminster_new/common/html_header.php:171]

#2 require(/home/amoraromatherapy/public_html/includes/templates/westminster_new/common/html_header.php) called at [/home/amoraromatherapy/public_html/index.php:42]
--> PHP Warning: Use of undefined constant PLUGIN_SDATA_ENABLE - assumed 'PLUGIN_SDATA_ENABLE' (this will throw an Error in a future version of PHP) in /home/amoraromatherapy/public_html/includes/templates/westminster_new/jscript/jscript_plugin_structured_data.php on line 10.

Here's the breakdown:
[/home/amoraromatherapy/public_html/includes/templates/westminster_new/common/html_header.php:171]

167/**
168 * include content from all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically.
169 * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
170 */
171 require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
172 }

[/home/amoraromatherapy/public_html/index.php:42]
37/**
38 * We now load the html_header.php file. This file contains code that would appear within the HTML <head></head> code
39 * it is overridable on a template and page basis.
40 * In that a custom template can define its own common/html_header.php file
41 */
42 require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');

/home/amoraromatherapy/public_html/includes/templates/westminster_new/jscript/jscript_plugin_structured_data.php on line 10.
10 if (PLUGIN_SDATA_ENABLE == 'true') {

any suggestions?

29 Dec 2021, 13:39
#1838
lat9 avatar

lat9

Administrator

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

Re: Westminster New

That template is most likely not using the most recent version of the Structured Data plugin. For the current version: https://github.com/torvista/Zen_Cart-Structured_Data

29 Dec 2021, 23:15
#1839
elemi avatar

elemi

Zen Follower

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

Re: Westminster New

lat9:

That template is most likely not using the most recent version of the Structured Data plugin. For the current version: https://github.com/torvista/Zen_Cart-Structured_Data

Thank you, I could HUG you!

now I just have this one every time I use the Developers Tool Kit and I'm not sure if it's to do with the template or not...?

#1 require(/home/amoraromatherapy/public_html/ditCh-yIE-joInt/developers_tool_kit.php) called at [/home/amoraromatherapy/public_html/admin/index.php:11]
--> PHP Warning: Use of undefined constant TEXT_ALL_FILES_LOOKUP_CURRENT_PLUGINS - assumed 'TEXT_ALL_FILES_LOOKUP_CURRENT_PLUGINS' (this will throw an Error in a future version of PHP) in /home/amoraromatherapy/public_html/admin/developers_tool_kit.php on line 1057.

29 Dec 2021, 23:29
#1840
elemi avatar

elemi

Zen Follower

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

Re: Westminster New

lat9:

That template is most likely not using the most recent version of the Structured Data plugin. For the current version: https://github.com/torvista/Zen_Cart-Structured_Data

Can someone please update the WN_2.1 template to include this so others don't have the same issues?