Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

How to add one link to a page in mobile theme?

edited October 2013 in Vanilla 2.0 - 2.8

How to add one link to a page in mobile theme please? I tried adding in between:
</head> <body id="{$BodyID}" class="{$BodyClass}"> <div id="Frame"> <div class="Banner"> <ul> {discussions_link} {profile_link} {inbox_link} {custom_menu} {event name="BeforeSignInLink"} {if !$User.SignedIn} <li class="SignInItem">{link path="signin" class="SignIn"}</li> {/if} </ul> </div>

But it is not showing :(

The link I wish to add is something in this format <a href="http://site.com/...">.....</a>

Best Answers

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited October 2013 Answer ✓

    Try adding it in the ul

    <div class="Banner">
                <ul>
                  {discussions_link}
                  {profile_link}
                  {inbox_link}
                  {custom_menu}
                  {event name="BeforeSignInLink"}
                  {if !$User.SignedIn}
                     <li class="SignInItem">{link path="signin" class="SignIn"}</li>
                  {/if}
                  <li class="MyNewLink"><a href="http://site.com/...">.....</a></li>
     </ul>
             </div>
    

    You may need to add css to the link afterward that is why I gave it a class in the example above so you can add it to the css and make it the color of the other links or match the style.

Answers

Sign In or Register to comment.