Lithium PHP: Open view without layout -


i using php framework lithium (aka li3). want able open view (ie without layout) in jquery dialog box. ideally, done small modification url, example:

normal path action: http://localhost/controller/action/   view path action: http://localhost/controller/action/view_only/ 

this still has work normal url parameters , requests. additionally, love not have change existing controllers.

does know how achieve this?

thanks, max.

// in controller:  if ($somecondition) {     $this->_render['layout'] = false; } // ...where $somecondition based on whatever url modification 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -