SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 285 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

php?option=com_myextension&task=submitform');
?>" name="someform" id="someform">










Rendering Output
[ 214 ]



maxlength="40">
maxlength="40">
maxlength="40">



Having created the sub-template how do we use it from within other templates?
Well, essentially in the same way in which the first template was invoked. We
mentioned earlier the loadTemnplate() method; this method loads template files.
This example shows how we include the default_form.php template in another
template file:

loadTemplate('form'); ?>
Notice that we have to echo the output; this is because the loadTemplate() method
uses PHP output buffering to catch the data that is outputted by the loaded template.


Pages:
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6