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.
Where to edit the discussion html
destroyblaze
New
Hi there,
I need access to ground level HTML files to alter the way I want my forum to sit. What I want to do cannot be achieved with CSS alone and need to add in image tags. What file would I edit to do this? I have searched high and low.
Just to be clear, this is the discussions page where people talk to each other rather than a private message function.
The current html looks like:
<
div class="Comment">
<
Thanks in advance
Tagged:
0
Comments
Welcome to the community!
Here is the link to "A Quick-Start Guide to Creating Themes" from the community wiki, where you will find the answer to your question: http://vanillawiki.homebrewforums.net/index.php/A_Quick-Start_Guide_to_Creating_Themes
Add Pages to Vanilla with the Basic Pages app
Thanks for the useful link
I have created a custom theme. I just can find the html output for a discussion
Search through the
/applications/vanilla/views/discussion/
directory to find what you are looking for. For discussion posts, you may be looking fordiscussion.php
. For comments, you may be looking forcomments.php
,comment.php
, orhelper_functions.php
.You should not edit these views and any of the core Vanilla files and instead, copy them to the views directory of your theme, and then you can edit the copies. For example,
/applications/vanilla/views/discussion/discussion.php
should be copied to/themes/example/views/discussion/discussion.php
.Add Pages to Vanilla with the Basic Pages app