Bleistivt
ModeratorBleistivt Moderator
Reactions
-
Re: Modifying existing table structure - best practices?
@mtschirs The magic happens here: https://github.com/vanilla/vanilla/blob/fd5346/applications/dashboard/controllers/class.utilitycontroller.php#L336-L342 Also note that DatabaseStructure::Set() doesn… (View Post)1 -
Re: Remove .html file extension with .htaccess
I'll just reference the great post you wrote here: http://vanillaforums.org/discussion/comment/202822/#Comment_202822 (View Post)1 -
Re: The Hall Of Code Curiosities
To be fair, the first one actually gives you a little more control. Between the first and the second line in your abbreviated example, the BeforeNewDiscussionButton event is fired, where you could mo… (View Post)2 -
Re: Issue: Gdn_Plugin::getResource() useless in 2.2b1 due to changes in Gdn_Controller::renderMaster()
I just checked and at least in 2.2 this works (the third params default is true). But it will throw a notice AssetModel::CssPath() with direct paths is deprecated. (View Post)2 -
Re: Issue: Gdn_Plugin::getResource() useless in 2.2b1 due to changes in Gdn_Controller::renderMaster()
GetResource uses absolute paths with the default parameters, which have been deprecated in the AssetModel. I'd just use addCssFile with the second argument. This is how the majority of official … (View Post)1
