unless it's modified to accept absolute URLs. Why would they use
relative paths? Strange.
On Thu, Apr 2, 2009 at 6:22 PM, Robert McWay <mcway_web_design@cox.net> wrote:
>
> That was one of the first things i tried...When i changed this it
> created a "files" folder in the root cake direcory...thats why i had
> to change it to its current path. The answer has something to do with
> the way cakephp writes the urls..I found a post topic in the Uploadify
> forum, ( http://www.uploadify.com/forum/viewtopic.php?f=7&t=47&p=210&hilit=mvc#p210
> ), where someone had a similar issue with code ignitor, but i could
> not get the proposed answer to work. Thanks for the help...
>
> On Apr 2, 3:00 pm, Brendon Kozlowski <Brendon...@hotmail.com> wrote:
>> Without taking any further look at how this script and included jQuery
>> function actually works (but the settings you provided)...try changing
>> the "folder" setting's value to simply "/files".
>>
>> If that doesn't work I might actually take a look at this. It's
>> probably very simple to fix, and the script itself sounds neat (and
>> possibly useful). :)
>>
>> On Apr 2, 3:53 pm, Robert <mcway_web_des...@cox.net> wrote:
>>
>> > I am trying to implement the JQuery Plugin, "Uploadify" in my CakePHP
>> > project...but I am having a problem calling the upload script
>> > specified in the "script" parameter...This is due to the fact that the
>> > CakePHP "Pretty URLs" are breaking it. After some research through
>> > this forum, i came across a post where someone was having a similar
>> > problem in CodeIgniter...The solution was to strip the pagepath
>> > variable from the uploadify script, to allow use of pretty
>> > urls...however i still cannot get the script to find my upload
>> > script...
>>
>> > my jquery function...
>>
>> > $('#PhotoFilename').fileUpload({
>> > 'uploader': '/uploader.swf',
>> > 'script': '/photos/upload',
>> > 'folder': '/app/webroot/files',
>> > 'cancelImg': '/img/cancel.png',
>> > 'multi': true
>> > });
>>
>> > ..from jquery.uploadify: setting the pagepath to nothing...
>>
>> > var f="&pagepath=";
>>
>> > I have tried using a relative path, as well as an absolute path, for
>> > teh "script" parameter, but nothing has worked...Any insight would be
>> > much appreciated...
>>
>>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment