R_J
AdminR_J Admin
-
Re: Run vanilla code only and ignore site theme on custom pages
And if you prefer to see your new pages as "yourforum.com/nicename" you can do it like that: public function setup() { // Set custom route to plugin page. $router = Gdn::router(); $pluginPa… (View Post)1 -
Re: Run vanilla code only and ignore site theme on custom pages
Simply call it myPages ;) You can add as many public function pluginController_foo_create() {} public function pluginController_bar_create() {} as you like. You can also do it like that public functi… (View Post)2 -
Re: Run vanilla code only and ignore site theme on custom pages
Looking at Custom Pages, I'd say it is not possible. But what you are trying to achieve is very, very easy: <?php$PluginInfo['myPage'] = array( 'Name' => 'My own page!', 'Description' => 'A … (View Post)3 -
Re: Adding a "skip to answer" button to a question
I haven't understood that "cycle" idea. You search for a way to make all comments accessible right from the discussion, correct? I think it would be handy if all answers (as well as the que… (View Post)1 -
Re: Adding a "skip to answer" button to a question
And I'm afraid to say that you need to get a basic understaning of objects/classes and MVC in order to fully understand it. Let me start with how events work in Vanilla. Each file you find in /applic… (View Post)2