Elxis CMS Forum
Support => General => Topic started by: mlapl1 on September 03, 2008, 04:38:54
-
Hello everyone
Can anyone tell me if there is some component or module etc... which will enable me to easily make a form (e.g. like a contact form or something like that).
Also is there some way of making a dropdown menu like the one at the top of the admin template (you hover the mouse over a menu item and a whole list of sub-items appears below).
I have looked around a bit but cannot find anything.
Thank you
Andrew
-
There is component Facile Forms but it is for Elxis 2006.x. I dont know if it works fine on Elxis 2008.x.
https://www.elxis.org/extensions/legacy-downloads/elxis-2006-components.html (https://www.elxis.org/extensions/legacy-downloads/elxis-2006-components.html)
-
I tried to use that but it did not appear to work properly under 2008.
-
This actually raises a serious problem. How can we produce secure forms which are linked to our websites?
Cheers
Andrew
-
The easiest way to do it is by using an external form which is being displayed inside elxis with wrapper.
The second option (the best technically) is to create a small component that will display just the form you want and will execute it's action.
The creation of such a component is extremely easy if you know some html and have a basic knowledge of php. If you have the html form ready the creation of the component is no more than 1-2 hours work. What is a component? It is ANY php file inside folder components/ that is being included automatically by Elxis when you call it from the URL using it's name with the global variable $option (for example $option=com_myform).
This is the simplest example for the file structure of a full working Elxis component:
components/
com_myform/
myform.php
Call this component like this: index.php?option=com_myform
I think I should write a small tutorial some day of home you can create your own simple components...
-
Thank you very much for this response. I have just discovered elxsis and I like it very much. I am seriously thinking of switching to it from the other CMS systems I am using and the issues I am raising are related to this hope.
All the best
Andrew