Vanilla 2.6 is here
! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2
with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
How do I change the html of a page in my theme?
A lot of people ask questions of the sort "how do I change this text" or "that html?" Most all of the html that Vanilla displayed is stored in views
and the beauty of these views is that they can be overridden in your theme
Here's how you do it, and I'll use the example of changing your discussion's rss feed.
- First you have to create a theme. Let's say you name your theme MyTheme.
- You need to find the view that displays the rss feed. In this case it's in
- Copy the view's file to your theme's folder. It has to have the same subpath as the original view. So in this case you'd copy the file to
- Edit the copy of the view and your theme and it will display your changes.
How do I find the view I want to override?
If you want to find the view to override you usually just look at the url of the application. So in our example above you know that to view the rss of the discussions you go to /discussions/feed.rss
. You need to know that Vanilla is the application all discussion and comment related activity Then you can just look on the
folder to see what view might be appropriate.