-
Legacy View Lookup
Once a controller method is called to handle the request, how is the xhtml of the page put together? Views. There are two types of views in Garden: “Views” and “Master Views”. A view relates directly to the controller method that called it and handles rendering content related to that request. You can typically think of a…
-
Controller Assets
Assets organize content in a document. Assets are called by the main template (e.g. default.master.tpl) which renders the content currently stored in them. Assets are managed with code via plugins or the theme hooks file. Default assets Vanilla uses these assets by default: Head, Content, Panel, and Foot. You cannot rely…
-
View Helper Functions
This is a quickstart guide to some of Vanilla’s globally available functions and methods. Familiarizing yourself with them will save you time and effort in the long term, and give you clues about how best to use the framework. This is by no means an exhaustive list, nor full signature documentation. You’ll want to find…
-
Toast Notifications
Inform Messages allow you to let users know of some action that your plugin or application has taken. Inform messages allow you to quickly and easily relay information to users, and handle actions based on interaction with those messages. Use them freely to notify users of saved forms, punishments, rewards, etc. You can…
-
Gdn_Module
If controller methods represent the main content/purpose of a page, modules represent secondary information or functions. Modules are small groupings of functionality or information on a page. Some modules that are bundled with Garden include: HeadModule - Allows addition of javascript, css & meta information to be…