Page 92 of 108 FirstFirst ... 42829091929394102 ... LastLast
Results 911 to 920 of 1072
  1. #911
    Join Date
    Jan 2021
    Location
    Arizona
    Posts
    134
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by DrByte View Post
    Turns out lat9 and I were both wrong about the counts in the responsive_classic mobile menu.

    Those counts are not generated by Zen Cart at all. And they don't represent products or categories directly.
    They're in javascript, and the numbers represent the number of sub-items in the menu's HTML, giving hints about how large the sub-menu will be if clicked.

    You can turn off those counts in tpl_modules_mobile_menu.php by changing counters: true to counters: false here:
    Code:
    <script type="text/javascript">
      $(function() {
        $("#menu")
          .mmenu({
            slidingSubmenus : false,
            extensions : [ "theme-dark", "effect-listitems-slide" ],
            iconPanels: {
              add : true,
              visible: 1
            },
            navbar: {
              add : false
            },
            counters: true
          }).on('click', 'a[href^="#/"]', function() {
            alert("Thank you for clicking, but that's a demo link.");
            return false;
          });
      });
    </script>
    I think we diagnosed it just about the same time, good to know that both of us realized the same thing, and great that one of us has the smarts to know how to fix it. Gotta love teamwork, yes? Thank you DrB. I'll make the change.
    Waiting to be Zenned - Over-thinking makes an easy task complicated.

  2. #912
    Join Date
    Jan 2021
    Location
    Arizona
    Posts
    134
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by DrByte View Post
    Turns out lat9 and I were both wrong about the counts in the responsive_classic mobile menu.

    Those counts are not generated by Zen Cart at all. And they don't represent products or categories directly.
    They're in javascript, and the numbers represent the number of sub-items in the menu's HTML, giving hints about how large the sub-menu will be if clicked.

    You can turn off those counts in tpl_modules_mobile_menu.php by changing counters: true to counters: false here:
    Code:
    <script type="text/javascript">
      $(function() {
        $("#menu")
          .mmenu({
            slidingSubmenus : false,
            extensions : [ "theme-dark", "effect-listitems-slide" ],
            iconPanels: {
              add : true,
              visible: 1
            },
            navbar: {
              add : false
            },
            counters: true
          }).on('click', 'a[href^="#/"]', function() {
            alert("Thank you for clicking, but that's a demo link.");
            return false;
          });
      });
    </script>
    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.

  3. #913
    Join Date
    Jan 2021
    Location
    Arizona
    Posts
    134
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by TheGrimReaper View Post
    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.
    The Rants and Raves, by the way, is built from lat9's Blank_Sidebox mod, which is also awesome.
    Waiting to be Zenned - Over-thinking makes an easy task complicated.

  4. #914
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by TheGrimReaper View Post
    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?
    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:
    Code:
      include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php'));
      if (!empty($var_linksList)) {
    to this:
    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.

  5. #915
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by TheGrimReaper View Post
    the Rants and Raves showing between the centerbox and Header instead of in the menu.
    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
    Code:
    $('#manufacturers').css({'display': 'none', 'visibility': 'hidden'  });
    $('#rantssidebox').css({'display': 'none', 'visibility': 'hidden'  });
    $('#reviews').css({ 'display': 'none', 'visibility': 'hidden' });
    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:
    <li><a href="put url here">put link text here</a></li>
    You could maybe nest them inside a sub ul/li list if you wanted them grouped.
    .

    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.

  6. #916
    Join Date
    Jan 2021
    Location
    Arizona
    Posts
    134
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by DrByte View Post
    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
    Code:
    $('#manufacturers').css({'display': 'none', 'visibility': 'hidden'  });
    $('#rantssidebox').css({'display': 'none', 'visibility': 'hidden'  });
    $('#reviews').css({ 'display': 'none', 'visibility': 'hidden' });
    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:
    <li><a href="put url here">put link text here</a></li>
    Ok, I'll work on that. I'll go with the adding the links to the mobile.
    Waiting to be Zenned - Over-thinking makes an easy task complicated.

  7. #917
    Join Date
    Jan 2021
    Location
    Arizona
    Posts
    134
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    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.

  8. #918
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,711
    Plugin Contributions
    11

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by TheGrimReaper View Post
    I'd never 'ave thunk of java.
    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...."
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #919
    Join Date
    Jan 2021
    Location
    Arizona
    Posts
    134
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by carlwhat View Post
    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...."
    I apologize for confusing you. I'm a much better person today having found this out. Maybe Santa, or is that Santa Clause, will be kinder to me come Christmas.
    Waiting to be Zenned - Over-thinking makes an easy task complicated.

  10. #920
    Join Date
    Aug 2005
    Posts
    334
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    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":
    Click image for larger version. 

Name:	STEP 2 RESPONSIVE CHROME.jpg 
Views:	28 
Size:	51.9 KB 
ID:	19436

    The same page is working fine in Firefox browser and mobile browser:
    Click image for larger version. 

Name:	STEP 2 RESPONSIVE FIREFOX.jpg 
Views:	24 
Size:	64.8 KB 
ID:	19437

    We cleared cookies and it did not help.

    Please, advise where to look.

    Thank you.

 

 
Page 92 of 108 FirstFirst ... 42829091929394102 ... LastLast

Similar Threads

  1. v155 Support Thread - Responsive Color Changes for 155
    By dbltoe in forum Templates, Stylesheets, Page Layout
    Replies: 99
    Last Post: 1 Oct 2021, 12:31 PM
  2. v151 Tableau Responsive Theme - Support Thread
    By numinix in forum Addon Templates
    Replies: 622
    Last Post: 19 Apr 2020, 11:11 PM
  3. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Addon Templates
    Replies: 0
    Last Post: 17 Mar 2016, 12:30 AM
  4. v154 Order Steps Responsive [Support Thread]
    By davewest in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jul 2015, 06:11 PM
  5. Bentley Classic Template Support Thread
    By picaflor-azul in forum Addon Templates
    Replies: 173
    Last Post: 17 Sep 2013, 08:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR