HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Modules and AJAX
I like to update a modules content with AJAX. So I started by creating the module and gave some arguments to the modules ToString() function. Let me give you an easy example: say I just want to have a colored PanelBox and the color should be variable. public function ToString($Color) { echo ' < div id="ColorExampleModule"… -
Re: Modules and AJAX
Create public members/methods on your module that sets whatever params you want. Create a controller that accepts the params you want and creates the module and returns the rendered module. Request the controller method as appropriate via JS. Sample module code: private $Color;public $Number;public function SetData($col) {…
2 results