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

2.1b - Moving the User Menu from sidebar to somewhere else

ZhaanZhaan Professional fool ✭✭
edited July 2013 in Vanilla 2.0 - 2.8

Hello again, VF gurus! :)

What would be the easiest or/and fastest way to move the user menu (notifications/settings/favourites etc.) from the sidebar to one of my custom menus? I'm working on a new design completely void of any sidebars, so I need to figure this out asap.

Is there some kind of relevant Smarty tag I can add to my default.master.tpl? Note that I'm on 2.1b, and the theme I'm using as my base is EmbedFriendly.

Thanks in advance.

Best Answers

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    Answer ✓

    Just change the panel layout . Move the panel either before the content in the tpl then change the style to make it inline and adjust the floats left and right of the modules using also css to get it how you want
    I did that on a page I wanted the panel but not as long and under the content. So it can be done.

    You can also find the modules code, their target, it would say asset target panel or something, and make it be content instead of panel. Make it all got to the content area , then make the content the width of the page too.

  • Options
    hgtonighthgtonight ∞ · New Moderator
    Answer ✓

    If you are getting rid of the panel completely, just include the module where ever you want it in your tpl file. E.g. {module name="MeModule}. Then just get rid of the panel content area (remove {asset name='Panel'} from your tpl file).

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Answers

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    Answer ✓

    Just change the panel layout . Move the panel either before the content in the tpl then change the style to make it inline and adjust the floats left and right of the modules using also css to get it how you want
    I did that on a page I wanted the panel but not as long and under the content. So it can be done.

    You can also find the modules code, their target, it would say asset target panel or something, and make it be content instead of panel. Make it all got to the content area , then make the content the width of the page too.

  • Options
    hgtonighthgtonight ∞ · New Moderator
    Answer ✓

    If you are getting rid of the panel completely, just include the module where ever you want it in your tpl file. E.g. {module name="MeModule}. Then just get rid of the panel content area (remove {asset name='Panel'} from your tpl file).

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options
    ZhaanZhaan Professional fool ✭✭

    Yep, that's what I was looking for. Thank you both. :)

Sign In or Register to comment.