All Questions
Tagged with custom-module development
6 questions
1
vote
2
answers
357
views
Use addScriptOptions for multiple modules on same page
I am passing some params to JS in my custom module using the addScriptOptions provided by Joomla:
$document->addScriptOptions("mod_mymodule", $params));
This works fine, as long as there ...
1
vote
1
answer
2k
views
Pass PHP variables to CSS?
I want to pass some variables to my css, without using inline styles. During some research I found different sources pointing to the same solution. For example here on the Joomla forum.
Basicly they ...
1
vote
1
answer
924
views
Get com_contacts item by id?
I need to get a com_contacts item the same way Joomla does (so I can re-use a template for example). I know I can get the item by querying the database directly, but that won't prepare things the same ...
0
votes
2
answers
381
views
Pass xml field inside module's helper class
I have a custom Joomla module. In the helper.php class, I need to pass XML field data.
Here is what I have so far.
class modcatbanerHelper {
// I need to pass here
public $selected_cat = $...
1
vote
2
answers
1k
views
Unable to insert form values in to database Joomla 3
I am creating a custom joomla module based on form submission
but i am having some problems in inserting the values
I have a html form which has certain fieldsets which pass values to mod_score.php ...
5
votes
1
answer
430
views
How to pass, with a custom button, the selected items to a controller?
As seen in this question (Add a custom button to a core backend component), I've created a simple plugin that adds a custom button on the com_content component.
When I click on this button, the site ...