Archives for: "October 2011"
JSON View in Joomla
I have tried to call the json view in the controll, like this:
Code$view = &$this->getView('view','json','prefix'); $view->display();
But that is still with the default html template, even I have used, json_encode.
I… more »
Tags: joomla
How to pass the value from the controller to a view
I am implementing a MVC component. I wish to pass a value from the controller to the view for displaying. This is very easy. You need to assign the value from the controller. Code$view =… more »
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.… more »
Tags: joomla