I am in the process of trying to add some new functionality to an old site that I have inherited, and am trying to upgrade..
I have managed to upgrade to 9.1.1, and I have a number of screens that write back to a database, via html code.
I am trying to add username and current date to the screen itself in 2 test boxes, with this then passed through html to the database via a stored procedure, this could be for updates or new entries.
I have tried to add a number of ways of doing a html date time as (dd/mm/yyyy hh:mm) but nothing seems to work, as the text box is nebver populated, but no error happens, and I cannot seem to get the username from dnn, has anyone got any code snippets they could share for me to try and solve this, I would be really grateful.
Michael TobischDNN★MVP
Hi Sebastian
Thanks for the response..
If I am right, the module is XModPro, which part of DNN Docs does the reference appear, I can have a look and see if this points me in the right direction.
Hi Michael
Thanks for that, were would I find those settings?
Jeff, XModPro is a third party module and not a core DNN module. Please contact the vendor, or see the documentation, use the forum etc. on https://www.dnndev.com/ Happy DNNing! Michael
Thanks for all the help, having dropped onto dnndev, I have managed to find the answers to my question, so i now the data I need.
Spoke to soon, getting this
SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
when passing the date to SQL via the html code to the sp.
Thanks for that, managed to solve it, now new issue, not passing through a new field value to the database, checked all the values, can see the value in the text box, but nothing in database, picking aprt the sp and code now to try and resolve this.
One step forward...
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.