I finally fixed the problems with my module. Turns out there was a bug with the ExtensionPoint tag (it was already fixed).
So, now that I had the module up and ready for coding, the deliverables for this week were to create the Add Concept dialog for some of the widgets, by following my previous mockups. After having some trouble with Javascript (mainly because there are no “compiler errors” and the hard debugging, even with the Firebug tool), I finally have some (roughly) working thing to show.
Here’s a (working) Add Concept Dialog:
And here’s what happens to the big textarea if you click on Submit:
This is all Javascript magic. I’m still trying to figure out the perfect way of adding the widget dialogs so it’s easy for other developers to implement them (for new widgets). If you want you can check my progress on the module repository.
PS: I’m at a very early stage of development, so don’t be stressed about the “nasty popup dialog”. The goal this week is to have a simple code generator for the HTML Form Entry module. Both TinyMCE and FCKEditors support a lot more fancier “popups” (without really opening a new window), which will be used later.
PPS: Just one more exam to go (July 1)! Well, actually I’ll still have one more exam period (in which I can repeat the previous exams to get a better grade), but, for now, I’m only expecting to repeat one exam…






