Adding 'default text' to Joomla's extension 'Simple Email Form' -
i want add 'default text' fields... efforts edit php have not worked @ !!
i'm guessing file edit ' mod_simpleemailform.php ' cant seem find "echo's" spit out form...
am on right track...?
thanks!!
based on research not module comes installed joomla! answer question when comes formated modules.
to find form go folder module. in case should /modules/mod_simpleemailform
.
this "system" module resides. find files such as:
mod_simpleemailform.xml
configuration file module.
index.html
prevents listing of module's folder contents.
helper.php
module's functions , brains located.
mod_simpleemailform.php
calls functions in helper.php
in order content , information. once has of data call template file module located in /tmpl
of module's directory.
in here find:
index.html
same thing previous index.html
default.php
default template file module. file contain form , html code see on screen.
the default.php
file want use. possible form in other file located in /tmpl
folder may have pick around little bit.
usually fields not in echo
place on outside of php tags. want add value
attribute , add text <input type="text" name="myfield" value="my default text" />
.
even better still add parameters xml file may echo default text entered in back-end of joomla!.
Comments
Post a Comment