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.
Theme Design 2.3.1
Gotcha
New
So I am working on a theme using foundation6 x-grid, I have everything laid out and responding correctly. 2 files I need to find to add to my theme is all categories then discussions i want to change where the post counts and replies as well as who posted is at where do i locate these 2 files and i assume i place them in my theme/ThemeName/view ?
0
Comments
You should not need to clone views at all.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
well im using smarty theem hook and i want to make the post number to the right and the poster.
@vrijvlinder
I need to add topics and posts by the numbers
@vrijvlinder
Either you use smarty functions or theme hooks. If you use smarty functions, you need to change views, using theme hooks you can stick with the default views.
As vrijvlinder said, there is almost no reason to override views. And there are good reasons not to do:
1. If there are security flaws in one of the used views and you have copied that issue, the next update will fix the issue for all properly written themes, but not for yours.
2. If there are new features in the next Vanilla version which require an addition in the view, your theme will not show that enhancement.
3. Plugins rely on the default theme. Your change might break plugin layouts.
All in all: if someone uses a theme which replaces a lot of views, updating to a new Vanilla version will become a major burdon.
Don't override views without a real need.
If you want to add/hide/change something do it in this priority:
1-3 are not applicable here. Therefore try 4th and add this to your themehooks file:
See how easy it is to extend Vanilla?
Please don't abuse the mentioning feature. Thanks.