JSON View in Joomla
I have tried to call the json view in the controll, like this:
Code:
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 have found out I have to put "format=json" in the request url.
Tags: joomla
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
Feedback awaiting moderation
This post has 28 feedbacks awaiting moderation...
Form is loading...