Forking an Existing Library

Forums: 

Hello,

I'm currently trying to fork an existing H5P content type Library (dragText), customize it, and make it its own new library type. I'm currently working in the h5p-cli dev enviroment. I took the dragtext Library folder, copied it, made the JS and CSS changes I wanted and then went through the Library.json file and changed the machineName and all other instances of dragText. I also changed all instances of Dragtext in the javascript file as well as the css. I then added this library in my development env. Currently the editor for the new content type is working but nothing shows up when you open the h5p content after it is created.

Long Story short: how do I turn a copy of the existing DragText Library into its own content type library?

Thanks

Content types: 
papi Jo's picture

Hi Joseph!

You posted to the correct H5P forum this time. Your procedure is missing some important steps, which means your new library is not installed. I have been through this path with my own H5P hacks and am willing to help you but exchanging on this forum is not the easiest way to do it, as it takes some time for the posts to be validated, etc. You can contact me at my e-mail address to be found at the bottom of this welcome page of my Moodle site: https://www.rezeau.org/moodle/mod/page/view.php?id=265