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.
Options
Accessing Forum Data Outside of Vanilla
I'm new to Vanilla (less than a day of experience) so pardon my noobishness if it seems apparent.
I've successfully integrated Drupal/Vanilla and now I want to start creating some Drupal blocks which display Vanilla data. For example, on my front page I want to display a list of the most popular discussions or most recent posts. If you aren't familiar with a Drupal block, its basically putting code inside of a "div" and Drupal places the div wherever you configure it...pretty simple.
I'm guessing the block should contains stuff like:
include settings.php, init_vanilla.php
a DB query to access the data (or use the ObjectFactory to create a control or something?)
display the data
Is this all there is to it? Is there some kind of "template" out there that does what I am looking for?
0
This discussion has been closed.
Comments