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

Forums / Designing & Styling / Is it possible to apply a custom widget template based on a theme being chosen?

Is it possible to apply a custom widget template based on a theme being chosen?

2 posts, 0 answered
  1. Dan Sorensen
    Dan Sorensen avatar
    256 posts
    Registered:
    13 Aug 2010
    13 Mar 2012
    Link to this post
    When I choose a custom theme, will all of the custom widget templates in the same folder automatically be applied, or will I have to customize each widget as I drag it into the page?
  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    16 Mar 2012
    Link to this post
    Hello Dan,

    Thank you for using our services.

    Your custom css theme doesn't include widget templates. It consists of css stylesheets and images. You can see the exact folder structure of a theme here. Widget templates, on the other hand, are .ascx files, which can be applied to a particular widget or globally to all instances of this widget. If you're applying the template to an exact widget you can do that by entering the relative path to the widget in its LayoutTemplatePath property. If you want to map the template globally, you have to go to Administration -> Settings-> ViewMap and create a new ViewMap instance.

    Let me know if you need additional assistance.

    Regards,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered