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

Moving Categories List out of Panel and into Main Content Area

On the /categories/category-name page, can I move the Categories list out of the Panel and into the main Content area? If so, how would I go about this?

Best Answer

Answers

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @jbregar

    Which version of Vanilla are you using?

    Is your default.mater a php or tpl file?

  • Options
    hgtonighthgtonight ∞ · New Moderator

    Do you want it on every page?

    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

    Not on every page, no. Only the pages it currently appears in the Panel for. I just want to move it from the Panel to the main content area.

  • Options
    hgtonighthgtonight ∞ · New Moderator
    edited May 2013

    Quick hack that destroys maintainability: Assuming you are running 2.0.18.8, modify your /applications/vanilla/modules/class.categoriesmodule.php file line 30 from return 'Panel'; to return 'Content';

    A better way: Implement a plugin that replaces the current categoriesmodule with a module that extends the current categoriesmodule while setting the AssetTarget method to return 'Content'.

    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
    phreakphreak Vanilla*APP (White Label) & Vanilla*Skins Shop MVP

    @hgtonight: Can this also be done without hacking modules. For example if you deploy a theme later to many users. It would be easier not to describe them what modules they have to hack in what way to make the theme work but integrate everything in the theme folder. Thanx for a hint.

    I'm working working on 2.0.18.8 and 2.2.

    • VanillaAPP | iOS & Android App for Vanilla - White label app for Vanilla Forums OS
    • VanillaSkins | Plugins, Themes, Graphics and Custom Development for Vanilla
  • Options
    hgtonighthgtonight ∞ · New Moderator

    @phreak you can use your theme hooks file as a plugin and implement it that way. No hacking necessary. :)

    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.

Sign In or Register to comment.