Kasper
Vanilla StaffKasper Vanilla Staff
Reactions
-
Re: Custom Smarty functions only in SmartyPlugins directory?
Using register_function() (http://www.smarty.net/docsv2/en/api.register.function.tpl) is the way I'd go about it: function fooBar($params, &$smarty) { decho($params);}class Whatever extends Gdn_P… (View Post)6 -
Re: Vanilla API get not found using the provided endpoint
As @peregrine mentioned, your nginx config is likely conflicting with the API application. This is the config I personally use for all my Vanilla setups: https://github.com/kasperisager/vagrant-lnpp… (View Post)4 -
Re: How to create custom dropdown menu in main nav?
Right, so this is getting awfully overcomplicated. For the love of all that is holy, please use what's available out-of-the-box: http://getbootstrap.com/javascript/#dropdowns Also, as a pedantic perf… (View Post)1 -
Re: How to create custom dropdown menu in main nav?
That highlighted part is pretty important :wink: The easiest would by far be updating your theme to the pre-release version as you'd otherwise have to get setup with Node, Gulp, and Bower in order to… (View Post)2 -
Re: Vanilla 2.1 stable released
Just a heads up that the JSON issue is specific to PHP 5.5 as the JSON library was removed from core: http://iteration99.com/2013/php-json-licensing-and-php-5-5/ (View Post)2