Re: (Cake)PHP programmer needed urgently!

2007-12-13 Thread simon
PS Forgot to mention: we are based in London, and the person we are looking for needs to be able to come to our office and work for the vast majority of the duration of the contract. simon wrote: Hi all, Hope you don't mind me posting a job ad here! I'm working in a small web team at work

Re: cake 1.18 - has it changed the behavior of Sessions?

2007-12-12 Thread simon
I've experienced the same bug, and changing from high to medium security seems to have solved it. I'm doing a lot of AJAX stuff in the background, is that what is causing it? Or this a general bug with security set to high? Simon On Nov 21, 2:29 pm, keymaster [EMAIL PROTECTED] wrote: I have

Re: find all by relationship

2007-10-21 Thread Simon
But isn't that going to return all the users form all the countries? Is it possible to implement conditions on the country level, to only get the users in one country? On Oct 21, 11:27 am, deefens [EMAIL PROTECTED] wrote: what about this? $uses = ('Country'); ... =

find all by relationship

2007-10-20 Thread Simon
, because it's relative to the city hes. I'm looking for something like this $conditions = array(User = array(City = array( State = array( State.id = '7'; $this-User-findAll($conditions); is it possible? Simon --~--~-~--~~~---~--~~ You received this message

Re: Session empty in Ajax call

2007-08-09 Thread simon
Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Aug 8, 2007, at 11:25 AM, John David Anderson (_psychic_) wrote: On Aug 8, 2007, at 11:19 AM, simon wrote: Not sure... where is the session id located? In your cookies - you can also get it by calling session_id(). I should mention

Re: Session empty in Ajax call

2007-08-09 Thread simon
authentication checks and such. Seems to work alright though. On Aug 9, 10:51 am, simon [EMAIL PROTECTED] wrote: You're absolutely right - I'm getting two different session IDs. And security is set to medium... Is there anything I can do about this? If I send the correct session ID as a GET

Session empty in Ajax call

2007-08-08 Thread simon
to look. Any help very much appreciated! Simon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: Session empty in Ajax call

2007-08-08 Thread simon
Not sure... where is the session id located? S On Aug 8, 5:56 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Aug 8, 2007, at 10:26 AM, simon wrote: Hi, I'm making an Ajax call from the index page of my application to a simple controller called attachments

Re: HABTM findAll problem

2007-07-03 Thread simon
What does the view() function look like? On Jul 3, 10:18 am, Easter Egg [EMAIL PROTECTED] wrote: Hi all, I used a HABTM over Product and Tag. // TAG.PHP ?php class Tag extends AppModel { var $name = Tag; var $hasAndBelongsToMany = array('Product' =

Re: (Good) way of pulling data into view?

2007-06-21 Thread simon
In my experience, specific problems that warrant breaking rules are a lot rarer than many think. Are you wanting your users to be able to edit the view files? if not, your controller calls the view files - it knows which view file it's going to use it should know which data it wants to

(Good) way of pulling data into view?

2007-06-19 Thread simon
? Would like to avoid this as I like the idea of having a standalone template file. Thanks, and apologies for long post... Simon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group

Re: (Good) way of pulling data into view?

2007-06-19 Thread simon
Why isn't all of that retrieval logic in the controller? I.e. you generate all the data you want in your controller, and you simply loop on your retrieved data in the vew. Ah, see I'm totally with you on this... I have a quite specific problem though: each type of template needs a specific

Saving hasAndBelongsToMany with selectTag

2007-05-23 Thread simon
and won't make an entry in the join table. I haven't found a solution for this yet, I'm assuming that I'm either missing something or that I'm going to have to do some ugly hack in the controller's add/edit functions to turn the value into an array. Simon

Re: Saving hasAndBelongsToMany with selectTag

2007-05-23 Thread simon
']); } It's not pretty, I know. On May 23, 3:18 pm, simon [EMAIL PROTECTED] wrote: Hi, Oddly enough Cake doesn't seem to understand that it should make an entry in the join table for HABTM related models when the foreign key isn't supplied from a multi select field... Let me try

Re: Saving hasAndBelongsToMany with selectTag

2007-05-23 Thread simon
']); } It's not pretty, I know. On May 23, 3:18 pm, simon [EMAIL PROTECTED] wrote: Hi, Oddly enough Cake doesn't seem to understand that it should make an entry in the join table for HABTM related models when the foreign key isn't supplied from a multi select field... Let me try

Re: Saving hasAndBelongsToMany with selectTag

2007-05-23 Thread simon
Well, considering other people seem to be able to use HABTM-related models, I'd say that perhaps something is wrong in your configuration. :) The weird thing is that everything works perfectly normally as long as I use a multi-select field, i.e. a select tag that has the multiple attribute.

Sessions question

2007-02-22 Thread Simon Jackson
Is it possible to retrieve session data within a model? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

<    1   2   3