This project is read-only.

SP2010 Supported?

Jun 10, 2010 at 4:45 AM
Edited Jun 10, 2010 at 4:53 AM

I've successfully installed SP Ad Rotator on SP 2010 by using the management shell, and I can now add a web part that hooks up to an image library. Unfortunately, I can't seem to create a list of the 'advertisement list' type, so I can't make the images link anywhere. Any ideas? Is SP2010 supported for the rotator?

Jun 14, 2010 at 11:29 PM

SP2010 is supported. Did you activate the Ad Rotator feature (through Site Collection Features). This is what installs the content type/list template.

Jun 15, 2010 at 5:48 AM
Edited Jun 16, 2010 at 8:10 AM

Oddly enough, it seems to have appeared now. Not quite sure why - perhaps it just needed an IIS restart, or perhaps I was doing something stupid. In any case, I can confirm this works beautifully in SP 2010 Foundation. Thanks!

edit: Thanks for updating the code today! I've submitted a patch to allow custom css class name to be defined. I recently deployed that code in order to allow me to have a fluid width for the webpart (using the below css) - although one could use it for anything. 

/* makes all ad rotators (rotating or fixed) 100% of the width of the page */
.adrotator-generic {
    width: 100% !important;
    overflow: hidden;
}

Please excuse the zip file, I've never worked with CodePlex before.

Jun 17, 2010 at 5:47 AM

Great patch! I've uploaded the updated source to the code repository. Thanks!