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

Forums / Developing with Sitefinity / Sitemenu - language selector integration

Sitemenu - language selector integration

2 posts, 1 answered
  1. Petr
    Petr avatar
    34 posts
    Registered:
    03 Jan 2011
    03 Jan 2011
    Link to this post
    Hi all! Please, have you got any tip how to integrate (as first item) language selector into SiteMenu control? I'd like to avoid hardcoding of this first level. Structure should be:

    Home default language (first level)
    - home lang 1 (as second level)
    - home lang 2 (as second level)
    Some page in lang 1 (first level)
    - second level for lang 1 
    Some page in lang 1 (first level)
    - second level for lang 1

    Thanks for any tips!

    Petr
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    06 Jan 2011
    Link to this post
    Hi Petr,

    You need to create a custom control which is bound manually to a list of cms pages. The CmsManager has a method GetPages that you can use. You can take a look at this post that shows how to get page language versions and urls.

    Kind 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
    Answered
2 posts, 1 answered