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

Forums / Bugs & Issues / Navigation widget style issue with group use only page

Navigation widget style issue with group use only page

8 posts, 0 answered
  1. Paul
    Paul avatar
    2 posts
    Registered:
    28 Jan 2009
    04 May 2011
    Link to this post
    1. I created 'Finding Help & Information' page with 'Show in navigation' and 'Use this page only to group other pages' options selected.

    2. I added three pages under 'Finding Help & Information' page. On each of them I added navigation widget with 'horizontal' and
    'all pages under particular page' option is selected. I selected 'Finding Help & Information' for the page for the option.

    3. In this page setting, if I click on 'Finding Help & Information', it opens first child page of clicked page since it is group use only page. However, first menu item of navigation widget is not properly treated as selected item. See screen shot for understanding.
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    18 Sep 2017
    09 May 2011
    Link to this post
    Hello Paul,

    Some css style gets overwritten and it is connected with a:active declaration if you have some scripts running on the page that get to interfere with the styling of RadMenu. Please review it with firebug and change the conflicting declarations if you are using some custom templates for navigation or page. In default settings it is working properly ( see screenshot ).

    Feel free to contact me if you have more questions.

    Greetings,
    Stanislav Velikov
    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
  3. Paul
    Paul avatar
    2 posts
    Registered:
    28 Jan 2009
    09 May 2011
    Link to this post
    Thank Stanislav.
    The issue existed when the child page's parent page was clicked and the parent page was 'group use only' page which showed its first child page when it was clicked.
    I checked HTML code generated by sitefinity, and found that 'rtsSelected' class was missing in <a> tag in this case. And if I click on the first tab, it renders selected tab correctly. Please see attached screen shot and code.
  4. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    18 Sep 2017
    12 May 2011
    Link to this post
    Hello Paul,

    By design the group page is made to show the content of the first child page. This excludes the function the link to that page to appear selected. If you notice in the url when you select the group page it says "/grouppage" and the group page is the active page, when child page is selected "/grouppage/page1". In order the first child to appear selected you should write code that will change the url of the group page to the url of the first child. Or if it suits the purpose simply create a redirect page.

    Regards,
    Stanislav Velikov
    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
  5. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    12 May 2011
    Link to this post
    Dear Stanislav

    Could it make sense

    a) to change the URL to the childpage so clients can copy it if they want to
    b) enable the function where the menu PageGroup will be open and the Page is selected for styling since this is where you are standing on.

    Always thought the panalbar should work this way and would hope Telerik would change that.

    I for one would vote for such an behavoir change!

    Markus
  6. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    18 Sep 2017
    16 May 2011
    Link to this post
    Hi Markus,

    A) Changing the URL of the group page which has no content but is just a link that always displays the first child contents by default is only one way to make the first child appear selected. For a second option a JQuery could prove to be useful when the group page is selected the child will appear as selected using this.
    B) We have planned big improvements for the navigation control to be released in 2011.

    Kind regards,
    Stanislav Velikov
    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
  7. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    16 May 2011
    Link to this post
    Dear Stanislav

    A) Have I understood you correct. Instead of having an PageGroup use a Page and link it to the first page of the group kind of how I would link to http://www.someurl.com?

    If yes this would be an easy workaround but of course would not work if the end-user drags an differen page to the top of the (virtual) PageGroup.

    Also an different Symbol would be displayed.

    So I still vote that the PageGroup should behave in a matter that it redirects to the first child page and also changes the url, and apply the selected style to the fist child of the group.

    B)

    Looking forward to a lot improvments. Please do not only think programmer wise but also designer wise. RadMenu horizontal and vertical instead of tabstrip and radmenu.

    Markus
  8. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    18 Sep 2017
    18 May 2011
    Link to this post
    Hi Markus,

    Yes it is true if a user with the permissions to modify pages does drag a different page at the top of a page group it will no longer work as the current default implementation of page groups is to show the content of the first child page. The improvements in the navigation control are aimed to provide more designer wise solution.
    I understand the frustration customizing stuff might be causing troubles like creating custom controls using panelbar or other, and this is the aim of the forums to help each other.
    Thank you for your constructive feedback, I want to point out that exactly thanks to our customers active participation and constructive feedback we are able to get your viewpoint and try meeting the demands you point out. We appreciate it.

    Greetings,
    Stanislav Velikov
    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
8 posts, 0 answered