Hello all!
I need some serious help as my deadline is coming up fast! I am trying to add functionality to the announcements module. Additionally to the 'publish date' option, I want to add a 'publish end date' to automatically 'unpost' an announcement. I realize I need to add an additional calendar control, modify the tables to store this date, (and probably other things), but I'm not sure where to start...
I have reviewed the manual on developing modules, and many others, but cannot put two and two together: There are too many things to keep track of!
First off, I am developping in VS 2005, on DNN 4.3.3. I have created a new project called news_cip, and since I am building on the announcement module, i simply copied most of the .ascx control files from DesktopModules\Announcements to my project folder DesktopModules\news_cip.
I am able to add a new news_cip module to the portal, and the module behaves identically to the original. I have even gone to the extent of modifying the EditAnnouncements.ascx file to include an 'endpublishdate' text field. Yay, but what next?
- How do I activate my endpublishdate calendar to control the text field?
- How do I then update the table with the end date? Is this done in the cmdUpdate_Click function in Editnews_cip.ascx.vb?
- Also, how and where will I control whether or not an announcement is posted?
I have many more functions that I need to add, but I hope that developing this simple addition will give me a hands-on tutorial to link together everything that I have read in the manuals!
Many thanks in advance,
Caley