Slideshow on Homepage

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

Julio Casal
Top 500 Contributor
Posts 50
Points 910
By: Julio Casal
Posted: Sat, Apr 7 2007 12:40 PM

Hi. I would like to take the Slideshow from the Gallery page and put it in my home page. I tried copying this code from slideshowpro.aspx page and pasting in my home page:

<CSGallery:GalleryPostSlideshowPro runat="server" />

...but what I get is just a black box, with no images nor controls. Of course I don´t undersand very well that control, because I don´t know how is it supposed to know which gallery or galleries to show.

Am I doing something wrong?

Thanks,

Julio

 

 
Ben Tiedt
Top 10 Contributor
Posts 3,338
Points 63,050
CS Developers
By: Ben Tiedt
Posted: Tue, Apr 10 2007 8:47 AM In reply to

The slideshow control only works for a single gallery or a single album -- it cannot, as it is currently implemented, show all posts on the site.

If you'd like to show a specific gallery, I can provide sample code.

Ben Tiedt's Blog

 
  • Post Points: 35 |
Julio Casal
Top 500 Contributor
Posts 50
Points 910
By: Julio Casal
Posted: Tue, Apr 10 2007 9:42 AM In reply to

Hi Ben,

Thanks for your response. Yes please it will be great if I can at least display photos from one specific gallery in my homepage. Please let me know how can I achieve that.

Thanks,

Julio

 
DanBartels
Top 25 Contributor
Posts 1,154
Points 69,760
CS Developers
By: DanBartels
Posted: Tue, Apr 10 2007 11:22 AM In reply to

Here is a thread in the gallery forms on this issue

http://communityserver.org/forums/p/485787/575852.aspx#575852

Basically the slideshow is a flash app, and you pass in an XML feed of the images you want it to show into the "FlashVars"

It looks like this functionality may have changed for CS 2007, but in CS 2.1 you if you called the main SlideshowFeed url SlideShowPictures.ashx at the \Photos level, you would indeed get a feed of all the photos on your site, that feed is "context sensative" so depending on the "path" you use to request the page, it will filter based on the gallery and album.

Dan

 
  • Post Points: 5 |
Ben Tiedt
Top 10 Contributor
Posts 3,338
Points 63,050
CS Developers
By: Ben Tiedt
Posted: Sat, Apr 14 2007 12:14 PM In reply to

I misspoke... the GalleryPostSlideShowPro control *does* support showing posts for all galleries... but to be hosted on the homepage, you'll need to apply a SiteUrls_override.config file (attached).

Deploy the attached SiteUrls_override.config file (unzip the attached file) in your root web folder (where your SiteUrls.config file currently resides) and restart your installation of Community Server 2007.

You can then add the <CSGallery:GalleryPostSlideShowPro runat="server" /> control onto your home page (web/themes/[theme name]/common/home.aspx) and the slideshow will show pictures from *all* of your galleries.

 

Ben Tiedt's Blog

 
  • Post Points: 50 |
Jeff Davis
Top 500 Contributor
Posts 93
Points 1,320
By: Jeff Davis
Posted: Tue, Apr 17 2007 8:40 PM In reply to

Ben,

This works great - thanks again for the terrific tips!

BTW - how would one find this stuff on his own (i.e., is it documented somewhere?)

Thanks,

Jeff 

Jeff Davis MBA Candidate, Class of 2008 The Fuqua School of Business, Duke University Profile: http://www.linkedin.com/in/jwdavis
 
  • Post Points: 20 |
Ben Tiedt
Top 10 Contributor
Posts 3,338
Points 63,050
CS Developers
By: Ben Tiedt
Posted: Wed, Apr 18 2007 10:43 AM In reply to

jdc:
BTW - how would one find this stuff on his own (i.e., is it documented somewhere?)

Hosting the Slideshow on the home page isn't technically supported by default (if it were, it would have been as simple as placing the GalleryPostSlideShowPro control on the home page) but, with this tweak, the support was added.  This tweak required some talk with the developers, but, in general, controls should work in a standard way.

We're currently populating the docs.communityserver.org site with additional documentation and I should be posting a CHM file (compiled help file) containing documentation for the controls available in CS2007 soon.

Ben Tiedt's Blog

 
  • Post Points: 5 |
Julio Casal
Top 500 Contributor
Posts 50
Points 910
By: Julio Casal
Posted: Thu, Apr 19 2007 8:29 AM In reply to

Hey Ben, thanks a lot! I would never imagine I could do that. My slideshow looks great on my homepage now!

Julio.

 
dotnetlover
Top 150 Contributor
Posts 151
Points 2,365
By: dotnetlover
Posted: Fri, Apr 20 2007 1:02 AM In reply to

Hello Ben,

How do i display a recent upload photos according to your post?  It's work for individual gallery, but for multiple galleries

I have multipled photos category and multiple pictures.  Your SiteUrls_override.config only displayed  a picture from very beginning.  I would love to display a recent photos instead.  Have any ideas? 

Thanks

 
  • Post Points: 35 |
tochacs
Not Ranked
Posts 14
Points 220
By: tochacs
Posted: Fri, Apr 20 2007 8:06 PM In reply to

I'm having a problem like you.  The slideshow only display the very first photo on homepage..for some reason i don't know why...I don't know if we can do specific gallery instead of all categories... Does anyone run into this situation

 
  • Post Points: 20 |
Julio Casal
Top 500 Contributor
Posts 50
Points 910
By: Julio Casal
Posted: Fri, Apr 20 2007 11:10 PM In reply to

I followed exactly Ben´s tip, and worked perfect for me. My slideshow in homepage shows all photos from all galleries.

Julio.

 
dotnetlover
Top 150 Contributor
Posts 151
Points 2,365
By: dotnetlover
Posted: Sat, Apr 21 2007 7:38 AM In reply to

jcasal:

I followed exactly Ben´s tip, and worked perfect for me. My slideshow in homepage shows all photos from all galleries.

Julio.

Is it showing from recent posts to previous post?

Ben's tip, it's work perfect, but only problem is the slideshow is showing old post first.  I have more a thousand pix on many galleries.  When i submit new pictures to gallery.  I then wait for it loops thru all posts, then to recent posts.  I can't get the slideshow display from recent posts first.

 
  • Post Points: 20 |
Julio Casal
Top 500 Contributor
Posts 50
Points 910
By: Julio Casal
Posted: Sun, Apr 22 2007 12:58 PM In reply to

You are right dotnetlover. My pictures are also showing old post first. It would be very nice to see last pictures first. I hope someone can help us with this.

Regards,

Julio

 
Mark Monica
Top 200 Contributor
Posts 116
Points 1,835
By: Mark Monica
Posted: Mon, Apr 23 2007 10:00 PM In reply to

I could be wrong but it looks like the only things that can be set with the slideshow currently are Height, Width, and CategoryId from what I can see in the SDK (don't have Visual Studio in front of me so I'm using Wordpad to look at the SDK code).  It does look like the sort is by LastPost in ascending order not descending with no ability to override.

For a definitive answer though we'll have to wait until Ben can help out.  Maybe this could be a feature request to add a QueryString for the sort mechanism.

 
dotnetlover
Top 150 Contributor
Posts 151
Points 2,365
By: dotnetlover
Posted: Mon, Apr 23 2007 11:51 PM In reply to

I would love to display a specific gallery.  Does anyone know?

 
  • Post Points: 5 |
Page 1 of 4 (52 items) 1 2 3 4 Next > | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

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