Re: CAKEPHP PDF File Download Problem MAC PC Safari Browser.

2012-06-05 Thread netors
do this when you output the pdf content: header("Content-type: application/pdf"); echo $content_for_pdf; exit(); On Monday, January 2, 2012 12:08:58 AM UTC-6, Arif wrote: > > > Dear All, > > CAKEPHP Download Problem IN MAC PC Safari Browser : > > Currently My PDF File Possible to download by Moz

Re: CakePHP + Ajax/JS(Prototype/JQuery) creating fields on the fly and Multiple Picture Uploader

2009-02-18 Thread netors
exo_duz, I have something similar that may be useful to you, its not the best way to do it but it gets the job done. First, you need prototype and scriptaculous on your webroot/js/ folder on your Controller: class EventsController extends AppController { var $name='Events'; var

PagesController does not call the afterFilter() method of the AppController

2008-03-24 Thread netors
For some reason the PagesController does not call the afterFilter() method of the AppController (FYI: it does call the beforeFilter() method)... adding the parent::afterFilter() before the $this- >render(join('/', $path)) of the display() method of the PagesController will fix this. --~--~---