Slideshow on Homepage

rated by 0 users
This post has 51 Replies | 12 Followers

Top 75 Contributor
Posts 294
Points 4,195

Well, my Override seems ok. When I change the CustomSlideshowPictures.ashx to the orignal SlideshowPictures.ashx, it works fine, it shows all galleries.

 

<Override xpath="/SiteUrls/locations/location[@name='common']" mode="add">

<url name="home_SlideShowPictures" path="SlideShowPictures.aspx" pattern="SlideShowPictures.aspx" vanity="/Photos/SlideshowPictures.ashx" />

<url name="home_SlideShowPicturesScale" path="SlideShowPictures{0}x{1}.aspx" pattern="SlideShowPictures(\d+)x(\d+).aspx" vanity="/Photos/SlideshowPictures.ashx?Width=$1&amp;Height=$2" />

</Override>

  • | Post Points: 5
Top 75 Contributor
Posts 294
Points 4,195

I put a breakpoint in my CustomGallerySlideshowHandler.cs .  It's not being hit. I tested it with a breakpoint in the regular GallerySlideshowHandler.cs, and that one is being hit. I checked the CustomSlideshowPictures.ashx by changing it to point to the original GallerySlideshowHandler.cs, and it works. So my custom handler is just not being called at all. Any thoughts?

  • | Post Points: 5
Top 75 Contributor
Posts 294
Points 4,195

Finally got it worked out. Thanks for the help.

  • | Post Points: 5
Not Ranked
Posts 42
Points 555

This is going to seem like a dumb question but how do I get the gallery ID and do you have any thoughts on passing it in dynamically or at runtime 

  • | Post Points: 20
Not Ranked
Posts 12
Points 190
robhuz replied on Fri, Jan 11 2008 1:32 PM

Roll your mouse over a gallery when browsing galleries and examine the URL. This will give you the gallery id.

  • | Post Points: 20
Not Ranked
Posts 42
Points 555

 Nah that just gives m the friendly name/path

  • | Post Points: 20
Not Ranked
Posts 12
Points 190
robhuz replied on Fri, Jan 11 2008 2:57 PM
Go to control panel/administration/photos and select grid view. It works; I just tried it.
  • | Post Points: 5
Page 4 of 4 (52 items) < Previous 1 2 3 4 | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com