HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Add and arrange menu item addons?

Hi, I would like to customize my navigation with my own links. Some users recommend https://open.vanillaforums.com/addon/addmenuitem-plugin

But this only lets you actually add 2 links that display for mobile and desktop and does not let you order them. Currently my forum is using the Gopi theme which displays Discussion and Categories at the top left. I would like to remove those and add roughly 5 of my own links if possible.

Help appreciated! :D

Comments

  • Options
    RiverRiver MVP
    edited December 2018

    @Leehua said:
    Hi, I would like to customize my navigation with my own links. Some users recommend https://open.vanillaforums.com/addon/addmenuitem-plugin

    But this only lets you actually add 2 links that display for mobile and desktop and does not let you order them. Currently my forum is using the Gopi theme which displays Discussion and Categories at the top left. I would like to remove those and add roughly 5 of my own links if possible.

    Help appreciated! :D

    You can clone and make a copy of the gopi theme, and then modify it for your own use.
    search on forum on cloning or copying themes.

    you can read docs on theme design as well.

    generally, you can change links in default,master.tpl which is in the views folder of your theme. gopi -> views -> default,master.tpl

    since you mentioned Discussions and Categories and Custom Items.

    the general notation for these items is

    {discussions_link}
    {categories_link}
    {custom_menu}

    if you want customs menu (your added links via plugin) to appear first - change it

    {custom_menu}
    {discussions_link}
    {categories_link}

    if you want to remove an item you can delete it or comment it out

    to comment something so it iis not acted upon wrap it with {* comment*}
    so commenting out the category link would look like

    {custom_menu}
    {discussions_link}
    {* categories_link *}

    to create your own custom links you can add to your default.master.tpl

    here is an example used in the gopi theme

    Powered by <a target="_blank" href="http://vanillaforums.org/">VanillaForums</a>, Designed by <a target="_blank" href="http://wptolik.com/" title="wptolik.com">WPtolik</a>.

    In summary clone and rename the gopi theme, modify the default.master.tpl in your cloned theme as you desire.

    if your mobile theme is different then the desktop theme you would need to make changes to both.

    you can change mobile themes to be same as desktop by modifying you conf/config.php. also discussed in other discussions on forum.

    here is a link to some docs (not sure how up to date it is) https://docs.vanillaforums.com/developer/addons/theme-quickstart/

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

Sign In or Register to comment.