Looking forward to seeing your improvements, I could definitely use them.
Hello.. Ok, I've completed this and uploaded to be evaluated. It needs to be OK'd though; I think.
If you want to try this version on your own, e-mail me at spook_man (at) hotmail (dot) com and I'll forward anyone interested in testing this.
Our DNN development box is running DNN PE 6.1.3, using .NET 4 and did a test of first installing the current version 1.0.0, configuring this module on a page and then upgraded to version 1.1.1 (this is the version I labeled my changes; for 1.1.0 I forgot
about the language sub-folders in the code; oops, needed to add them in). My original configuration settings transferred over and the new version settings were showing as they should; this is good.
Changes are mainly the seasonal capabilities (spring, summer, july 4th, fall and winter rotating images folder locations). I used Regex for these month/dates so there can't be, for example, a February 31st (02/31) entered for a date. In other
words, it knows how many days there are in the different months; e.g. no April 31st as well. When entering month and dates, ensure to keep the leading zero; e.g. 01 for January, 02 for February, 03 for March, etc.
The default month/dates for the different seasons are as follows:
March 20th - June 20th (03/20 - 06/20)
June 21st - September 21st (06/21 - 09/21)
July 1st - July 6th (07/01 - 07/06)
Fall: September 22nd - December 21st (09/22 - 12/21)
December 22nd - March 19th (12/22 - 03/19)
I also changed the module to use the updated the AJAX CDN jquery.cycle; from version 2.88 to version 2.99.
Another of the default parameters I added to the system is the default ability of the system to randomize the images; you'll now see "random: 1" in the options window.
I also added the ability for you to set the width and height of the image DIV which displays the images; if nothing is entered, then these are set to AUTO. So say you have rotating images which are 214x200 (HxW), you can set the DIV to 224x210 and
it give the image DIV some padding. NOTE: it takes your border and frame width into account as well. So, if you set the DIV size to 224x210 and you have a border and frame width set to 2, the end results of the image DIV will be 228x214.
I noticed that sometimes when set to AUTO, other modules below this carousel module will be loaded first and the carousel module will have modules below it over-layed on top of it. Setting a height to this resolves this issue.
And finally, I left the trouble-shooting labels in place. So if something isn't switching properly or it doesn't appear to be working properly, within the carousel.ascx.vb file on line 50, the lbl.Testing label is REMmed out to have it's visiblity
set to true. If you remove the single-quote ('), you should then see the information concerning the dates being used, etc.
Also on this page on line 45, you can manually set the Current month and date; CurrentMonthDate = "03/19". So if you need to test what certain rotating images are going to be used depending on the system date, just un-REM this line, remove the single
quote (') and enter the month and date as you see fit. On a browser refresh, the module will use this as it's current month and date instead of the system time. Again, good for trouble-shooting or testing of different rotating image folders.
Hope this will help others out. Thanks.. -Jeff