HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Custom Vanilla Theme
public function profileController_render_before($sender) { unset($sender->Assets['Panel']['ProfileFilterModule']); unset($sender->Assets['Panel']['OnlineNowModule']); //doesn't work unset($sender->Assets['Panel']['SideMenuModule']); $sender->addModule('SideMenuModule', 'Content'); //doesn't work } Usage echo… -
Re: Custom Vanilla Theme
When you create a new theme, create also a file \themes\YourFancyTheme\class.themehooks.php with following code: <?php defined("APPLICATION") or die;class YourFancyThemeThemeHooks implements Gdn_IPlugin { // this two functions do nothing here, but you need to implement them! public function setup () { return true; } public… -
Custom Vanilla Theme
Hi! I have some questions: 1. I know panel configurate in config.default.php, but I can't enable/disable modules. Can anyone sent me example? 2. I create new theme with my module views and layout, but I can redefine only layout. What I must do foe redefine modules views? Please, take me examples. Thanks.
3 results