Missing form elements

Missing form elements

by Steve Pelham -
Number of replies: 3

Hi,


again Ihave a technical question ...


For our needs I developed my own element (= folder in <MoodleDoc>/mod/customcert/elements). I copied the text-element (=  <MoodleDoc>/mod/customcert/elements/text) and renamed it to 

"mytext"

In <MoodleDoc>/mod/customcert/elements/mytext/classes/element.php I added 2 form-elements in the function render_form_elements($form).

Everything worked well. But the I installed he plugin on another server and

now 2 form-elements namely posx and posy are missing. Can you help me to repair that ?


Thanks a lot !


Best,


Steve

Average of ratings: -
In reply to Steve Pelham

Re: Missing form elements

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
See https://docs.moodle.org/311/en/Custom_certificate_module#Site_settings, specifically the part about 'Show position X and Y'. Basically it's a site setting and you will need to be an admin to turn this on.
In reply to Mark Nelson

Re: Missing form elements

by Steve Pelham -
Hi Mark,

you made m day ...!
Sorry for asking this stupid question ...
What we did is adding some features to the plugin such as a particular element that allows for adding db - info to the cert. If you are interested, we can also think of show our things ...

... have a nice week!

Best,

Steve