Backup with user data takes everything and restores everything. So your initial discussion topics should be restored in a fresh copy.
Itamar Tzadok
Posts made by Itamar Tzadok
How about making a copy (backup) of the forum after you post your discussion topics and before you open it to the public? Whenever you need a fresh copy you can simply restore the forum backup adding a new instance to the course.
I've decided to add to this version one more feature that I need, so I'm pushing back the realse one week or so. That's an initial implementation of entry rules which allow you to hide an entry or lock editing/deleting by a condition on any of the entry fields. I also added dataform embedded which allows you to display and browse a dataform view inside a course section. So it should be worth waiting for a bit longer.
I don't know the doc you are referring to. I find it much simpler to take an example from the code of an actual component. Try mod/glossary edit.php and edit_form.php. edit_form.php is the form definition and edit.php is where the from is called and processed. Observe in particular the code under $mform->get_data which prepares and sends the form data to the DB.
I don't understand what you mean by 'Show the form inside Moodle'. If you mean inside a block then you really need to investigate first how blocks work to understand why a moodleform cannot be displayed simpliciter in a block.
Actually 'check with firebug' is just old habit. Every browser now offers web inspector which you can use to get that info (without installing firebug).