Well, I finally got a result. I gave up on the requestHandler and
instead set the headers output in the controller using
Controller::header('Content-type:'.$contentType); and sending the data
content to the view in the normal way.
Hope it helps someone else.
On Dec 13, 11:47 pm, pau
Hi,
I'm using cake1.2 and I've got a blob stored in my database. I'm
trying to display it using
$html->image(array('controller'=>'image_files','action'=>'show',
10));
I'm trying to get the requestHandler to set the correct header-type
for the request but every time I load the page I get the raw ima
Thats great. I will look into that. Thanks Jonathan for the help.
Regards,
Paul
On Sep 26, 3:10 pm, Jonathan wrote:
> On 25 Sep., 23:39, paulinthought wrote:
>
> > If I click a link to load a page and then click another link for a
> > different page on a different model then b
This is a strange behaviour and I'm not sure if it's my application or
a bug in cake.
If I click a link to load a page and then click another link for a
different page on a different model then before the page has changed
to the initially requested page the application instead redirects me
to the l
access it.
>
> I made a lot of this to replace huge select boxes, but if you ask me,
> I'd advise otherwise, because on production with a lousy network, the
> autocomplete is so slow and unresponsive. Users actually asked for the
> select boxes back!
>
> Dfcp
>
>
Hi,
I have autocomplete working fine, it passes the value of the selected
field back to the controller once I post it but I can't guarantee the
values in my list will be unique so I need to identify each with an id
and pas that back to the controller also. I've found some samples
which involve put
I have an element right.ctp with the code
echo "";
echo $this->element('pplcollection');
echo "".$ajax->dropRemote('dropzone',null,array('url' => '/
casts/
remuser/','with'=>'{draggedid:element.id}'', 'update'=>'res'));
The pplcollection.ctp element has the code below
echo $this->requestAction('c
I have an element right.ctp with the code
echo "";
echo $this->element('pplcollection');
echo "".$ajax->dropRemote('dropzone',null,array('url' => '/casts/
remuser/','with'=>'{draggedid:element.id}'', 'update'=>'res'));
The pplcollection.ctp element has the code below
echo $this->requestAction('ca
I have my app_controller in the cake folder with the function
function beforeFilter() {
$this->Auth->userScope = array('User.active' => 'y');
$this->Auth->fields = array('username' => 'email', 'password' =>
'password');
$this->Auth->autoRedirect = false;
$this->Aut
Hi,
I'm using an ajax drag and drop script to add information to my
database and update a div. The problem is that every time I drop an
item after 30secs I get an error message relating to timeouts in my
updating div. The database is saving the new information but each time
the message appears its
Unless you have some special reason to change the directory structure
Id say the best thing to begin with is to just extract cake and put
the cake folder into your root folder. Then change the name of the
cake folder to the name of your site and now your application should
be accessible at localho
Hi,
If I understand you properly, the url
http://localhost/PBSRG/cake_1_2/risks/add/1
does not correctly pass $project_id into the controllereven though it
appears in the url.
Try link(__('Add New Risk', true), array
('controller'=> 'risks', 'action'=>'add', $project
['Project']['id'])); ?>
i.e
Hi,
I'm trying to create an xml sitemap as described in the article
http://bakery.cakephp.org/articles/view/automatically-generate-dynamic-sitemaps
I have followed the instructions there and I can now access my xml
file in the browser at the address http://localhost/project/sitemap
My problem is
Hi,
I've been playing with cakephp for a litle bit and its taken me a
while to figure this out. cake seems to be stripping out tags from my
css files. My mod_rewrite is working and my paths are correct. I'm
running on winxp and assumed it was some kind of permissions problem.
I've been stumped
14 matches
Mail list logo