Waiting to be Zenned - Over-thinking makes an easy task complicated.
That did the trick.
Thank you DrByte!
Anybody feel like working out why on the mobile version my links in the "Important Links" don't show as they do in the full version? That would complete the menu issues and I can dig into the Rants and Raves showing between the centerbox and Header instead of in the menu. Just point me somewhere to look so I can beat the hell out of it.
Waiting to be Zenned - Over-thinking makes an easy task complicated.
In the tpl_modules_mobile_menu.php template file, it builds those "Important Links" from the EZ-Pages Header, not from the sidebox.
You could try changing this:
to this:Code:include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php')); if (!empty($var_linksList)) {
Code:$var_linksList = $page_query_list_sidebox; if (!empty($var_linksList)) {
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
The responsive_classic template uses a bunch of javascript to hide certain sections in mobile.
You need to add your custom-added sections so that it knows what to do.
To hide the sidebox on mobile:
/includes/templates/responsive_classic/jscript/jscript_responsive_framework.php
If you want to copy the links you put in that sidebox's PHP/HTML so that they also appear in the mobile menu, add them manually to tpl_modules_mobile_menu.php:Code:$('#manufacturers').css({'display': 'none', 'visibility': 'hidden' }); $('#rantssidebox').css({'display': 'none', 'visibility': 'hidden' }); $('#reviews').css({ 'display': 'none', 'visibility': 'hidden' });
You could maybe nest them inside a sub ul/li list if you wanted them grouped.Code:<li><a href="put url here">put link text here</a></li>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Moving Rants and Raves to the mobile menu was a fun and educational challenge, thank you DrB. for the points!
I could have sat here until the Grim Reaper drew my name trying to figure out how to make it disappear from the centerbox and magically reappear in the menu. I'd never 'ave thunk of java.
Well, it looks like what I wanted. Thank you everybody that looked on, chimed in and got their giggles from all the happenings in this now updated thread. I hope a lot of people benefit from the trials we went through. Now I have to go cool off my carpal tunnels..........
Waiting to be Zenned - Over-thinking makes an easy task complicated.
and continue to not think of java....
think of javascript....
they are both coding languages.... but they are very different...
https://towardsdatascience.com/java-...9-a41ee2d3f78d
"...Java is to JavaScript as ham is to a hamster...."
Waiting to be Zenned - Over-thinking makes an easy task complicated.
Hello,
(V1.5.5)
We have a problem with "Your Total" field is squeezed on the page "Step 2 of 3 - Payment Information" when using Chrome browser on Desktop":
The same page is working fine in Firefox browser and mobile browser:
We cleared cookies and it did not help.
Please, advise where to look.
Thank you.
Bookmarks