'user_id', 'project_id'
> )
> );
> [/code]
>
> Enjoy,
> John
>
> On Jun 8, 10:36 am, DrLaban wrote:
>
>
>
> > This comes very close to what I'm looking for, but the first find that
> > I wrote (it isn
#x27;User')
> ),
> 'conditions => array('Project.id' => array_keys($ids))
> ));
>
> there are probably other ways of doing this, but I would have to think
> and test before I recommend them. :)
>
> Cheers
>
> On Jun 7, 9:03 pm,
7; =>
> array('User';
>
> you can find out more about the Containable behavior in the cook
> bookhttp://book.cakephp.org/view/1323/Containable
>
> On Jun 7, 2:54 pm, DrLaban wrote:
>
>
>
> > My setup is pretty straightforward;
> > User HABTM Group
> &g
My setup is pretty straightforward;
User HABTM Group
Group HABTM Project
Project HABTM User
I would like to produce a find-query that takes a single project-id
and builds a hierarchic contact list, in which the users belong to
their respective group(s).
Something along these lines:
[Project 1]
Hello all!
I've been doing some Cake'ing for a while and find it lots of fun to
work with seeing that it's quite fast and has a lot going for it so
far.
I'm having a bit of a headache with elements and helpers though, I've
seen some notions about it but never quite figured it out so I thought
I'd
That worked ace! Thanks!
Regard
DrLaban
On Jul 29, 6:22 pm, Gorka <[EMAIL PROTECTED]> wrote:
> If I understood you right, you are overwritting the value of 'gallery'
> with the second call to $this->set(), when you wanted to merge both
> values. Try preparing y
ly contains the last
set function call's info. How do I add info to the gallery object
without losing info from the first set call? I'd just like to add a
field called "numRows" that contains the int value of rows returned,
into the gallery object.
Thanks in advance!
Regards
ed and handled error messages that cake
provides.
* If I don't provide an email address, I get no error whatsoever. The
page reloads as if nothing's happened and I get to provide the address
again. I've completely and entirely lost the error handling.
Now, what I'd like to know
This worked perfectly!
Thanks alot for your comment!
Regards
DrLaban
On Jul 16, 8:22 am, wralph <[EMAIL PROTECTED]> wrote:
> Use the ID, so if you have a textarea with ID of ModelField, then
> access using:
>
> document.getElementById('ModelField').value = 'wh
ehow change either the behaviour of JavaScript or
CakePHP so that I can use a name property without losing field
validation?
Regards
DrLaban
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
It works great, thanks Geoff!
I'll try and see if I understand what it does in more detail and test
a couple of things. Perhaps I've even learned something! :D
Regards
DrLaban
On Jul 13, 12:56 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Create a helper called SmileyHe
ve yet to understand when I
should use them and when I should insert everything in the View itself
or the Controller.
I know this is getting a bit lenghty, but I really, really, really
want to learn how to do this.
Thank you all for your help so far. Too bad I'm not yet getting the
hang o
like this in PHP is totally new for me. But I appreciate you taking
your time to try and help me out!
Regards
DrLaban
On Jul 7, 1:28 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> If you don't want to hard code them in your helper, then you will need
> another database table for your smileys
table data. I think? :p
Again, thanks for yout input, much appreciated!
Regards
DrLaban
On Jul 6, 12:50 pm, Sergei <[EMAIL PROTECTED]> wrote:
> So what's the problem? Make a function in a model that extracts smiley
> data, and set it to view variable in your controller action.
>
>
27;t
gotten to the details that can solve my minor issue quite yet.
Thanks for your time!
Regards
DrLaban
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send em
llation of the field from ISO-8859-1 to UTF-8-generic. 2:
Search and replace all the extended characters you want to parse from
its original encoding to UTF-8 compliant encoding.
Thanks for the info about the helper!
Regards
DrLaban
On Jul 4, 11:51 pm, DrLaban <[EMAIL PROTECTED]> wrote:
>
n the regular
expressions?
Regards
DrLaban
On Jul 4, 4:18 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Here is the Bakery's implementation as a helper
> :-https://cakeforge.org/plugins/scmsvn/viewcvs.php/trunk/bakery/views/h...
>
> Basically in the view you call $bbcode->forma
from variables, but
I just haven't found it.
Thanks for your time, I hope I didn't mess everything up with my
descriptions!
Regards
DrLaban
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PH
18 matches
Mail list logo