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 can I change Topic Category, Number of Comments and 'Started by..' ?
xVal
New
I cannot locate the html files anywhere.
I want to mainly change:
a) Text
For instance, write something like "123 replies" instead of "123 comments".
b) Positioning
Move Topic Category ("General" in the attached image) before number of comments.
Vanilla Version: 2.0.18.8
Theme: Dark Mist
Tagged:
0
Comments
Edit: Topic Category is actually "Beginners Questions" and not "General".
There are no html files you can look at. In Vanilla you will find views and they are located at
/applications/vanilla/views
some others are at/applications/conversations/views
or/applications/dashboard/views
. But do not change the files under /applications!Here you can learn more about views: http://vanillawiki.homebrewforums.net/index.php/Views
Look at the files to find the strings you want to change. You'll find somethinkg like
Plural($Discussion->CountComments, '%s comment', '%s comments')
on line 54 inviews/discussions/helper_functions.php
The function Plural() or just T() give you the opportunity to simply change the text you see by making your own translation. Read here for further information: http://vanillawiki.homebrewforums.net/index.php/Internationalization_&_LocalizationIf you want to change a view itself, don't change the file under the applications folder. Create your own theme and override that view in your theme. Strive through the wiki to get more information: http://vanillawiki.homebrewforums.net/index.php/The_Ultimate_Theme_Guide_for_Designers_-Part_3_of_4:_How_Vanilla_Themes_Function
in addition to what @R_J said many answers about changing definitions and modifying themes and creating themes and changing css can be found in both the Documentation link at the top of the web site, there is also a Tutorials category on this forum
and typing in your search term in the box marked search usually will bring up numerous answers.
relating to definitions locale.php localization.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks guys!