Calling change to page layout frame page

Calling change to page layout frame page

This question has suggested answer(s)

I have a frames page that has 2 pages within it as defined here

telligent.com/.../page-layouts.aspx

SidebarLeftContentRight

is there a way to change what is shown in the ContentRight page by passing a URL? (the url would be different depending on what is clicked on the SidebarLeft

All Replies
  • Hi Charles,

    Depending on your requirements, I would suggest using a hash mark in an anchor tag for the SidebarLeft frame. For example <a href="#linkAction">Title</a> this would link to the same page. In the ContenRight frame you could parse the parameters from the URL using JavaScript. With the parsed parameters you can load the content you are looking for.

    Thanks,

    Rudy Sandoval

  • Could you provide a working example

  • Are you trying to something to the effect of this?

    if url has "abc"

     Display the alphabet on the right side

    if url has 123

     Display the numbers 1-9 on the right side

    If so, you can use the $core_v2_page.GetQueryStringValue(parameter_name) method in a widget to retrieve the query string value with that name.  Then, based on that value, select what content to render.  You would just place your widget on the right side of the layout.

    With this you could send the user to telligent.com and in your widget do $core_v2_page.GetQueryStringValue("display") which would return "abc".