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

[Documentation] Where are the actual view files in a Theme?*

edited April 2012 in Vanilla 2.0 - 2.8

Hello, I am trying to create a theme with Vanilla. I have copied default.master.php into my views folder, but I want to know how to actually edit the html for the head, content, panel and foot assets. Where are the view files for them?

Tagged:

Answers

  • Options
    UnderDogUnderDog MVP
    edited April 2012

    for a theme you might have the following directories:

    /design
    /images
    /views

    Now in the views folder you can have directories per 'content-type'
    so a directory for 'discussion', 'discussions', etc, etc

    I know a couple of themes that have a file called 'helper_functions.php' and that's where most of the styling takes place.

    If you take a look at /applications/vanilla/views/ you will see all your options.

    Also look in /applications/vanilla/views/discussions/ you will see other files (with very little styling), but they mostly refer to the helper_functions.php file with more styling.

    There was an error rendering this rich post.

Sign In or Register to comment.