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.

[Documentation] Create a fully owned Theme

edited April 2012 in Vanilla 2.0 - 2.8

Just to make sure i understand this correct.

http://vanillaforums.org/docs/themequickstart

Part 2 section 2.

It's totally fine to copy-/paste ALL files from the views folder: applications/dashboard/views/

To my own theme inside a new views folder?

And after that change all the HTML (maybe some PHP ) of every single page?

That would be how i should create a totally owned theme.
Of course link the stylesheets..

Best Answers

Answers

  • hbfhbf MVP
    Answer ✓

    You generally dont need to override everything. But can you? Yes.

  • mcu_hqmcu_hq ✭✭✭
    Answer ✓

    hbf said:
    You generally dont need to override everything.

    I override 8 view files out of the 40 something in the core in my theme. I did change a ton of things, but for the most part, the views can be left alone.

  • I could have sworn I posted a reply on here. Ok Vanilla what ya doin !!!

    There was an error rendering this rich post.

  • Okay thanks..

    I would also like to do a lot, because all themes i see right now are typical Vanilla style and only have some custom CSS.

    I would like to create my own HTML and position things around.

  • x00x00 MVP
    edited April 2012

    The more files you override the more likely you are to have mismatch on update.

    Use theme hooks as much as you can, override views, when you have no other option.

    Also if it can be position in css do it that way. css is quite powerful.

    remember not to leave out events, or asset in the views, as this could break something.

    grep is your friend.

Sign In or Register to comment.