Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Custom links in repeater or datalist View modes: 
User avatar
Member
Member
sbakshi-ishir - 8/13/2010 6:33:51 AM
   
Custom links in repeater or datalist
Hi,

I am new to kentico cms, I have a technical query. I want to implement something like this in our project:

<Details> | <Link to play video> <Link for full details> | Date posted

I have to display the data in above format either in repeater or in datalist.

Where on click on play button a video will run in gray box, and on click on full details, other page will be called.

Can anyone help me in providing the solution for this, that how we can achieve this?

Thanks in advance.

Sitanshu

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 8/25/2010 8:26:24 AM
   
RE:Custom links in repeater or datalist
Hi,

This scenario is quite specific.
I suppose you are using Media libraries to store media files.
The Media Gallery webpart from that module could be suitable for this aim, however some additional page(s) for displaying the content in graybox will be needed to get a good result.

We would recommend to check appropriate Examples in our sample Corporate site to find how the Media gallery is used.

You can use the default transformation (the first one in the Media Gallery webpart properties) for the list and Selected item transformation for the full details view.

The play video link will have to lead to some special page, let's say /play.aspx, that will get the query parameter - e.g. media file FileID (rendered within the link by the transformation) and load an iframe with the video object into the graybox.

We would recommend using FancyBox - fancybox.net, as it is quite well made for this purpose.

Let us please know if you need any further details.

Regards,
Zdenek