@hgtonight said:
A little custom JS should make this possible.
Are you comfortable writing JS?
sure, if for example
and i already made Themes style.. but i want to adding plugin style.. so at class.xxxx.plugin file how to call function?
ex> PostController_Render_Before,Base_Render_Before..
Where has it been definition or is there guide?
i dont know vanilla standard function.
ty but why erros Base_Render_Before function? even i tested it that css and js file is Blank.. omg
can't my site(setting) after added Base_Render_Before function.
class MarvelHeroes extends Gdn_Plugin {
public function Base_Render_Before($Sender) {
$this->_AddResources($Sender);
}
private function _AddResources($sender) {
$Sender->AddJsFile($this->GetResource('js/marvelheroes.js', FALSE, FALSE));
$Sender->AddCSSFile($this->GetResource('design/marvelheroes.css', FALSE, FALSE));
}
Comments
A little custom JS should make this possible.
Are you comfortable writing JS?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
sure, if for example
and i already made Themes style.. but i want to adding plugin style.. so at class.xxxx.plugin file how to call function?
ex> PostController_Render_Before,Base_Render_Before..
Where has it been definition or is there guide?
i dont know vanilla standard function.
https://github.com/hgtonight/Plugin-TestingGround
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
ty but why erros Base_Render_Before function? even i tested it that css and js file is Blank.. omg
can't my site(setting) after added Base_Render_Before function.
class MarvelHeroes extends Gdn_Plugin {
public function Base_Render_Before($Sender) {
$this->_AddResources($Sender);
}
private function _AddResources($sender) {
$Sender->AddJsFile($this->GetResource('js/marvelheroes.js', FALSE, FALSE));
$Sender->AddCSSFile($this->GetResource('design/marvelheroes.css', FALSE, FALSE));
}
}
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌