More in this section

Forums / Developing with Sitefinity / add controls to templates on shared server

add controls to templates on shared server

2 posts, 0 answered
  1. John
    John avatar
    4 posts
    04 Jul 2007
    27 Jul 2007
    Link to this post
    Hi, i was wondering if there was a way we can add controls, specifically the language selector control to a template before we uploaded it to siteafinity, ie by placing it in a contentplaceholder or otherwise as when placed on indivual pages that contain news items or a blog  the subsequent pages that display the full news article fail to display the control as it is generated on the fly depending on the title of the news article.

  2. Slavo
    Slavo avatar
    295 posts
    24 Sep 2012
    27 Jul 2007
    Link to this post
    Hello John,

    If you want the language bar to be displayed on all pages, including pages showing single news items or blog posts, you can actually put it on a template after you upload it in Sitefinity. Go to Pages -> Templates, open the template you have created, and drop somewhere the LanguageBar control. Then select that template for all pages, on which you want to show the control.
    I tested this with normal pages, blogs and news, and the control appears with no problem even on the pages with Single blog post and single news item.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered