Tagged: x
-
AuthorPosts
-
August 26, 2016 at 7:22 pm #1148936
depiqdParticipantHi
I’m very new to X and Cornerstone and so far it’s been exasperating.
I am trying to add a Google Map Element to my site using Cornerstone but it doesn’t show in the preview or load on the live site. I get a Javascript Error and am directed to check the Console. On checking the console I am greeted with the folloiwing (see attachement)
It appears that within the plug-ins directory of the wp-content folder that certain assets either can’t be found or can’t be loaded for some reason. Please can someone help with this as it’s driving me nuts!
Thank you
Alex
August 26, 2016 at 9:40 pm #1149205
Prasant RaiModeratorHello Alex,
Thanks for writing in!
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
September 9, 2016 at 5:19 pm #1168578
depiqdParticipantThis reply has been marked as private.September 10, 2016 at 1:46 am #1168985
Rue NelModeratorHello There,
Thanks for posting in!
Source maps are like favicons, a thing that will be loaded by browsers in some circumstances.
Typically, javascript/css are minified on production servers and debugging javascript/css on them is difficult.
Source maps are the original versions of minified javascript/css. It’s up to the developers to include them or not on their websites.
In Chrome, you have to activate this functionality for the browser to attempt to download the original non-minified version of a minified script. It is then easier to debug client-side.
In Safari 7, Source Maps are not something that you have to toggle on or off they are just always on like resources are always available in the web developer tool. If you want to jump to the raw source you can:
“…Command-click the file name to jump to the position in the original source file.”
The Safari Developer Guide (https://developer.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/ResourcesandtheDOM/ResourcesandtheDOM.html#//apple_ref/doc/uid/TP40007874-CH3-SW2) has more info on this.Basically, you can’t get rid of this error besides providing source maps.
Anyways, see: http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/
September 10, 2016 at 9:17 am #1169265
depiqdParticipantThis reply has been marked as private.September 10, 2016 at 9:34 pm #1169716
RadModeratorHi there,
It’s made for both developers and non-developers. It’s a theme framework, regardless of theme, there still need to add some coding when some required features don’t exist or fit the requirement. Non-developer is only limited to features provided within.
X theme and cornerstone doesn’t have any source maps. It’s named source maps but it’s not related to google maps. Source maps are always turned on in Safari, it’s built in feature. We already gave the URL that explains what it is http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/. It’s mainly used for debugging (for developers), but since you’re not a developer then it’s no use at all. And X theme’s core files are not meant to be edited, hence, no need for debugging those files too.
Now if the issue is about google maps, then we can help troubleshooting it. Please provide the exact URL where google maps isn’t working.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1148936 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
