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.

Add to mobile theme menu.

edited April 2012 in Vanilla 2.0 - 2.8

Seems like such a simple thing, but it's making me tear my hair out in frustration. I had never heard of smarty, let alone used it, before I started working with Vanilla. All I want to do is add a second line to the menu (above the vanilla menu items) with links to the static pages on my wordpress site. Every time I try, either the menu turns into a long bulleted list, or the header disappears entirely or something else weird happens. Can someone point me in the right direction?

Tagged:

Best Answer

Answers

  • peregrineperegrine MVP
    edited April 2012 Answer ✓

    I haven't really done much with smarty other then to add a menu item, so I can't help you other than provide these links.

    Here are some places that might help. It's a "point" to the links. Also the documentation and the wiki might help.

    http://typo3.org/extensions/repository/view/smarty

    http://en.wikipedia.org/wiki/Smarty

    http://typo3.org/extensions/repository/view/smarty

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Thanks for that. I've noticed that there's comparatively very little material available regarding the mobile theme on this forum. Is the mobile theme just not a priority for most people?

  • Just a thought - why don't you post a snippet of the smarty template that shows what you did, and maybe someone can give you an idea of how to fix it.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Good call.

    {asset name='Head'} <a href="http://www.vancouversouthsiders.ca">Home</a> {discussions_link} {profile_link} {inbox_link} {custom_menu} {event name="BeforeSignInLink"} {if !$User.SignedIn} {link path="signin" class="SignIn"} {/if} {asset name="Content"} {nomobile_link wrap="span"} {dashboard_link wrap="span"} {signinout_link wrap="span"} Powered by Vanilla {asset name="Foot"} {event name="AfterBody"}

  • I'll have to go in and inspect it, I just don't get why it overwrote the style that was already working fine.

Sign In or Register to comment.