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?
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?
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.
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.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
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?
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
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?
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
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?
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.
Last edited by ole01; 19 Apr 2023 at 03:00 PM.
Bookmarks