+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Image Gallery LightBox Template

Image Gallery LightBox Template

14 posts, 0 answered
  1. Hitesh Gohel
    Hitesh Gohel avatar
    1 posts
    Registered:
    24 Sep 2009
    07 Oct 2009
    Link to this post
    Hi,

    Can i overwrite my custom fields with image (from different database table) using ImageGallery LightBox Template.
    And if not the how do i add additional fields in the ImageGallery Control.
    I am using Sitefinity 3.6 Standard Edition.

    Thanks in advance
    Regards,
    Hitesh
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    24 Mar 2017
    07 Oct 2009
    Link to this post
    Hi Hitesh Gohel,

    You can map GalleryLightboxList.ascx tempalte and modify it. You could add some controls to the template then use them in a custom contorol that derives from ImageGallery, but you cannot change the actual LightBox.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Ivan
    Ivan avatar
    51 posts
    Registered:
    22 Aug 2007
    12 Mar 2010
    Link to this post
    Hi Ivan,

    Where is this template located?

    Thanks.
    -Ivan
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    24 Mar 2017
    14 Mar 2010
    Link to this post
    Hello Ivan,

    Under Downloads section of your account there is an archive with External templates

    #  Standard edition trial External Templates for .NET 3.5   (zip, 652 KB)  

    #  Standard edition trial External Templates for .NET 2.0   (zip, 647 KB)

    from where you can get the template you are looking for.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Ivan
    Ivan avatar
    51 posts
    Registered:
    22 Aug 2007
    15 Mar 2010
    Link to this post
    Hi Ivan,

    I did not find the GalleryLightboxList.ascx template in either of the external template files you indicated.  I would like to modify the Image Gallery template which uses Lightbox in version 3.7.

    Please advise.  Thanks.
    -Ivan
     
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    24 Mar 2017
    15 Mar 2010
    Link to this post
    Hi Ivan,

    Take a look at  [ExternalTemplates.zip]\Sitefinity\Admin\ControlTemplates\Libraries\Modes. The template is located there.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  7. Ivan
    Ivan avatar
    51 posts
    Registered:
    22 Aug 2007
    15 Mar 2010
    Link to this post
    Hi Ivan,

    I'm looking at the template but I'm not sure how I would narrow the spacing between multiple rows when I use this template.  For example if I have 10 pictures and they display 5 on top of 5 how do I narrow the spacing between those 2 rows.  It's seems pretty wide.  Is it a css change?

    Thanks.
    -Ivan
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    24 Mar 2017
    15 Mar 2010
    Link to this post
    Hello Ivan,

    You can use css to do this. You can change the width and height of the
     ol.sf_photoListLightbox li dd.sf_image and ol.sf_photoListLightbox li

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  9. Ivan
    Ivan avatar
    51 posts
    Registered:
    22 Aug 2007
    22 Mar 2010
    Link to this post
    Hi Ivan,

    I think these values are in the embedded file as indicated by this reference in the control template: 

    <telerik:CssFileLink ID="CssFileLink1" FileName=""
     Media="screen" runat="server" EmbeddedFileName="Telerik.Libraries.Resources.ControlTemplates.Frontend.librariesCommonLayout.css"  />

    This embedded file always seems to get loaded last in the css hierarchy so I can't override the values you recommended.  Do I need to make a local copy of this file and change the EmbeddedFileName attribute to the FileName attribute?

    Thanks.
    -Ivan
  10. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    22 Mar 2010
    Link to this post
    Hello Ivan,

    You can obtain the style sheets used in the built in content view controls from this KB article: How to apply custom style sheets to Sitefinity Content View controls

    Best wishes,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  11. Ashraf Ahmed
    Ashraf Ahmed avatar
    2 posts
    Registered:
    13 May 2010
    18 May 2010
    Link to this post
    Dear Admin,
    I am developing a site using sitefinity 3.7. How i can download the ExternalTemplate.zip file.
  12. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    24 Mar 2017
    18 May 2010
    Link to this post
    Hi Ashraf Ahmed,

    Please take a look at How to map a template

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  13. Stuart Radlett
    Stuart Radlett avatar
    12 posts
    Registered:
    13 Feb 2009
    29 Jun 2010
    Link to this post
    Would it be possible to have the exact syntax for the entry needed in Telerik.Sitefinity.Configuration.ControlsConfig.xml to use GalleryLightboxList.ascx as an external template - I cannot find anywhere in the doco that lists these - Telerik.Sitefinity.Configuration.ControlsConfig.xml has nothing in it!

    Thanks,

    Stuart
  14. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    24 Mar 2017
    29 Jun 2010
    Link to this post
    Hello Stuart Radlett,

    You have to map this template from control edit mode - under advanced tab there is a section "Tempaltes" where you will find a property ItemListTemplatePath that you can use. Another option is using the control designer - Working with presentation modes

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
14 posts, 0 answered