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

edited July 2006 in Vanilla 1.0 Help
Okay .. I'm trying to make a new theme to share based on 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


  • Only if you can somehow replicate in the output what those bits of code do to the internal workings. Which i think you'd struggle to do. I dont really think it's such a problem to have extension-theme dependancies though.
  • yeah I kinda was thinking that ... I mean the whole idea of MVC/Themes is that we remove the core code, and themes just display - their is NO processing done in them. Hmm ... okay ... I guess that means I have to finally tackle extensions!
  • haha. Enjoy!
  • bully :(
This discussion has been closed.