Closed (fixed)
Project:
GridStack
Version:
8.x-2.8
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2022 at 04:42 UTC
Updated:
24 Jan 2023 at 18:29 UTC
Jump to comment: Most recent
Comments
Comment #2
gausarts commentedSorry for inconveniences :)
Please find more info:
/admin/help/gridstack_ui.If still trouble, here are the steps:
https://git.drupalcode.org/project/gridstack/-/blob/8.x-2.x/docs/README....
It was socialized months before release, precisely last end year:
https://www.drupal.org/node/2672858/revisions/12499335/view
Be sure you can view the file at your browser:
https://mysite.com/libraries/gridstack/dist/gridstack-static.js
Missing (404) or folder permissions (403) may fail loading it.
Let me know.
Comment #4
nelo_drup commentedThis file gridstack-static.js does not exist anywhere the closest would be gridstack-static.ts
without this file I still get the same error described in the general comment
Search from version 4 to 5 as indicated in the instructions
My version drupal is 9.5.2 and php 8.1
Comment #5
gausarts commentedSee #2 for details.
Must stick to the exact library versions mentioned there due to ever changing library contents.
Also see the related issue for v6 which is not supported yet, but should likely work fine.
I hope that helps :)
Comment #6
nelo_drup commented#5 I also put the versions that they put and this file is not there either
Comment #7
gausarts commentedYou are right.
The files need to be firstly generated using one these:
https://git.drupalcode.org/project/gridstack/-/blob/8.x-2.x/docs/README....
Be sure to retrict it to v5.1.1 as mentioned here:
#3308678: GRIDSTACK LIBRARY v6+ is not supported yet
Version 6+ is not supported yet. I noticed only minor mobile os enhancements, not really crucial to frontend usages, nor admin pages, mostly accessed via desktop.
Let me know if any other question?
Cheers.
Comment #8
gausarts commentedI put the GridStack library v5.1.1 archive at dropbox for FTP users:
https://www.dropbox.com/s/g7lrt6frn5wcvmd/gridstack.zip?dl=0
Be sure you can see /libraries/gridstack/dist/gridstack-static.js, in case your FTP put it in double gridstack folders.
Comment #9
nelo_drup commented#8 Now if the files exist, great and thanks