If this is your first visit, check our documentation. To post, register or login.
Forums / Totally Off Topic / Support Site Issues & Questions / Blackberry display and operation issues with docs.zen-cart.com

Blackberry display and operation issues with docs.zen-cart.com

Started by mc12345678 on 21 Apr 2020, 2:07 PM · Views: 103

Results 1 to 7 of 7
21 Apr 2020, 2:07 PM
#1
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Blackberry display and operation issues with docs.zen-cart.com

Trying to update my links to point to the applicable docs.zen-cart.com locations equivalent to previous/current FAQ locations; however, I am currently not looking to point users to those locations as long as the issues (other than the last) such as described below are occurring.

First is that on my mobile device, Blackberry Classic, any page visited has the footer black area with the mailing list, twitter, github, etc.. is located at the bottom of the initial screen load, but does not "float" (nor do I really want it to) or get out of the way of the screen. Basically there are about 1.5" of screen where text can not be read behind it.

To this I do not yet know what CSS will make it work. I thought that it would resolve itself if I moved the <footer></footer> outside of the ```
<div class="container-fluid td-outer">



Then there are console errors from javascript/jQuery with the first having any negative effect with the following script information:
**SyntaxError: Unexpected token ')' at the first line**

const disableButtons=COLOR=#000000[/COLOR]=>{


yesButton.disabled = true;
noButton.disabled = true;
};


Then I have "alert" information though it doesn't seem to be an error, I think it is the reason that the line below that identifies that "undefined" is not a function:

jQuery.Deferred exception: undefined is not a function (evaluating 'headings.forEach') https://docs.zen-cart.com/js/main.min.e67709780baf9b96e718d9cd19859799e70b8d106c0200b245581e72e78142df.js:5:80l@https://code.jquery.com/jquery-3.3.1.min.js:2:29379https://code.jquery.com/jquery-3.3.1.min.js:2:29677 undefined
[URL="https://code.jquery.com/jquery-3.3.1.min.js"]jquery-3.3.1.min.js:2[/URL]


And I have this one (possibly as a result of the above issue(s)?):

TypeError: undefined is not a function (evaluating 'headings.forEach')[URL="https://docs.zen-cart.com/js/main.min.e67709780baf9b96e718d9cd19859799e70b8d106c0200b245581e72e78142df.js"]main.min.e67709780baf9b96e718d9cd19859799e70b8d106c0200b245581e72e78142df.js:5[/URL]


With the associated code of line 5 of that file that also does not have "undefined" in its text (likely something returned from within the forEach loop) from what I can see...:

varheadings=article.querySelectorAll('h1, h2, h3, h4, h5, h6');headings.forEach(functionCOLOR=#000000{[/COLOR]ifCOLOR=#000000{[/COLOR]vara=document.createElementCOLOR=#000000;[/COLOR]a.style.visibility='hidden';a.setAttributeCOLOR=#000000;[/COLOR]a.innerHTML=' <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>';a.href='#'+heading.id;heading.insertAdjacentElement('beforeend',a);heading.addEventListener('mouseenter',function(){a.style.visibility='initial';});heading.addEventListener('mouseleave',function(){a.style.visibility='hidden';});}});});}(jQuery));(function($){'use strict';var Search={init:function(){$(document).ready(function(){$(document).on('keypress','.td-search-input',function(e){if(e.keyCode!==13){return}


Lastly, while not "problematic" and doesn't really bother me other than if I mistakenly scroll off screen to the right, screen has white space to the right of the main page about equivalent to the width of the "left" side... I can't seem to find anything that visually takes or makes that space; however, I can't find any source code that prevents its presence as well.

Note that I am using Microsoft Edge to post this and it may have caused some "formatting" issues in the above content.  There does not appear to be spacing issues with the original content, nor are there additional ```
[COLOR]
``` type tags included... That seems to happen when using edge even though I have updated it to the most recent version thinking it would fix that junk.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

22 Apr 2020, 1:24 AM
#2
barco57 avatar

barco57

Totally Zenned

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

Re: Blackberry display and operation issues with docs.zen-cart.com

So far unable to reproduce on any of the cellphones I have access to.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

22 Apr 2020, 3:09 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Blackberry display and operation issues with docs.zen-cart.com

I wrote a small piece of code last night to do a test of code format. While I'm not 100% sure why the format of:

const var_as_function = () => {alert("Hello World");}

Didn't fire when the function var_as_function was called, but the operation did succeed when the empty parentheses were prefaced with the word function, I did at least get the alert when function was used/identified...

I'm surprised that what I think was found as a 2016 change in javascript (ES6?) may not have been incorporated into the browser of my device. I see that the current version of my OS was last updated in 2018, but haven't found documentation yet about the expected minimum (maximum?) coding standards expected... also not sure if/how those javascript console errors factor into the remaining display issue of what I'm seeing.

Not that I expected a change, but I did also try navigating the docs site using desktop view. Considering much of the formatting is based on resolution, there was no difference in the footer placement, though the left side content/menu was not presented which probably does play a factor in the location issue of the footer.

All that said, I have initiated an issue in the zen/docs github repo as well as left a comment to the original docsy commit that added the feedback section to the docsy theme. Those can be found at:
ZC/docs: https://github.com/zencart/documentation/issues/202
docsy/commit (comment location): https://github.com/google/docsy/commit/65c93dad0664f3413c2375dbb4ce81e9fea1d40e

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

22 Apr 2020, 5:14 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Blackberry display and operation issues with docs.zen-cart.com

Only problem I've found on a cell phone is that the DOCS are not an option in the mobile layout.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

22 Apr 2020, 5:18 PM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Blackberry display and operation issues with docs.zen-cart.com

dbltoe:

Only problem I've found on a cell phone is that the DOCS are not an option in the mobile layout.

Can you post a screenie? It looks ok on my iPhone.

That Software Guy. My Store: Zen Cart Support
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.

22 Apr 2020, 5:29 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Blackberry display and operation issues with docs.zen-cart.com

That's after you got there and probably from the main menu. The problem is in getting to the docs from a start in the mobile app. Your only option is the menu grid and it only shows these options.

[Attachment no longer available]

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

22 Apr 2020, 5:35 PM
#7
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Blackberry display and operation issues with docs.zen-cart.com

OK I see - but this is not the docs site. This is the main site in mobile view.

@drbyte if you go to https://zen-cart.com/ there's no easy way to navigate to the docs.

That Software Guy. My Store: Zen Cart Support
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.