How can i get the results of a JHTML select.genericlist in a Joomla Module
Need to develop a simple Joomla 2.5 Modul with the following JHTML and Text Input:
1. two JHTML::'select.genericlist...class='inputbox'....
2. two normal input boxes (one->number other=text)
3. a SubmitButton if pressed prints the Result of the above entered values
5. with the above values i must assemble a call to an external server
4. print the answer of the external server
The conventional form with <form method="post" and $_POST['submit'] does not work in a Joomla module. Can any body help?
after the install you'll have to enable the superadministrator to insert php or html code in joomla content, modules, etc. This is by default disabled also for super admins.
How to enable php, html insertion in joomla content is described here
Solenthaler
ASKER
Thanks a lot for your post. Yet the whole project - a few php programs with embedded html-code and JavaScripts - is called via wrapper. Because of the weak connection to the Joomla Session and User-DB i decided to put the whole bunch of code into an own module. But i don't know how to use the JHTML::selectionlist..... Need a simple example, like below but with the necessary HTML Part:
------------------------------------------------------------------------
## A default value -- this will be the selected item in the dropdown ##
$default = 2;
## Output created <select> list ##
echo '</br>'.$dropdown;
---------------------------------------------------------------------------------------------------------
How can i get the result of the selected value - (similar to the $_GET and $_POST?
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
after the install you'll have to enable the superadministrator to insert php or html code in joomla content, modules, etc. This is by default disabled also for super admins.
How to enable php, html insertion in joomla content is described here