Forum Discussion

tnotte's avatar
tnotte
Advisor
11 years ago

Mobile Tabs/Navigation

Hi,

 

Does anyone know a way to force the number of tabs you want to see; for example, I'd like to see 3 tabs before seeing "more".  I've been shown tricks to modify stock components by placing them in a custom component, and adding a line of javascript, if that helps with a creative solution here. :)

 

I'm not a huge fan of the tabs in general, breaking things out by discussion types; I'd love these to be sperated out by the community structure's categories, but I don't see how to do that either...  Bonus if someone's customized that to be cool!

 

Thanks!

  • Yes its also different depending on which device you are viewing with, see here - http://lithosphere.lithium.com/t5/developers-discussion/Mobile-navigation-experience-different-on-iOS-vs-Android/m-p/104707

     

    With some customisation you can write your own and override the built in one with community-links@override

     

    <#assign interaction_style = "none" />
    <#assign interaction_style = webuisupport.path.parameters.name.get("interaction-style", "none") />
    <#if page.name == "MobileCommunityPage" && interaction_style == "none">
     <#assign interaction_style = "forum" />
    </#if>
    <#if page.interactionStyle != "none">
     <#assign interaction_style = page.interactionStyle />
    </#if>