Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[help] making new theme
Okay .. I'm trying to make a new theme to share based on http://studiowhiz.com/
However, to do create this I ended up adding to the following files
Vanilla.Class.Discussion.php
Vanilla.Class.DiscussionManager.php
In the Discussion Manager I added (amoung other things)
// Get first comment body
$s->AddJoin('Comment', 'tcb', 'CommentID', 't', 'FirstCommentID', 'left join');
$s->AddSelect('Body', 'tcb', 'CommentBody');
And in Discussion I ended up adding (amoung other things)
$this->CommentBody = '';
To have it populating etc
So ... is it possible to extend the system through a theme only? It'd be kinda silly to say "Download this theme, but only if you have Blog 2.0 installed"
Any help, pointers etc .... much appreciated
0
This discussion has been closed.
Comments