I have a personalized version of this module (there is a copy on Github) which adds repeating alarms functionality, the lack of which is holding me back from moving to V14.
I want to port this to v14. I have now made two attempts to do this. The first was partially working when I realized that it was actually based on V13. I then tried using ‘Ring-groups’ as a base but am really at a loss to complete this. There seems to be so much ‘hidden’ stuff. For example, I cannot work out how the ‘Submit’ button works so can’t modify it to save the details to a different table. There are also loads of functions defined which are not explicitly referenced from anywhere in the module code.
The main functionality I need is to input several fields including time and date and to be able to select an extension, and then save them to a table.
Also the ability to amend and delete entries.
Any advice on what existing module to base it on and pointers to V14 methodology would be greatly welcome.
I have managed to work out how to display existing data from the database table but that is about it.
I’m not intending to become a FreePBX developer - just to gain the basic knowledge to achieve the above.
In the 1st ‘action’ is a null string while in the 2nd action="?display=daynight".
Both have an ‘onsubmit=’ “return something” but I can’t fathom out what they are referencing.
checkGRP(editGRP) looks like a function but again checkGRP does not exist anywhere.
Do I need to go back to V12 documentation?
PS: I have made a few postings to the forum recently but have only received pop-up notifications on the web page - which I don’t find very useful (On one post I waited days for a response and eventually went back to try again and only then say that there was a response.)
A few minutes ago I did receive an email for your 2nd response. Can that be made permanent ?
Thank you - beginning to make sense. My reference to V12 is the documentation which shows the move from FreePBX 2.11 to FreePBX 12. I suppose I should start studying the changes at that point.
As to emails, I did not get any notification of your last post. It may be to do with Greylisting implemented on my mail server. I will start a new thread if necessary after checking the mailserver logs.
People say this all the time. The courteous thing to do is to check back every day or two until someone (even if it’s only me) responds. Relying on email for something as spammy as a mailing list is fraught with peril.
You take that feature code and then you query the feature code class to make sure it’s enabled then you query the class to get the user defined value. Then you generate dialplan. Generating dialplan is not documented.