doublesswizz,
Hm that is a strange problem. Although I can't really tell you what is
going wrong, I would caution you about using the "fix" you have in
place. All it would take for a user to fake an ajax request would to
get a simple tool like firebug and set what url the ajax post or get
request
ogle.com/group/cake-php/browse_frm/thread/f23b1825050...http://groups.google.com/group/cake-php/browse_frm/thread/8cbf01f7a9a...
>
> I think.. this is what you want. I could be wrong though.
>
> On Aug 1, 9:47 am, Jim Newfer <[EMAIL PROTECTED]> wrote:
>
> > Anyone? Sorry, I a
Anyone? Sorry, I am just stuck. If there was some way in cake to
specify an alternative key it is searching for in the foreign table, I
think that may solve my problem.
Thanks.
Jim.
On Jul 31, 1:55 pm, Jim Newfer <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> Last resort p
Hello everyone,
Last resort post, I am stuck. What I have done is create a "friends"
system in my app. Although it is mildly tricky because the friends are
the same thing as users, just using an alias.
My tables look like this right now (only relevant information shown):
Users:
Id
Fans_Users:
Sorry guys I just cannot figure this one out. I creating an ajax
comment system that does not have to reload all of the comments (i.e.
foreach loop getting all of the comments) So what I have done is
create a dummy that the comment will be loaded into, and when
the page is reloaded, it will autom
Hey,
Well I have been using an autocomplete field for quite some time and
everything has worked fine. Although I just tried to add this onto the
end 'afterUpdateElement' => 'getSelectionId')
autocomplete('User.school_id', '/users/
autocomplete', array('afterUpdateElement' => 'getSelectionId'));
I have been trying to figure this out for the past 2 hours and to no
avail. :/ So any advice is GREATLY appreciated.
Ok, I have an array that returns data like this (see array below) The
array[0] contains all the votes for one story as well as information
that pertains to that vote, and the array
On Jul 6, 9:01 am, Jim Newfer <[EMAIL PROTECTED]> wrote:
> hey guys,
>
> Sorry but I just cannot get my head around this one. I am trying to
> pass back a value from jquery to my controller. Everything runs ok,
> except my controller does not get or doesn't recognize t
hey guys,
Sorry but I just cannot get my head around this one. I am trying to
pass back a value from jquery to my controller. Everything runs ok,
except my controller does not get or doesn't recognize the value I am
passing it via jquery.
//here is my javascript
$(document).ready(function(){
te p" ).load( "/
> contoller/action" );
>
> Make sure your controller handlesajaxrequests. If you don't know
> what that means look up requestAction or parseExtensions in the
> groups.
>
> On Jul 2, 10:12 pm, Jim Newfer <[EMAIL PROTECTED]> wrote:
>
>
I have been using jquery, which is great btw, with cakephp for a
couple of weeks now. I love it to say the least. I haven't really
dealt with ajax very much, but I have done some basic things with it,
and PHP outside of cake. Needless to say, when it comes time to use
jquery's ajax functionality w
ebroot/js and you need
> to include the javascript helper.
>
> http://manual.cakephp.org/chapter/helpersabout 3/4 down is the
> javascript helper documentation
>
> Geoff
> --http://lemoncake.wordpress.com
>
> On Jul 2, 10:28 am, Jim Newfer <[EMAIL PROTECTED]> wrote:
ipt helper documentation
>
> Geoff
> --http://lemoncake.wordpress.com
>
> On Jul 2, 10:28 am, Jim Newfer <[EMAIL PROTECTED]> wrote:
>
> > I have been using jquery for about a month now, and I love it to say
> > that least. Although, I cannot seem to figure out
I have been using jquery for about a month now, and I love it to say
that least. Although, I cannot seem to figure out the best way to
incorporate it into my cakephp project, or even to incorporate it at
all!
When I used jquery before, I just loaded the jquery.js library in the
header, and then w
14 matches
Mail list logo