General discussion

Create content type with database connection

Hello,

I would like to create a new content type in H5P that loads content from a database (Drupal 7, PostgreSQL).

I find it hard to make my way from the Hello World greeting card tutorial to such a complex plugin.

It would be helpful if anybody could tell me if there is already a plugin with database connection where I can look at how it works. Or if anybody could tell me what to read to get all the information I need.

Course Presentation: Remove or Fix Social Media Sharing

vev1's picture

Hi

Is there a way to delete the "Share on Twitter, Facebook, etc" social icons on the Results page? I know you can turn off the Results page but I want to keep it. I don't want them there, but also they don't seem to work properly.

For example, when it is shared on Twitter, it just says "I got 67% on this task:

And nothing after that. Not even a link.

Thanks,

Veronica

 

 

   

Compressed version of scripts and styles?

Is there a compressed (or at least concatenated) version of all scripts and styles from h5p libraries? Or how to make one?

The purpose is to be able to attach the compressed version instead of multitude od single scripts, for page performance. There would probably be much unused code in such h5p.all.js file and h5p.all.css, depending on how many libraries are actually used on the page. But still it would be a performance advantage, i think.

Pages