Wordsearch and crossword

Hi everyone, 

I would like to congratulate you to the latest release it is a huge stepping stone forward. I would also like to request the two features above I think they will add great value to the project. I thought I had requested them before but didn't find the request.  I have a quiz module for word search and have seen a working module for crosswords. Hopefully these new content types will find enough support from the community. 

Warmest Regards, 

F

Thank you Oliver and jithin. I'll give the new repos a try and report back :)

Hi Oliver and jithin. It is all working now. Thank you for your help, I really appreciate it! :)

Hi jithin,

Thank you for your help and for this content type.

I'm now attempting to add your content type as a custom H5P content type for course presentation. I've been following this as an example on how to add custom content types.

I am able to display an icon on the list of content types for a course presentation, however when I select the button, I get a javascript error (see error_01.jpg). This error is related to the setting of the "showVocabulary" variable:

var showVocabulary = params.behaviour.showVocabulary;

As a test, I just set this variable to "false" however after clearing the cache I then got another javascript error in regards to "slice" (see error_02.jpg).

Would you know what may be done to make this work?

I'll post the same question on your github too. Please let me know if you like to discuss this here or on GitHub.

Thank you for your assistance in this matter!

Attachments: 

Hi, jithin !

I want to use CrossWord (Find the Words) in the training course. Where can I get a working library of this type of content?

Thank.

Thank you Oliver and for the useful link about .h5p specification in te future. :)

Greetings

Mitchz

otacke's picture

You're welcome!

Thank you!!

Now I need to remove the previous versions... good news is this one works more smoothly. Ideally, images could be integrated (we're never happy enough right?) and word-definitions uploaded/copy-pasted in one go like the drag and drop texts or fill in the blanks. Also interesting how the arrows and space bar work in the squares. Cool stuff.  

otacke's picture

Hi Maude!

Thanks and suggestions should be directed to Jithin, who kindly contributed the content type and who seems to be actively working on it (last commit three weeks ago).

Best,

Oliver

How can this link be used for Moodle or content H5P?

otacke's picture

Hi Andrew!

You'd have to create an H5P library file either manually by stripping all the files that should not be in there (https://h5p.org/specification), zipping the folder and changing the file suffix to .h5p or by using the h5p-cli tool with command pack (https://github.com/h5p/h5p-cli). You can then upload that library to moodle.

Beware though: If this seems like a little bit of magic to you, you probably shouldn't install library from a github repository. There's nothing that can really go wrong, but it can actually be good to know what you're doing.

Best

Oliver

Hi otacke!

Grateful for the answer!
However, I need help. Please send the library a ready-made library (h5p-word-find-game.H5P). My qualification for its creation is not enough.
Thank!

otacke's picture

Hi Andrew!

The warning remains: If you're installing a library that is in development state, you should know what you're doing. And you can't even sort and zip files?

Best,

Oliver

Absolutely correct remark! Thank you for your time and attention!
Attempting to use the first method of creating the archive caused an error : "The file you uploaded is not a valid HTML5 Package". The second method is incomprehensible. I will wait for the official release.

Thank you, good luck,

Аndrew

otacke's picture

Hi Andrew!

Sorry if I came across rude, but I just want to prevent trouble that may be worse in the future.

Basically all you would have to do is zip all the files of the repository (not the folder itself that you will have downloaded) and strip all the files that H5P doesn't need and will complain about (this repo doesn't have any). Also, since WordFindGame requires another library that may not yet have been installed by other content types  you'll also have to do the same procedure with https://github.com/otacke/h5p-timer.

The caveat I was pointing out in general: If you install a library that is still in development (especially if it has never been released before) and it receives updates to the code, you cannot simply update the previously installed library unless the version number is changed. That's usually done on release, but there may be occasions where it is not. It's possible that your stuck with a version that's not up to date (possibly containing bugs, possibly even not fully compatible) for quite some time until another update is released officially - or you'd have to tamper with your moodle system. Again, that may or may not be huge, but that's why I said you should know what you're doing.

I am not sure if the content type is scheduled for release already, but the review was done at least: https://h5ptechnology.atlassian.net/browse/HFP-1778 In theory it could be released soon. So in this case, waiting might be a good option to go for.

Cheers,

Oliver

Hi Oliver!

Grateful for the answer. I did not want to offend you. This is due to my English.

I have great respect for the R5P project and you, as a software developer.

I hope you can send a working version of the library, since all my attempts to build and install the archive are unsuccessful.

Now they are working with your other development - an essay. How to export typed text for verification (after automatic verification). How to format the text in the Title and Task descriptor fields (there are few controls here)?

Once again, please excuse me.
Respectfully,
Andrew

otacke's picture

Hey Andrew!

You didn't offend me, really. I just may come across rude sometimes. It's a genetic condition. I'm from Germany ;-)

Find the Words

I checked the archive of Find the Words that you referenced, and it seems that it is a pretty outdated test version that is not suitable for release. I know that there's a more advanced (and presumably done) version of it, but I can't unveil that without the consent of Jithin. Also, I refrain from building and sharing libraries that are in development a bit. That might a) cause problems if people are not experienced with what they are doing, see above. And b) it might be like opening Pandora's box: "Hey, you built library X for Y, could you now build the latest version of library Z and send it to me. And while you're at it, I heard that next week library FOO might be updated but not yet released. Could you set yourself an alarm in your calendar and send it to me then?" - Yeah, a little exaggerated, but things like that happen ...

Essay

There is no particular export option. The latest version of Essay uses xAPI to pass results (including the text) to the host system as H5P does in general

The title field is not specific to Essay, but it's a field provided by the H5P Editor. It doesn't allow styling as it is basically supposed to just hold the name that's used by the host system (e.g. WordPress). If you need to change the styling of the title, you need to adjust the stylesheet (aka theme) of your host system. The features offered by the task description field are also not specific to Essay (per se). They are provided by the H5P Editor as well, which only provides a limited number of buttons that the underlying CKEditor has in stock. If you need more features, you should check out the documentation on customizing the editor buttons.

Cheers,
Oliver

 

Hi Oliver!

I recall the WordFindGame, as agreed last week.

 

Thank you, good luck,

Аndrew

 

otacke's picture

Hi Andrew!

What did we agree upon? I can't speed up the release. You'd have to ask the H5P core team. And as I mentioned, Jithin (the author of the content type) should point you to the repository of the current version that is in development, not me. The repository location isn't public, so I won't share it without the consent of Jithin.

Best, 

Oliver

Hi, Oliver!

I downloaded a zip-archive from https://github.com/jithin-space/h5p-find-the-words and placed it on my PC (c:\users\Andrew\Webstormprojects). I use Git GUI command h5p pack -r h5p-find-the-words-master my.h5p and got the error: You must specify libraries. What's wrong?

Help me to understand,
thank.

Hi, Oliver!

I built an archive my.h5p (https://github.com/jithin-space/h5p-find-the-words) and tried to connect it to Moodle. Error: The mbstring PHP extension is not loaded. H5P need this to function properly. What did you do wrong?
Thank!

otacke's picture

Your server needs some adjustments: cmp. https://www.php.net/manual/en/mbstring.installation.php

Hi, Oliver and Thank !!!

But there was a new problem when installing on Moodle: Missing required library H5P.Timer 0.4

H5P file: 
otacke's picture

Yes. It's a dependency of the content type and you will have to clone it from (https://github.com/otacke/h5p-timerinto the same folder that you cloned the content type to. If you use the -r option of the h5p pack command, it will be included in the library file.

And another question: I tried to use this library in H5P.ORG, errors:

 

Validating h5p package failed.

A valid content folder is missing

A valid main h5p.json file is missing

 

BV52's picture

Hi Andrew,

Oliver answered this question here.

-BV52

otacke's picture

Hey Andrew,

have you noticed that Find the Words was released today? I don't want to stop you from building everything yourself, but you don't have to as soon as it's available to local Hubs :-D

Best,
Oliver

Great news! And my thanks to the development team! This fall I will present a course at a conference for representatives of higher educational institutions in Kiev (I am from Ukraine) and I will definitely say that I owe my achievement to you and the team of ttt. Grateful for the help!
otacke's picture

Привет, Andrew!

Пожалуйста! Sorry, I just speak a tiny bit of Russian, not Ukrainian :-)

Рока,

Oliver

!

Hi, jithin !

I want to use CrossWord (Find the Words) in the training course. Where can I get a working library of this type of content?

Thank.

Hi Oliver!

Still interested in the issue of updating the library.

Thank you, good luck,

Аndrew

Wow we actually got a working copy on the h5p..Org under examples...

koodos to you all for the hard work!

Pages