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.

Understanding / customizing "Panel"?

codegruntcodegrunt New
edited January 2011 in Vanilla 2.0 - 2.8
Howdy. I am currently working on custom theme with the goal being to replicate a more standard forum structure for Vanilla (a la phpBB and the like). My main issue with the stock layout is that it lacks the organization required to keep even a moderately sized discussion forum focussed by topic.

The traditional discussion board format has a folder like drill down mechanism. The user is not given the "create discussion" option until they have drilled down into a specific sub-forum. Vanilla is more than capable of replicating this behaviour but it requires adjusting the layout in "Panel" such that things like "Start New Discussion" do not appear until a category is chosen. Although I have managed to change "newdiscussion.php" to require a category to be displayed before showing the create control, I do not have a firm understanding of how to predict how Vanilla got to this file (so I predict where to look for other such changes).

I have looked through the source but so far cannot find any specific "Panel" template. So the first question is, is there currently a "Panel" template or is the only control provided via the config.php arrays and various class method declarations? Is there a tutorial anywhere that covers how "panel" and "content" get generated (hopefully with a focus on templating them)?

Cheers

Tagged:

Comments

  • I'm also looking how to customize the panel option. Any help is definitely appreciated...
  • JoZ3_69JoZ3_69
    edited March 2012

    @codegrunt Thank you very much, in the future I hope that VanillaForum have a manager modules.

    Do you know any way to control the pages where each module may appear?

  • Thanks! I was looking for that

  • Thanks for this information. I know it's old, but it's helpful.

    There lacks a lot of information on things like this. Thanks!

    If anyone has any updated information on the use of Panels, it would be greatly appreciated if you could share :)

  • hgtonighthgtonight ∞ · New Moderator

    The panel is just a specific asset container. Any module can be placed/removed from any asset pragmatically. What specifically are you looking to do?

    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.