-
Re: Winchester Responsive - Contact Form Issue
Re the above, I found the offending file, though I don't know what the exact problem is yet. But the one that was preventing the admin side from loading is config.winchester.responsive.php. Renaming that with a temporary non-executable extension allowed the backend to load. The frontend is loading but also displaying an error message.
-
Re: Winchester Responsive - Contact Form Issue
-
Re: Winchester Responsive - Contact Form Issue
I'm sure you looked at the page in the Docs concerning the Warning but, folks often miss the part in there about mods. If you are getting the warning before selecting Winchester as your template, it is probably something else. If you are receiving the warning after selecting Winchester, it may be looking for a mod's file that is now not being found.
Still, there should have been some kind of debug file.
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
HeleneWallis
Re the above, I found the offending file, though I don't know what the exact problem is yet. But the one that was preventing the admin side from loading is config.winchester.responsive.php. Renaming that with a temporary non-executable extension allowed the backend to load. The frontend is loading but also displaying an error message.
Quote:
Originally Posted by
dbltoe
I'm sure you looked at the page in the Docs concerning the Warning but, folks often miss the part in there about mods. If you are getting the warning before selecting Winchester as your template, it is probably something else. If you are receiving the warning after selecting Winchester, it may be looking for a mod's file that is now not being found.
Still, there should have been some kind of debug file.
@dbltoe, I beg to disagree. Given that the file in question is the admin auto_loader for the subject template, I'd go with the fact that the issue lies in the elements that it's loading (probably an init_include and possibly others).
I agree that there should be an admin-level log-file. Noting that I've seen a bunch of winchester-based sites that include a flexible-footer-menu for which (at least for prior versions) the date_added default is 0000-00-00 00:00:00 (a no-no for strict MySQL installations).
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
dbltoe
I'm sure you looked at the page in the Docs concerning the Warning but, folks often miss the part in there about mods. If you are getting the warning before selecting Winchester as your template, it is probably something else. If you are receiving the warning after selecting Winchester, it may be looking for a mod's file that is now not being found.
Still, there should have been some kind of debug file.
No problems until after selecting Winchester. Then the backend just died and the frontend has a warning message that an error occurred. I'm not going to mess with it any more, but I will look at the logs. I keep forgetting to do that.
When I returned to either one of the default templates included with the installation file, everything worked fine.
-
Re: Winchester Responsive - Contact Form Issue
@lat9 No problem with disagreement. I mentioned the missing file as I was having the same problem bringing over a 1.5.5f database to 1.5.7c.
The older database was calling for an old Edit Orders file that is no longer used. In that case, I did get a debug file.
-
3 Attachment(s)
Re: Winchester Responsive
Quote:
Originally Posted by
4tinak
I noted also that when this February version is installed, somehow the title page for IH5 gets changed to Flexible Footer Menu.
I've done two installs and the result is the same.
1st install, IH5 was installed, then the template.
2nd install, the template was installed, then IH was added.
See image for what I am talking about.
Attachment 19483
There are a few other items that I would like to know how to fix.
1. in just the Tablet view the Categories from those 2 black arrows at the top of the screen. The writing is white on them.
2. product listing page - main image is not centered (see image)
3. product listing page - tablet view - images are spread out (see image)
4. pc view - there is no header search button (see image)
Attachment 19503
Attachment 19504
Attachment 19505
Thanks for your continued support!
-
Re: Winchester Responsive
Quote:
Originally Posted by
4tinak
I noted also that when this February version is installed, somehow the title page for IH5 gets changed to Flexible Footer Menu.
I've done two installs and the result is the same.
1st install, IH5 was installed, then the template.
2nd install, the template was installed, then IH was added.
See image for what I am talking about.
Attachment 19483
Does that flexible footer title also show on other pages? IH-5 is using a constant named HEADING_TITLE. If the template's files (like maybe in an admin-level /includes/languages/english/extra_definitions file) is also defining that constant, that's where the issue lies.
-
Re: Winchester Responsive
Quote:
Originally Posted by
lat9
Does that flexible footer title also show on other pages? IH-5 is using a constant named HEADING_TITLE. If the template's files (like maybe in an admin-level /includes/languages/english/extra_definitions file) is also defining that constant, that's where the issue lies.
This title only shows on the IH pages (Image Manager tab - Admin Tools tab - Preview tab - About Help tab).
IH does not call out the HEADING_TITLE, but the Flexible Footer file does.
IH code snippet:
Code:
define('BOX_TOOLS_IMAGE_HANDLER', 'Image Handler<sup>5</sup>');
define('BOX_TOOLS_IMAGE_HANDLER_UNINSTALL', 'Image Handler<sup>5</sup> Uninstall');
define('BOX_TOOLS_IMAGE_HANDLER_VIEW_CONFIG', 'View Image Handler<sup>5</sup> Configuration');
Flexible Footer snippet:
Code:
define('TEXT_FLEXIBLE_FOOTER_MENU_HEADING_TITLE','Flexible Footer Menu');
define('BOX_TOOLS_FLEXIBLE_FOOTER_MENU','Flexible Footer Menu');
define('FILENAME_FLEXIBLE_FOOTER_MENU','flexible_footer_menu.php');
define('TABLE_FLEXIBLE_FOOTER_MENU', DB_PREFIX . 'flexible_footer_menu');
define('HEADING_TITLE','Flexible Footer Menu');
Should I define the HEADING_TITLE in the IH file or remove it from the Flexible Footer file?
Thanks.
-
Re: Winchester Responsive
Quote:
Originally Posted by 4tinak
Should I define the HEADING_TITLE in the IH file or remove it from the Flexible Footer file?
I tried both without favorable results.
Altering the IH file (adding a define heading title line) had no affect.
Altering the Flexible Footer File (removing the define heading title line) - fixed the IH page display, but Flexible Footer page shows HEADING_TITLE
Thanks again.
-
Re: Winchester Responsive - Contact Form Issue
I experienced the same Admin lockout as @HeleneWallis after installing the Winchester Responsive v.2.0 (14 Feb 2021) template.
My installation is a fresh Zen Cart 1.57c on PhP 7.4 with MySQL 5.7.
No other Zen Cart plugins or alterations were installed.
My debug log file was showing this fatal error:
Quote:
--> PHP Fatal error: 1067:Invalid default value for 'date_added' :: CREATE TABLE IF NOT EXISTS flexible_footer_menu(
page_id int(11) NOT NULL AUTO_INCREMENT,
language_id int(11) NOT NULL DEFAULT '1',
page_title varchar(64) CHARACTER SET utf8 NOT NULL DEFAULT '',
page_url varchar(255) CHARACTER SET utf8 DEFAULT NULL,
col_header varchar(64) CHARACTER SET utf8 DEFAULT NULL,
col_image varchar(254) CHARACTER SET utf8 NOT NULL DEFAULT '',
col_html_text text CHARACTER SET utf8,
status int(1) NOT NULL DEFAULT '0',
col_sort_order int(11) NOT NULL DEFAULT '0',
col_id int(11) NOT NULL DEFAULT '0',
date_added datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
last_update datetime DEFAULT NULL,
PRIMARY KEY (`page_id`)
I am going to agree with the observation by @lat9 on this:
Quote:
Originally Posted by
lat9
Noting that I've seen a bunch of winchester-based sites that include a flexible-footer-menu for which (at least for prior versions) the date_added default is 0000-00-00 00:00:00 (a no-no for strict MySQL installations).
After comparing code to that from the separate Flexible Footer Multilingual installer, this is the fix that worked for me:
1. Install fresh version of Zen Cart 1.57c.
2. Before installing the Winchester Responsive 2.0 template, make this change to this one file the installation package:
In the includes/templates/winchester_responsive_2.0/files/YOUR_ADMIN/includes/installers/winchester_responsive/1_0.php on line 139 change:
Code:
date_added datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
to
Code:
date_added datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
Follow the usual Winchester Responsive installation procedure (upload files, choose template, reset layout boxes).
-
Re: Winchester Responsive - Contact Form Issue
I can not get my EZ Pages links to show up in the Winchester Responsive template top menu (Slimmenu) where it says "Useful Links".
All the standard EZ page settings are enabled, including the EZ Page Drop Menu in the Winchester sidebox layout boxes.
The rest of the Slimmenu works fine.
Installed on Zen Cart 1.57c on PhP 7.4. No other plugins installed.
Suggestions?
-
Re: Winchester Responsive - Contact Form Issue
Same problem here,
Quote:
Originally Posted by
owen26
I can not get my EZ Pages links to show up in the Winchester Responsive template top menu (Slimmenu) where it says "Useful Links".
All the standard EZ page settings are enabled, including the EZ Page Drop Menu in the Winchester sidebox layout boxes.
The rest of the Slimmenu works fine.
Installed on Zen Cart 1.57c on PhP 7.4. No other plugins installed.
Suggestions?
-
Re: Winchester Responsive - Contact Form Issue
I have successfully installed this template now, and begun to customize it for our use. But the area for the company logo is much too small for our logo. I've increased the size of that frame, but when I do, it pushes down the register/login portion. There is plenty of room in that part of the screen on the desktop version for a reasonably sized company logo. I assume the reason for restricting it is to allow the image to be displayed appropriately on the phone and tablet versions. But it seems as though you should be able to display the desired logo on the desktop version even if a different one is required for mobile devices. Does anyone know of a workaround or solution for this?
-
Re: Winchester Responsive - Contact Form Issue
One additional problem--I edited the 'Share and Connect' text only enough to replace the template author's Facebook address with our own, and now that whole block of text is being displayed instead of the social media icons that were there before. I've checked and I did not write over any quotes or other required punctuation in the html. Does anyone know how to get the icons back? I know which file to edit to replace the link for each one, but thought it would be easier to do it through the admin tools.
After this posted, I found another post relating to the same problem, with answers from people who have fixed it.
https://www.zen-cart.com/showthread....ble-footer-fix
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
HeleneWallis
I have successfully installed this template now, and begun to customize it for our use. But the area for the company logo is much too small for our logo. I've increased the size of that frame, but when I do, it pushes down the register/login portion. There is plenty of room in that part of the screen on the desktop version for a reasonably sized company logo. I assume the reason for restricting it is to allow the image to be displayed appropriately on the phone and tablet versions. But it seems as though you should be able to display the desired logo on the desktop version even if a different one is required for mobile devices. Does anyone know of a workaround or solution for this?
For some time now, we have advocated putting the logo in the define_main_page and not even display the logo or wrapper.
Haredo.com is where we first did it. Topkayaker.com amd spicewoodfood.com were more recent with the Spicewood logo being the majority of the info.
It's our belief that it's more important for the side columns to be "above the fold" on a desktop and that the logo is not needed in mobile. With the ability of today's Search Engines, most folks won't see a site's main page anyway.
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
dbltoe
For some time now, we have advocated putting the logo in the define_main_page and not even display the logo or wrapper.
Haredo.com is where we first did it. Topkayaker.com amd spicewoodfood.com were more recent with the Spicewood logo being the majority of the info.
It's our belief that it's more important for the side columns to be "above the fold" on a desktop and that the logo is not needed in mobile. With the ability of today's Search Engines, most folks won't see a site's main page anyway.
That's an interesting idea and I'll look at the sites you listed. I can redo the logo so it's formatted as more of a square than a long rectangle. That will make it fit better in the assigned space. But it's the only design element remaining from our very first website, and has some value to me for that reason, if nothing else.
-
Re: Winchester Responsive - Contact Form Issue
Regarding the Share and Connect problems in the flexible footer menu, here are the steps you need to take to fix this. You do need access to phpMyAdmin (part of cPanel) on your file hosting site, or whatever analogue your host provides for that.
1. Use Tools/Flexible Footer Menu to edit the Share and Connect text, substituting your company info for the picoflorazul text in the Facebook and other links. Copy that text to notebook or wordpad or wherever is a convenient temporary storage place. Don't save it. Just copy and paste to somewhere else.
2. Connect to your host, log in to cPanel and click on phpMyAdmin.
3. Choose the appropriate database. These are listed in the left hand sidebar. You'll see one that ends "_dbname" where "dbname" is the name you used when you first installed Zencart and created a database for it. There may be others but you want the one that ends with the name you chose. For many people, that's going to be "_zencart." But if you used a different name for your database, choose that one instead. Click on the database name.
4. Scroll down the list of tables on the left hand side of the screen until you find "Flexible Footer Menu" and click on that.
5. Look down at the very last row ID (26) on the list of rows in that table. Click on 'Edit' at the beginning of row 26. This will bring up another screen showing each of the fields on that row.
6. In the 'Col_html_text' field, replace whatever is there with the text you saved when you used the admin tools to edit that field.
7. Scroll farther down to where you see an icon labeled 'Go.' Click on that and your changes will be saved. DO NOT go back and save what you entered with the admin tools. All you needed that for was the basic code pattern that let you substitute your own social media urls for the ones that were in there to begin with. If you save what you edited there, you'll have to go back through this whole process again.
If you need to edit the text for the Share and Connect column again, you'll need to do the same thing.
-
Re: Winchester Responsive - Contact Form Issue
1.5.7c
I ve just changed my host but cannot restore my old zencart.( I cannot access my website from the previous host) Anyway, I decided to start from zero again. So the original template was zencart without and mod/upgared. I will used this template but when I download and installed the template in my page. There is no drop down list (in admin tool) to change from default zencart template to this template. What s wrong with my installation?
First, I extract the file in Myshop/includes/template then I check in admin tool, nothing appeared, So I changed to extract the file again in Myshop. and again no list in the tool.
May be I miss some steps. Can anyone send me the link for installation steps of the template to zencart.
TIA
-
Re: Winchester Responsive - Contact Form Issue
Try clicking on admin>Tools>Layout Boxes Controller. This worked for me when using clone-a-template.
https://www.zen-cart.com/showthread....t-Thread/page8
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
VDecalS
Do you means no specific setting of any functions??
-
Re: Winchester Responsive - Contact Form Issue
Please answer as many of the posting tips as possible. How did you install the site? What version of Winchester?
Just those two questions make a big difference in troubleshooting.
-
Re: Winchester Responsive - Contact Form Issue
So I'm doing a clean install, I was on responsive_sheffield_blue and looking for something new. My banner images are 980 x 250. Somehow on my new site they are showing much larger then on the old one. Any suggestions on a fix.
Also I was running side boxes on both left and right. On the new install I can only get the left side to show when I click a product.
https://www.thecubden.org/store1/
-
Re: Winchester Responsive - Contact Form Issue
ok i found the fix for Also I was running side boxes on both left and right. On the new install I can only get the left side to show when I click a product.
-
1 Attachment(s)
Re: Winchester Responsive - Contact Form Issue
Having issues with ezpages. https://www.thecubden.org/store1/ As you can see I have a few items setup. Attachment 19768 It all worked on my old site.
-
Re: Winchester Responsive - Contact Form Issue
What are your site's settings for Configuration :: EZ-Pages Settings? Are the header/footer pages enabled?
-
1 Attachment(s)
Re: Winchester Responsive - Contact Form Issue
So if in the Configuration :: EZ-Pages Settings I have it set to on, i get a nice bar just below my banner and that all works. On my old site I had it set at off but this info would show up in the top bar as shown in this image. Attachment 19771
With the new site it will not work. If i go to useful links it shows nothing.
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
cubmanky
So if in the
Configuration :: EZ-Pages Settings I have it set to on, i get a nice bar just below my banner and that all works. On my old site I had it set at off but this info would show up in the top bar as shown in this image.
Attachment 19771
With the new site it will not work. If i go to useful links it shows nothing.
So I guess that area is called a side box. Turning on the side box in the ez pages under tools fixed it
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
owen26
In the includes/templates/winchester_responsive_2.0/files/YOUR_ADMIN/includes/installers/winchester_responsive/1_0.php on line 139 change:
Code:
date_added datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
to
Code:
date_added datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
While helping a friend I ran into the same problem.
What I also found is the includes\languages\winchester_responsive\english.php in the template is outdated. It's based on the original file from Zen Cart v.1.5.5
You'll have to compare it to the file from 1.5.5 and paste the addon text to the file from 1.5.7
Don't consider this template ready to install on 1.5.7.
-
Re: Winchester Responsive - Contact Form Issue
Hi Everyone,
I recently changed over to PHP v7.2 (ZC v1.5.7d) and have been getting a lot of warnings/errors like this in the log files;
'PHP Warning: Use of undefined constant ZEN_COLORBOX_STATUS - assumed 'ZEN_COLORBOX_STATUS''
does anyone know how to fix this or these in general there are a few other undefined constants for a few other mods I have so would like to get them fixed/updated.
So far I have noticed the above error thrown in these files;
includes/modules/pages/product_info/jscript_zen_colorbox.php on line 12.
includes/templates/winchester_responsive/templates/tpl_modules_main_product_image.php on line 16.
Any help would be greatly appreciated.
~D
-
Re: Winchester Responsive - Contact Form Issue
That constant is in Image Handler. You probably had it loaded before but didn't load it when you upgraded to 1.5.7d.
Just some FYI. PHP 7.2 is End of Life. You should be using a minimum of 7.4 BUT, this template is eight years old and will more than likely have problems with 7.4
Also, make sure you get the latest version of Image Handler.
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
dbltoe
That constant is in Image Handler. You probably had it loaded before but didn't load it when you upgraded to 1.5.7d.
Just some FYI. PHP 7.2 is End of Life. You should be using a minimum of 7.4 BUT, this template is eight years old and will more than likely have problems with 7.4
Also, make sure you get the latest version of
Image Handler.
Thanks, I'll have a look through and see if I can find out why it's not being loaded and look into the latest version of the image handler while I am at it.
I am slowly going up through the PHP versions to fix errors/warnings as I go but keep the site still ticking over. The goal is to get to PHPv8. I have tried it with v7.4 and this template does appear to work just with a lot more warnings about functions and class constructors being deprecated in future versions of PHP, but that applies to not just this template but a lot of the add-ons too.
~D
-
Re: Winchester Responsive - Contact Form Issue
Should have been a file at includes/classes/observers/ColorBoxObserver.php.
At least, that'w where it is in v5
-
Re: Winchester Responsive - Contact Form Issue
Installed zencart 1.57d with Winchester template template on 7.42 php
For some reason my new products aren't showing at the following link:
https://gelcandlecompany.com/gelmelt...e=products_new
Anyone have an idea why?
-
Re: Winchester Responsive - Contact Form Issue
Log files showed missing files.
Re-uploaded template. solved my issue.
-
Re: Winchester Responsive - Contact Form Issue
How to disable the Specials banner and Left Slide Out?
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
ole01
How to disable the Specials banner and Left Slide Out?
To disable the Left Slide Out, in \includes\templates\winchester_responsive\common\tpl_main_page.php find this code:
Code:
<script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$('.slide-out-div').tabSlideOut({
tabHandle: '.handle', //class of the element that will become your tab
pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>', //path to the image for the tab //Optionally can be set using css
imageHeight: '50px', //height of tab image //Optionally can be set using css
imageWidth: '60px', //width of tab image //Optionally can be set using css
tabLocation: 'left', //side of screen where tab lives, top, right, bottom, or left
speed: 300, //speed of animation
action: 'click', //options: 'click' or 'hover', action to trigger animation
topPos: '100px', //position from the top/ use if tabLocation is left or right
leftPos: '20px', //position from left/ use if tabLocation is bottom or top
fixedPosition: true //options: true makes it stick(fixed position) on scroll
});
});
</script>
<div class="slide-out-div">
<a class="handle" href="http://link-for-non-js-users.html">Content</a>
<?php echo SLIDE_OUT_CONTENT; ?>
</div>
and add the code in red, before and after it:
Code:
<? /* ?php>
<script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$('.slide-out-div').tabSlideOut({
tabHandle: '.handle', //class of the element that will become your tab
pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>', //path to the image for the tab //Optionally can be set using css
imageHeight: '50px', //height of tab image //Optionally can be set using css
imageWidth: '60px', //width of tab image //Optionally can be set using css
tabLocation: 'left', //side of screen where tab lives, top, right, bottom, or left
speed: 300, //speed of animation
action: 'click', //options: 'click' or 'hover', action to trigger animation
topPos: '100px', //position from the top/ use if tabLocation is left or right
leftPos: '20px', //position from left/ use if tabLocation is bottom or top
fixedPosition: true //options: true makes it stick(fixed position) on scroll
});
});
</script>
<div class="slide-out-div">
<a class="handle" href="http://link-for-non-js-users.html">Content</a>
<?php echo SLIDE_OUT_CONTENT; ?>
</div>
<?php */ ?>
Basing this on my knowledge of the Westminster New template but should be the same for Winchester Responsive (sister templates)
-
Re: Winchester Responsive - Contact Form Issue
Thank you. It works.
There is another problem. How to disable the "Shopping Cart" (0 - $0.00) button at the top?
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
ole01
Thank you. It works.
There is another problem. How to disable the "Shopping Cart" (0 - $0.00) button at the top?
I don't have a Westminster/Winchester site that uses that feature. You might find it sufficient simply to hide that line of text and the simplest way would be to add 'display:none' to the relevant css selector. You can find out the css selector by using your browser's developer tools that should also tell you which css file to edit. This might be a good time to read up on those (CSS & Dev Tools).
-
Zen Cart CSS is explained in the docs - https://docs.zen-cart.com/user/template/stylesheet/, there will other topics of use in there aswell (https://docs.zen-cart.com/user/customizing/). You might also find the answer to your banner question.
-
Re: Winchester Responsive - Contact Form Issue
it's not bad to keep a "Shopping Cart" link (even if you want to get rid of the total price in the link anchor text) - it makes it easier for people to check out from your store.
-
Re: Winchester Responsive - Contact Form Issue
Thank you all. All done.
But in the mobile version, horizontal mode, the top menu is "Categories Information Contact", shifted to the left by the logo. Is it possible to align?
-
Re: Winchester Responsive - Contact Form Issue
My shop works in a mode - a showcase, there is no authorization.
Why can't you disable authorization in the top menu in the template. Why is it not written in the template description - disable authorization - this is a rebus.
-
Re: Winchester Responsive - Contact Form Issue
You will have to edit some files to get it to look exactly as you wish - running a Zen Cart installation as a showcase just isn't very common, so template authors didn't take the time to account for that configuration and change the layout accordingly.
-
Re: Winchester Responsive - Contact Form Issue
Quote:
Originally Posted by
swguy
You will have to edit some files to get it to look exactly as you wish - running a Zen Cart installation as a showcase just isn't very common, so template authors didn't take the time to account for that configuration and change the layout accordingly.
Yes, I forgot, in previous versions I modified the files:smile:.
-
Re: Winchester Responsive
Hello.
Today I tested a new template on hosting and got of errors.
Everything was fine locally.
1. PHP Warning: A non-numeric value encountered in /httpdocs/includes/classes/categories_ul_generator.php on line 73
Corrected, lowered the version of PHP. There were no problems with the classic template.
2. thrown in /httpdocs/includes/functions/html_output.php on line 274
if ( strtolower (IMAGE_USE_CSS_BUTTONS) == 'yes' && strlen($alt)<30) return zenCssButton ($image, $alt, 'submit', $sec_class /*, $ parameters = ''*/ );
Corrected, wrote - "NO".
The site started working, but the button GO in the search has become out of the old template.
Is it possible to return the button?
-
Re: Winchester Responsive
If I downvote PHP - error is thrown in httpdocs/includes/functions/html_output.php on line 274
and the site is not loading.
If I raise PHP the site loads but no categories on the main page. And an error appears
PHP Warning: A non-numeric value encountered in httpdocs/includes/classes/categories_ul_generator.php on line 73
-
Re: Winchester Responsive
Lowering the PHP version is not a strategy, it's a temporary measure only. Fix the issue in `includes/classes/categories_ul_generator.php`. What does that line say?
-
Re: Winchester Responsive
Quote:
Originally Posted by
swguy
Lowering the PHP version is not a strategy, it's a temporary measure only. Fix the issue in `includes/classes/categories_ul_generator.php`. What does that line say?
Problem solved. File categories_ul_generator.php replaced from version 1.5.7
Then in the file category_row.php on line 39 rewrite line 22, - $list_box_contents = array();
-
Re: Winchester Responsive
I installed the template on the second site.
Now the pages take a very long time to load, about 10 seconds.
No errors in logs. If I choose Responsive Classic, the pages open quickly.
What to do?
-
Re: Winchester Responsive
I asked a friend to check my site with a new template
Here is what he wrote:
The Winchester Responsive template tries to build what is called a "drop down menu for handheld devices". The template tries to take and list ALL product categories, at ALL levels, when it makes this menu, on ALL pages of the site. The template selects ALL categories and displays them on the page (and sends this page to the user), always, regardless of whether this menu will be shown or not. As a result:
1. On each page there is a request to the database for ALL categories.
2. All the resulting horror flows to the user (he is very happy to receive a page with a lot of traffic for 11,000+ categories - almost the entire site in a crowd).
3. The menu may not be shown to the user at all (for the desktop version), but it is still requested and poured to the user on EVERY page.
4. Zen didn't seem to actively use page caching, but that would be fun, no matter how much the caches take up.
5. Animation effects for this menu will not work in any modern browsers as mixed content js file for categories they take from http://cdnjs.cloudflare.com/ajax/lib....easing.min.js, and this is not https, but it's not. You need to put jquery.easing.min.js on your server and include it from there.
6. In the classic adaptive template, the same problem, only if that winchester responsive template collects and gives this menu always! even for the decktop version, the classic adaptive correctly detects the mobile device and inserts this menu only in the mobile version.
I have disabled the top menu.
There are more than 12,000 products on my site. Perhaps the template has not been tested with a large number of products.
The first site was 300 products and worked well.
-
Re: Winchester Responsive
With 12K products, you might not want to use a dropdown like that.
-
Re: Winchester Responsive
-
Re: Winchester Responsive
In one third the time it would take you to try to get winchester up to 1.5.8# standards, you could have bootstrap running to your advantage.
That's not even taking into consideration the time needed to make winchester compliant with accessibility standards.
whatever template you go with, install it and clone it first. Then use the clone to tidy up your "look". That leaves you with a fallback/tester template.