Deep link in level up
Hi Folks,
I have created a discussion app with lithium level up.
I have tried to build a custom navigation with a custom component.
This component lists all forums that I have previously added to the carrousel.
All the links get the following structure :
http://ourcommunity/t5/facebookforums/page/facebook-app/appid/board-id/a-board-id
I have two concerns. Links to forums are opened in a new tab (even with a target attribute set to _self) and not within facebook UI.
Did you already issue this or find a work around ?
Thanks in advance.
Clement
Hi Clement, this is by design to prevent links accidentally navigating the user away from the app (since context will be lost when returning), but you can add the CSS class lia-js-link-self-designated to an <A> element to make the link navigate within the iframe. You may have noticed that some of our links have this same class.
You can also add the class to any XHTML element to cause this behavior for all links contained within that element. For example, the top-level element of your custom component. Hope that helps!