Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Change the lightbox gallery. View modes: 
User avatar
Member
Member
Leandro Brito - 1/11/2012 8:34:51 AM
   
Change the lightbox gallery.
Hi,

Is possible to change the lightbox gallery plugin of kentico, I'm using "Attachment Image Gallery" webpart and having problems with it.
I want change only the JavaScript plugin to another, more simple.

Do I need do other a custom webpart to this or is possible to change only the script? My problem is how to do a repeater of attachments images?

Thanks for the help.

Leandro Brito.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/12/2012 2:30:08 AM
   
RE:Change the lightbox gallery.
Hi,

you can make a copy of existing web part and make the changes you want (modifying web parts).

So, it is up to you - you can also go with fully custom web part.

Best regards,
Juraj Ondrus

User avatar
Member
Member
Leandro Brito - 1/12/2012 5:14:45 AM
   
RE:Change the lightbox gallery.
Thanks Juraj, your solution is nice.

I used the Attachments Data Source and a BasicRepeater using the lightbox transformation, seems works fine. If it get any problem I'm going to use the clone method.

Best regards,
Leandro Brito

User avatar
Member
Member
Leandro Brito - 1/12/2012 7:36:32 AM
   
RE:Change the lightbox gallery.
The AttachmentsDataSource works fine on my first site, but in the second it isn't getting the attachments from de news. I'v used the same news for test, copying and pasting of site1 to site2.

Does someone know why datasource not return attachments?

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/13/2012 12:41:42 AM
   
RE:Change the lightbox gallery.
Hi,

Is the site and documents structure the same as in the first site? What are the datasource settings? Are they set correctly to reflect the second site structure? Are you using the same document type for news?

Best regards,
Juraj Ondrus

User avatar
Member
Member
Leandro Brito - 1/13/2012 4:41:24 AM
   
RE:Change the lightbox gallery.
Thanks Juraj, it works fine for all sites now.