Not Displaying Template in Joomla Component.
Joomla is using the MVC Pattern. There is another feature. You can override display function in controller to trigger whether the controller will display the template. In the following example, I will not display the template when the form is submitted.
Code
function display(){ | |
$task = JRequest::getVar('task'); | |
if( $task != 'enter' ){ | |
parent::display(); | |
} | |
} |
Tags: joomla
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
Feedback awaiting moderation
This post has 4 feedbacks awaiting moderation...
Form is loading...