I think that the manual is not clear on this, but even if the default
context is xml you must still pass the format/xml/ HTTP GET params to all
actions in order to trigger the context switcher. Feature request! =]
-Joshua-
"Joshua Ross" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
I'm having some problems using the context switcher when I try to default
the context to 'xml'. It tells me that the default context is xml but it
doesn't load the xml.phtml files. Here is my code per the manual:
public function init()
{
//set all context to xml
$this->_helper->contextSwitch()->initContext('xml');
}
It simply does not load my xml.phtml files. What am I doing wrong?
Thanks,
-Joshua-