<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Custom Modules</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Developing custom modules for DotNetNuke.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/361339.aspx</link><pubDate>Thu, 09 Oct 2003 08:56:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:361339</guid><dc:creator>Salaro</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/361339.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=361339</wfw:commentRss><description>Yes I have. It works fine. Are you using the latest 1.0.10c?
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/361135.aspx</link><pubDate>Thu, 09 Oct 2003 02:17:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:361135</guid><dc:creator>roarkweb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/361135.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=361135</wfw:commentRss><description>I'm trying to get this to work in DNN 1.0.10 but it's not cycling through the pictures.  Has anyone successfully gotten it to work in 1.0.10?
&lt;br /&gt;

&lt;br /&gt;
Thanks
&lt;br /&gt;</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/322527.aspx</link><pubDate>Thu, 28 Aug 2003 16:32:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:322527</guid><dc:creator>sherritp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/322527.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=322527</wfw:commentRss><description>I'll be scaling my pictures to fit (and to reduce their download size when they'll shrink) but I thought I'd throw out a feature request to have the module be able to do this for me...
&lt;br /&gt;

&lt;br /&gt;
My expectation wasn't for the module to change size (it would be set at whatever size was listed in the edit module page) but that the pictures would be displayed with their aspect ratio (the relationship between hight and width) fixed.  If the slideshow module was set at 400x400 and there were two pictures 200x100 and 200x800 they would be displayed at 400x200 and 100x400 with the background color showing through on the excess.  To do this, divide the target height and width by the actual height and width.  Scale the picture (both dimensions) by the more restrictive of the two ratios.
&lt;br /&gt;

&lt;br /&gt;
Great module.  I've got it on the front page of my site and have devoted another page to just showing a slideshow.  It's on an intranet or I'd send you a link.
&lt;br /&gt;

&lt;br /&gt;
Thanks for your work on this!
&lt;br /&gt;

&lt;br /&gt;
Tim</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/322050.aspx</link><pubDate>Thu, 28 Aug 2003 08:41:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:322050</guid><dc:creator>Salaro</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/322050.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=322050</wfw:commentRss><description>I use the Slide show as part of my page and it is very important that the module is fixed to certain size so the rest of the stuff on the page stays on the same place. Your suggestion with varying image size means that this module should be the only one on the page. 
&lt;br /&gt;

&lt;br /&gt;
I have not had a look at the source code for some time but from what I remember it was very efficiently done. The module does expect the user to edit the images prior to upload and I suppose Jpg is the most efficient way of doing it.
&lt;br /&gt;

&lt;br /&gt;
I love the module, although, I can do much better with flash but the whole idea that the user to be able to do it themselves without any knowledge of Flash is very appealing.
&lt;br /&gt;

&lt;br /&gt;
Salaro
&lt;br /&gt;</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/321874.aspx</link><pubDate>Thu, 28 Aug 2003 01:48:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:321874</guid><dc:creator>sherritp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/321874.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=321874</wfw:commentRss><description>I just installed the slideshow module and love it!  I do have a couple of comments:
&lt;br /&gt;

&lt;br /&gt;
Support for .gif and .png
&lt;br /&gt;
Show images without aspect ratio distortion (if one image is 200x400 and another is 400x200, one will be forced to be stretched regardless of module settings)
&lt;br /&gt;
Check for a trailing '/' on the end of the slideshow Root URL.  If / isn't on the end, files won't display correctly (but will be listed in the list box).
&lt;br /&gt;

&lt;br /&gt;
Good module!  Looking forward to more!</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/236934.aspx</link><pubDate>Wed, 04 Jun 2003 03:16:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:236934</guid><dc:creator>tamttt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/236934.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=236934</wfw:commentRss><description>Hi freakpower
&lt;br /&gt;

&lt;br /&gt;
I'm working on some addin for Gallery module, you could find it here
&lt;br /&gt;
&lt;a target="_new" href="http://www.tttcompany.com"&gt;www.tttcompany.com&lt;/a&gt;
&lt;br /&gt;

&lt;br /&gt;
Slideshow would be a great feature to add.
&lt;br /&gt;
If you're happy with this idea, I will integrate this feature into Gallery module. Please let me know, how I could get the final release of your code.
&lt;br /&gt;

&lt;br /&gt;
Thanks
&lt;br /&gt;

&lt;br /&gt;
Tam, Tran Minh
&lt;br /&gt;
tam@tttcompany.com
&lt;br /&gt;</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/235824.aspx</link><pubDate>Tue, 03 Jun 2003 04:57:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:235824</guid><dc:creator>zehn25</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/235824.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=235824</wfw:commentRss><description>Thanks for the help, Leigh.
&lt;br /&gt;

&lt;br /&gt;
I will give it a try.</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/235244.aspx</link><pubDate>Mon, 02 Jun 2003 17:03:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:235244</guid><dc:creator>Leigh Pointer</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/235244.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=235244</wfw:commentRss><description>Hi you can modify the SlideShow.ascx:
&lt;br /&gt;
Around line 69 you will find :
&lt;br /&gt;
&lt;pre&gt;    files = IO.Directory.GetFiles(Directory, &amp;quot;*.gif&amp;quot;)&lt;/pre&gt;
&lt;br /&gt;
Change to:
&lt;br /&gt;
&lt;pre&gt;    files = IO.Directory.GetFiles(Directory)&lt;/pre&gt;
&lt;br /&gt;
This will load all the files into the array.
&lt;br /&gt;

&lt;br /&gt;
Further down, around line 90 you will find the start of the For each loop:
&lt;br /&gt;
&lt;pre&gt;    For Each File In files&lt;/pre&gt;
&lt;br /&gt;
Here you need to insert two new lines of code underneath this line.
&lt;br /&gt;

&lt;br /&gt;
&lt;pre&gt;Select Case LCase(IO.Path.GetExtension(File))
&lt;br /&gt;
    Case &amp;quot;.jpg&amp;quot;, &amp;quot;.jpeg&amp;quot;, &amp;quot;.jpe&amp;quot;, &amp;quot;.gif&amp;quot;, &amp;quot;.bmp&amp;quot;, &amp;quot;.png&amp;quot; ' Extend to meet your needs.&lt;/pre&gt;
&lt;br /&gt;
Last thing is to close the &lt;b&gt;Select&lt;/b&gt; statement with &lt;b&gt;End Select&lt;/b&gt;, just above the &lt;b&gt;Next&lt;/b&gt;.
&lt;br /&gt;

&lt;br /&gt;
Hope this helps.
&lt;br /&gt;

&lt;br /&gt;
It should look like this:
&lt;br /&gt;
&lt;pre&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
            For Each File In files
&lt;br /&gt;
                Select Case LCase(IO.Path.GetExtension(File))
&lt;br /&gt;
                    Case &amp;quot;.jpg&amp;quot;, &amp;quot;.jpeg&amp;quot;, &amp;quot;.jpe&amp;quot;, &amp;quot;.gif&amp;quot;, &amp;quot;.bmp&amp;quot;, &amp;quot;.png&amp;quot;  ' Extend to meet your needs.
&lt;br /&gt;
                        StrFilenameOnly = IO.Path.GetFileName(File)
&lt;br /&gt;
                        If Count = 0 Then StartImage = RootPath &amp;amp; StrFilenameOnly
&lt;br /&gt;
                        JavaScript = JavaScript &amp;amp; &amp;quot;Pic[&amp;quot; &amp;amp; Count &amp;amp; &amp;quot;] = &amp;quot; &amp;amp; &amp;quot;'&amp;quot; &amp;amp; RootPath &amp;amp; StrFilenameOnly &amp;amp; &amp;quot;'&amp;quot; &amp;amp; vbCrLf
&lt;br /&gt;
                        If IO.File.Exists(Directory &amp;amp; &amp;quot;_metadata.xml&amp;quot;) Then
&lt;br /&gt;
                            Filenode = xml.SelectSingleNode(&amp;quot;/files/file[@name='&amp;quot; &amp;amp; IO.Path.GetFileName(File) &amp;amp; &amp;quot;']&amp;quot;)
&lt;br /&gt;
                            Try
&lt;br /&gt;
                                JavaScript = JavaScript &amp;amp; &amp;quot;Description[&amp;quot; &amp;amp; Count &amp;amp; &amp;quot;] = '&amp;quot; &amp;amp; Filenode.Item(&amp;quot;description&amp;quot;).InnerText &amp;amp; &amp;quot;'&amp;quot; &amp;amp; vbCrLf
&lt;br /&gt;
                            Catch
&lt;br /&gt;
                                JavaScript = JavaScript &amp;amp; &amp;quot;Description[&amp;quot; &amp;amp; Count &amp;amp; &amp;quot;] = '&amp;quot; &amp;amp; &amp;quot;&amp;quot; &amp;amp; &amp;quot;'&amp;quot; &amp;amp; vbCrLf
&lt;br /&gt;
                            End Try
&lt;br /&gt;
                        Else
&lt;br /&gt;
                            JavaScript = JavaScript &amp;amp; &amp;quot;Description[&amp;quot; &amp;amp; Count &amp;amp; &amp;quot;] = '&amp;quot; &amp;amp; &amp;quot;&amp;quot; &amp;amp; &amp;quot;'&amp;quot; &amp;amp; vbCrLf
&lt;br /&gt;
                        End If
&lt;br /&gt;
                        Count = Count + 1
&lt;br /&gt;
                End Select
&lt;br /&gt;
            Next
&lt;br /&gt;
&lt;/pre&gt;
&lt;br /&gt;

&lt;br /&gt;
Regards, Leigh
&lt;br /&gt;

&lt;br /&gt;</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/235223.aspx</link><pubDate>Mon, 02 Jun 2003 16:48:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:235223</guid><dc:creator>zehn25</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/235223.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=235223</wfw:commentRss><description>Don't know if this will give any needed info, but what the heck.  I saw the post for the .js file, and waited to receive it before I installed the mod, so I don't know if it would have worked without it.  I do know that the popup.js script that I was sent is identical to the javascript that is used to create the popup slideshow for the image gallery.  So, to test, I just removed the javascript from the dnn directory completely, and browsed to my page with the slideshow on it, and it worked fine.  For me, it says that the js file is not necessary for this mod.
&lt;br /&gt;

&lt;br /&gt;
Just FYI...thanks for mod.
&lt;br /&gt;

&lt;br /&gt;
By the way, thanks for the response on the requests...give a guy an inch, etc.  If you are interested, the TTTimage gallery has very cool upload capabilities that include subfolders for different 'albums'.  It is open source, so if you need me to shoot you a copy of the code, I will.
&lt;br /&gt;

&lt;br /&gt;
Thanks,</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/235095.aspx</link><pubDate>Mon, 02 Jun 2003 14:46:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:235095</guid><dc:creator>thecrispy1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/235095.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=235095</wfw:commentRss><description>If there is no need for the file, why is it working for all those I sent the file to now?  I am just asking because I am curious.
&lt;br /&gt;

&lt;br /&gt;
Just as some reinforcement, I think this mod is great!</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/234926.aspx</link><pubDate>Mon, 02 Jun 2003 09:46:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:234926</guid><dc:creator>freakpower</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/234926.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=234926</wfw:commentRss><description>The client side java script is generated in de codebehind files there is no js file.
&lt;br /&gt;
the javascript looks like this: 
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;gt;
&lt;br /&gt;
function runSlideShow(){
&lt;br /&gt;
   if (document.all){
&lt;br /&gt;
      document.images.SlideShow.style.filter=&amp;quot;blendTrans(duration=2)&amp;quot;
&lt;br /&gt;
      document.images.SlideShow.style.filter=&amp;quot;blendTrans(duration=crossFadeDuration)&amp;quot;
&lt;br /&gt;
      document.images.SlideShow.filters.blendTrans.Apply()      
&lt;br /&gt;
   }
&lt;br /&gt;
   document.images.SlideShow.src = preLoad[j].src
&lt;br /&gt;
   if (document.getElementById) document.getElementById(&amp;quot;CaptionBox&amp;quot;).innerHTML= Description[j]
&lt;br /&gt;
   if (document.all){
&lt;br /&gt;
      document.images.SlideShow.filters.blendTrans.Play()
&lt;br /&gt;
   }
&lt;br /&gt;
   j = j + 1
&lt;br /&gt;
   
&lt;br /&gt;
  
&lt;br /&gt;
   
&lt;br /&gt;
   if (j &amp;gt; (p-1)) j=0
&lt;br /&gt;
   t = setTimeout('runSlideShow()', slideShowSpeed)
&lt;br /&gt;
}
&lt;br /&gt;
&amp;lt;/script&amp;gt;
&lt;br /&gt;
&amp;lt;BODY onload=&amp;quot;runSlideShow()&amp;quot;&amp;gt;
&lt;br /&gt;
	&amp;lt;span id=&amp;quot;_ctl4_ClientJavascript&amp;quot;&amp;gt;&amp;lt;script language='javascript'&amp;gt;
&lt;br /&gt;
var slideShowSpeed = 3000
&lt;br /&gt;
var Pic = new Array()
&lt;br /&gt;
var Description = new Array()
&lt;br /&gt;
Pic[0] = 'portals/slideshow/mini-mini-01.jpg'
&lt;br /&gt;
Description[0] = 'Antwerpen! Anno dan he'
&lt;br /&gt;
Pic[1] = 'portals/slideshow/mini-mini-03.jpg'
&lt;br /&gt;
Description[1] = 'Oud en nieuw 2002-2003'
&lt;br /&gt;
Pic[2] = 'portals/slideshow/mini-mini-04.jpg'
&lt;br /&gt;
Description[2] = 'Vuurwerk Afsteken'
&lt;br /&gt;
var t
&lt;br /&gt;
var j = 0
&lt;br /&gt;
var p = Pic.length
&lt;br /&gt;
var preLoad = new Array()
&lt;br /&gt;
for (i = 0; i &amp;lt; p; i++){
&lt;br /&gt;
preLoad[i] = new Image()
&lt;br /&gt;
preLoad[i].src = Pic[i]
&lt;br /&gt;
}
&lt;br /&gt;
&amp;lt;/script&amp;gt;</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/234920.aspx</link><pubDate>Mon, 02 Jun 2003 09:33:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:234920</guid><dc:creator>freakpower</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/234920.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=234920</wfw:commentRss><description>Hi Zehn,
&lt;br /&gt;

&lt;br /&gt;
I forget to put the other file extensions then jpg in this version :( this is verry easy to fix,  
&lt;br /&gt;
I was already thinking of an upload capabilities for the next version.
&lt;br /&gt;

&lt;br /&gt;
Greetz Freakpower</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/234840.aspx</link><pubDate>Mon, 02 Jun 2003 06:59:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:234840</guid><dc:creator>GhoST.ReapeR</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/234840.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=234840</wfw:commentRss><description>&lt;b&gt;thecrispy1&lt;/b&gt;
&lt;br /&gt;
Thanks a lot! I get Your e-mail whith js-file. And You got auto-thanks message on Your e-mail :). Sorry, it's my mistake to write it only on Russian.</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/234811.aspx</link><pubDate>Mon, 02 Jun 2003 06:16:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:234811</guid><dc:creator>zehn25</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/234811.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=234811</wfw:commentRss><description>I mistyped it...I meant that I couldn't get .gif's to work.  I am only using .jpg's as well.</description></item><item><title>Re: Slideshow module for DNN 1.0.8</title><link>http://forums.asp.net/thread/234808.aspx</link><pubDate>Mon, 02 Jun 2003 06:13:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:234808</guid><dc:creator>thecrispy1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/234808.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=234808</wfw:commentRss><description>It does allow jpgs.  I am currently only using jpg's for mine.</description></item></channel></rss>