Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here
You should grab 2.1.9
, released 18 March. It's what all the cool kids are doing.
[help] tweaking discussion.php for new theme
Okay all you add-on and tweaking geniuses HELP!!!!!
Creating a new theme, I've copied the discussion.php into my new theme folder to extend it.
Here's what I have so far
now ... what I want to do is extract the FIRST comment and display it where I have $Discussion->Comment
of course $Discussion->Comment doesn't work it returns 0 - given this is only used on comment creation.
I've looked over the RSS2 default page becuase the RSS feed does exactly what I want ... but it has it's own set of functions to do the joins for the discussion manager.
I'm trying to write this as a theme rather than an extension ... am I hitting a brick wall? Is there anyway on the discussions page to reveal the comment associated with the discussion ... without me hacking the Vanilla.class.dis...files - which I don't want to go anywhere near!!
0 · ·