Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


How to bootstrap vanilla 2?

CsabbencsCsabbencs New
edited July 2011 in Questions
I have vanilla 2 forum installed plus I have a separate page with a button and an empty field.
What I want to achieve is that when you press the button, the field will be loaded with the number of users on the forum.
The call is made by AJAX.
Actually, the question is, how do I 'bootstrap' vanilla for an ajax call in order to be able to use 'Gdn'?
Tagged:

Best Answer

  • LincolnLincoln Community Instigator Vanilla Staff
    Answer ✓
    You want the ajax request to go to a non-Vanilla URL and "include" the framework within the script? I recommend against this. Instead, build a plugin within Vanilla and have the ajax request go to a URL the plugin is listening to instead.

    Sr Developer at Vanilla Forums [GitHub, Twitter]

Answers

Sign In or Register to comment.