The State of the Docs Address 2007

2007-06-19 Thread John David Anderson (_psychic_)

Bakers one and all,

I think the recent Commented Version of CakePHP Manual is a direct  
result of me not sharing what's going on with the docs: where we've  
been, and where we're headed. Hopefully I can clear this up a bit  
right now.

First, the wiki was a festering pit of misinformation and outdated  
information. It caused much more grief than it eased, and I am  
forever grateful it is long gone. The bakery is a perfect replacement  
- its a way for users to contribute content that we can date, tie to  
a specific version of cakephp, and most importantly monitor for  
accuracy and quality. To me the bakery is a huge success.

What we're working on now is a way to make the manual more community  
oriented. This includes the ability for community members to:

- Contribute content
- Correct content
- Translate
- Comment

This system is already under way, and will also help us convert the  
manual to PDF, CHM, and HTML (via the DocBook XML format).

There are currently *no* official docs for v1.2, nor will there be  
until we have a final release. Things are changing (for the good),  
things are being added on, and it does me no good to chase a moving  
target. That said, we're almost 100 pages into the 1.2 manual, which  
is has been greatly updated in the area of helping people see the big  
picture with CakePHP (MVC basics, class/file overviews, etc.).

If you'd like to see the outline of the new manual, check out the  
wiki tab on the cakedocs project at cakeforge.

By the way, the cakedocs team only has about 5 or 6 active members.  
I'd love to have any help if you're interested in making the docs  
better. If you want to volunteer time, please, please, please come  
and talk to someone on the team so we can get you channelled into  
something we're working on. We always appreciate community help. We  
always appreciate outside efforts - however - if you want to make the  
most difference for the most people, contribute to an official project.

Questions, suggestions?

-- John

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: My own global function

2007-06-19 Thread chanh.ong

I like to have a little worker function that I would like to have
available in Cake wherever I need them.

Which of these options will my functions be availalbe in all places
like model, controller, and view?

Thanks

On Jun 19, 2:08 pm, Tane Piper [EMAIL PROTECTED]
wrote:
 If it is a set of classes, you can put them in your vendors directory,
 within your application.  You can then call them like this:

 vendor('my_class');
 $myClass = new MyClass;

 If it just a bunch of functions you have, you can create a component with 
 them:

 http://manual.cakephp.org/chapter/components

 Finally, you can also put them in you AppController class.

 On 6/19/07, chanh.ong [EMAIL PROTECTED] wrote:



  If I have a set of commonly use functions want to make it available
  like Cake global functions what is the most acceptable way to tag
  along my global function and still ease of doing Cake upgrade without
  needing to add my global function in each time.

  I don't want to hack basics.php to add my functions.

  Thanks

 --
 Tane Piperhttp://digitalspaghetti.tooum.net

 This email is: [ ] blogable [ x ] ask first [ ] private


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: The State of the Docs Address 2007

2007-06-19 Thread Jonathan Langevin
Thanks for the info, it's greatly appreciated :-)

I'd love to be able to help out, but I dunno that I have anything to
contribute. I'm 2 weeks into Cake (I've tested it before, but never
attempted development until now), and I'm about as lost as most of the other
newbies out there, if not more :-)

if you have any tasks that a n00b can help with, let me know

On 6/19/07, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote:


 Bakers one and all,

 I think the recent Commented Version of CakePHP Manual is a direct
 result of me not sharing what's going on with the docs: where we've
 been, and where we're headed. Hopefully I can clear this up a bit
 right now.

 First, the wiki was a festering pit of misinformation and outdated
 information. It caused much more grief than it eased, and I am
 forever grateful it is long gone. The bakery is a perfect replacement
 - its a way for users to contribute content that we can date, tie to
 a specific version of cakephp, and most importantly monitor for
 accuracy and quality. To me the bakery is a huge success.

 What we're working on now is a way to make the manual more community
 oriented. This includes the ability for community members to:

 - Contribute content
 - Correct content
 - Translate
 - Comment

 This system is already under way, and will also help us convert the
 manual to PDF, CHM, and HTML (via the DocBook XML format).

 There are currently *no* official docs for v1.2, nor will there be
 until we have a final release. Things are changing (for the good),
 things are being added on, and it does me no good to chase a moving
 target. That said, we're almost 100 pages into the 1.2 manual, which
 is has been greatly updated in the area of helping people see the big
 picture with CakePHP (MVC basics, class/file overviews, etc.).

 If you'd like to see the outline of the new manual, check out the
 wiki tab on the cakedocs project at cakeforge.

 By the way, the cakedocs team only has about 5 or 6 active members.
 I'd love to have any help if you're interested in making the docs
 better. If you want to volunteer time, please, please, please come
 and talk to someone on the team so we can get you channelled into
 something we're working on. We always appreciate community help. We
 always appreciate outside efforts - however - if you want to make the
 most difference for the most people, contribute to an official project.

 Questions, suggestions?

 -- John

 


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Commented Version of CakePHP Manual

2007-06-19 Thread Dérico Filho

Hi John!

 Why would you need to distribute the docs when they're already freely
 available?

Free - chmod 0444??? Free to read, you mean, I guess. :-)

Let's us take a hypotetic project (not so hypothetic, because I am
doing one with CakePHP).
I make a Project using CakePHP. MIT Licence allows me to change it
according to my needs.

But my customer wants the documentation, oh NOT ONLY what I've done,
but also the CakePHP and the modifications... Well, what I problem I
got now, wouldn't you say? Mr. Woodworth told me the Documentation and
the Logo is Cake Foundation's intellectual property! Alas, I will have
to rewrite Cake's doc from the scratch, Oh nooo First, I can't
produce an altered version of the manual and distribute it. Second, I
can't also store the manual in the same CD of my project, I have to
instruct my customer to read or download it from the Cake website.

OK, stopping the sarcams now.

You see the point? Or even, I want to make my own version of commented
manual, I just cannot. Or for instance, I live in Brazil, people here
simply don't talk english... I would like to provide them a version of
commented manual with Portuguese comments, but this also is not
allowed.

I cannot do ANYTHING with CakePHP manual because it's Cake Software
Foundation intellectual property.

please! chmod 777 CAKEMANUAL.

Uldérico

On Jun 19, 6:03 pm, John David Anderson (_psychic_)
[EMAIL PROTECTED] wrote:
 On Jun 19, 2007, at 1:42 PM, Jonathan Langevin wrote:

  I'm not saying the developers aren't capable of providing  
  documentation. Docs for 1.1 are probably the nicest I've seen  
  (although since the group convinced me to try 1.2, I've become very  
  frustrated with 1.2 's lack of docs). my comment wasn't intended to  
  put down anyone, my thinking is to keep trademark and legalities  
  separated from open-source documentation.

  think about it like this: if I were to develop an application using  
  CakePHP, and redistribute the application + cake along with  
  documentation, there would apparently be a legal issue, as the  
  Manual is considered the intellectual property of the Cake  
  Foundation, correct?

 Why would you need to distribute the docs when they're already freely  
 available?

  \so if there were a truly unencumbered documentation repository,  
  this situation could be avoided. additionally, if cake  
  documentation were to ever fall into disrepair, a new initiative  
  could be started for the documentation without infringing on  
  someone's intellectual property

  i'm not saying that developers should be excluded by any means, so  
  please don't be offended by my remarks

 We're just trying to understand your concerns - please don't take  
 disagreement as anything more than disagreement.

 :)

 -- John


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: The State of the Docs Address 2007

2007-06-19 Thread John David Anderson (_psychic_)


On Jun 19, 2007, at 3:31 PM, Jonathan Langevin wrote:

 Thanks for the info, it's greatly appreciated :-)

 I'd love to be able to help out, but I dunno that I have anything  
 to contribute. I'm 2 weeks into Cake (I've tested it before, but  
 never attempted development until now), and I'm about as lost as  
 most of the other newbies out there, if not more :-)

Please search this group for the many times I've said how much  
caken00bs can contribute.

We need new eyes, people. They are the best at identifying weak  
points in the content.

-- John

P.S. - And don't tell me you're too busy, because I'm busy too, and  
so is everyone else. :)

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Commented Version of CakePHP Manual

2007-06-19 Thread Finster

On Jun 19, 3:03 pm, John David Anderson (_psychic_)
[EMAIL PROTECTED] wrote:

 Why would you need to distribute the docs when they're already freely
 available?


Because they are, like the wiki apparently was, outdated. The manual
is great, but there is a LOT of stuff in there that is out of date.
And most of it has been addressed by bug submissions to
trac.cakephp.org. Why are these bug reports ignored? Who knows, but
all this complaining about the outdatedness of the wiki also applies
to the current manual as it stands now.

Honestly, Derico, if The Powers That Be are giving you the old
stinkeye, then you could create something like what Pennypacker does
for the Penny Arcade comic. It's a Firefox add-on that allows tagging
and commenting of the Penny Arcade comics and writes that HTML
directly to the Penny-Arcade.com website when you view the comics. You
could do the same thing with the manual. Then, no one's license
*ptoo* is getting infringed, and people can still comment and tag,
etc. I highly encourage you to check it out: http://phasetwo.org/pennypacker/



--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Framework Integration Question

2007-06-19 Thread Jonathan Holloway
Hi all,

I've just started out with CakePHP over the last few days and I'm stuck
trying to integrate
htmlmimemail into the framework.  Do I have to create a Component and
reference it in
app/vendors or is there another way to do this?  Can I just reference the
htmlmimemail.php
class directly.  If so where do I put it.

Helpos muchos would be appreciated.

Many thanks,
Jon.

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



error message new installation 1.2

2007-06-19 Thread Amy1234

hello,

I have upgrated to 1.2 but i get this error

Notice: Please change the value of CAKE_SESSION_STRING in app/config/
core.php to a salt value specific to your application in /Library/
WebServer/Documents/cake/cake/libs/debugger.php on line 373

what should i change it to?

thanks for your help


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)


On Jun 19, 2007, at 3:32 PM, Dérico Filho wrote:


 Hi John!

 Why would you need to distribute the docs when they're already freely
 available?

 Free - chmod 0444??? Free to read, you mean, I guess. :-)

Yes. There's a reason we don't allow everyone to post freely to an  
official CakePHP website. :)

 Let's us take a hypotetic project (not so hypothetic, because I am
 doing one with CakePHP).
 I make a Project using CakePHP. MIT Licence allows me to change it
 according to my needs.

 But my customer wants the documentation, oh NOT ONLY what I've done,
 but also the CakePHP and the modifications... Well, what I problem I
 got now, wouldn't you say? Mr. Woodworth told me the Documentation and
 the Logo is Cake Foundation's intellectual property! Alas, I will have
 to rewrite Cake's doc from the scratch, Oh nooo First, I can't
 produce an altered version of the manual and distribute it.

IANAL, but I don't see the issue with you writing whatever you want  
about CakePHP, as long as you tell people you're not official, and  
who is.

Secondly, is there a problem with handing this client a link to the  
existing manual, or a PDF of it?

 Second, I
 can't also store the manual in the same CD of my project, I have to
 instruct my customer to read or download it from the Cake website.

...which is probably more updated than a PDF on a CD...

 OK, stopping the sarcams now.

 You see the point? Or even, I want to make my own version of commented
 manual, I just cannot.

I suppose you can, but you'd need to write your own content for it.  
But if everyone does that...

 Or for instance, I live in Brazil, people here
 simply don't talk english... I would like to provide them a version of
 commented manual with Portuguese comments, but this also is not
 allowed.

We're working on that, as I've explained in another thread. If you  
like to help with that, let me know.

 I cannot do ANYTHING with CakePHP manual because it's Cake Software
 Foundation intellectual property.

Why is that? So we can maintain a level of quality. Nothing is  
stopping you from making your own manual, as long as you write it  
yourself and don't make it appear as an official document. This is  
legal - that's why you see all these missing manual series on the  
bookshelves. I just don't think it's a good idea.

 please! chmod 777 CAKEMANUAL.

That'll never happen because I expect a level of quality and accuracy  
that a wiki-type approach simply cannot (and did not) provide. I also  
think that creating your own version of the manual really isn't as  
productive as contributing to the official effort.

--- John
--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: error message new installation 1.2

2007-06-19 Thread Walker Hamilton

shorten the string that's there


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Framework Integration Question

2007-06-19 Thread Walker Hamilton

the new 1.2 has an email component built-in...
there's a tutorial in the bakery


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Vendors.php and javascript folder

2007-06-19 Thread nate

This file is no longer relevant and is there primarily for backwards
compatibility.  See this post for sharing JS and CSS assets across
multiple applications: 
http://joelmoss.info/switchboard/blog/2142:Whats_new_in_CakePHP_Asset_Sharing

All you really have to do is drop the files into vendors/js and as
long as files with the same names do not exist in webroot/js, they
will be loaded automatically.  Nothing more to it.

On Jun 19, 4:46 pm, mdcatc [EMAIL PROTECTED] wrote:
 I'm noticing that the vendors.php file refers to ..\..\vendors
 \javascript\, however the folder doesn't exist or is still named
 vendors\js\ in the cake templates. Is this intentional if I want to
 use the vendors.php structure do I need to add a javascript folder to
 vendors and then add my .js file to both the vendors\javascript\
 folder as well as the vendors\js folder?

 I stumbled upon this trying to use some of the scriptaculous.js and
 prototype.js
 I've placed my js files in the vendors\js\ folder and modified the
 vendors.php to refer to that location, I fear that this is negating
 the fix for the grep statment that was put inplace to limit file reads
 to that folder.

 Morgan


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)


On Jun 19, 2007, at 3:45 PM, Finster wrote:


 On Jun 19, 3:03 pm, John David Anderson (_psychic_)
 [EMAIL PROTECTED] wrote:

 Why would you need to distribute the docs when they're already freely
 available?


 Because they are, like the wiki apparently was, outdated. The manual
 is great, but there is a LOT of stuff in there that is out of date.
 And most of it has been addressed by bug submissions to
 trac.cakephp.org. Why are these bug reports ignored? Who knows, but
 all this complaining about the outdatedness of the wiki also applies
 to the current manual as it stands now.

Maybe it does, but there's a limited amount of resources helping out  
on the docs. Last month there was one person working on it. Thanks to  
some great people, that's now up to 5 or 6. I've made the decision to  
place most of our efforts towards the 1.2 manual rewrite.

Maybe I'll have to rethink that, but I think we can limp along with  
what we've got until 1.2 comes out.

-- John

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Framework Integration Question

2007-06-19 Thread Walker Hamilton

Found it: 
http://bakery.cakephp.org/articles/view/brief-overview-of-the-new-emailcomponent


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: My own global function

2007-06-19 Thread Grant Cox

Put your global helper functions in app/config/bootstrap.php


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: error message new installation 1.2

2007-06-19 Thread Amy1234

thank you, that worked

On Jun 19, 6:10 pm, Walker Hamilton [EMAIL PROTECTED] wrote:
 shorten the string that's there


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



is there a separate manual for 1.2

2007-06-19 Thread Amy1234

because things work very different that 1.0 did and I am confused. How
do I bake with 1.2


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: The State of the Docs Address 2007

2007-06-19 Thread Divagater

Thanks for the update John. I look forward to seeing the 1.2 manual
when it is released.

I am pretty new to CakePHP and am developing my app on the 1.2.x.x
code base. To date there has not been a single problem that I could
not overcome by browsing this group, the api, or the Bakery. I
encourage folks who are stuck on something to ask questions. We all
benefit from the answers. The CakePHP community as a whole is a
walking, talking, manual :)

Cheers,
Billy


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: is there a separate manual for 1.2

2007-06-19 Thread Felix Geisendörfer





  because things work very different that 1.0 did and I am confused. How
do I bake with 1.2

CakePHP 1.2 is not officially released yet and there is no official
support for it. A new manual is in the works but not released.

So if you are new to the kitchen - stay with 1.1. And regardless, in
future please invest the 60 seconds it would have taken you to find the
answer to this question by reading up on any of the xx CakePHP 1.2 docs
threads that have been active over the past couple days.

-- Felix
--
My latest blog posts:

  
 My Business: http://www.fg-webdesign.de





Amy1234 wrote:

  because things work very different that 1.0 did and I am confused. How
do I bake with 1.2


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---


  





Re: Commented Version of CakePHP Manual

2007-06-19 Thread Dérico Filho

Hi John!


As I have stressed few threads ago, I do agree with you, we should not
fork or split our efforts on documenting CakePHP. I am just worried
about licensing issues, which would - at least in my thoughs - give a
fright on independent initiatives; and availability of resources, such
commenting and some sort of professional knowledge networking.

I speak Portuguese, as mother tongue, and I would be very glad on
joining you guys either producing documents in english as much as
translating them into portuguese.


Uldérico

On 19 jun, 19:14, John David Anderson (_psychic_)
[EMAIL PROTECTED] wrote:
 On Jun 19, 2007, at 3:45 PM, Finster wrote:



  On Jun 19, 3:03 pm, John David Anderson (_psychic_)
  [EMAIL PROTECTED] wrote:

  Why would you need to distribute the docs when they're already freely
  available?

  Because they are, like the wiki apparently was, outdated. The manual
  is great, but there is a LOT of stuff in there that is out of date.
  And most of it has been addressed by bug submissions to
  trac.cakephp.org. Why are these bug reports ignored? Who knows, but
  all this complaining about the outdatedness of the wiki also applies
  to the current manual as it stands now.

 Maybe it does, but there's a limited amount of resources helping out  
 on the docs. Last month there was one person working on it. Thanks to  
 some great people, that's now up to 5 or 6. I've made the decision to  
 place most of our efforts towards the 1.2 manual rewrite.

 Maybe I'll have to rethink that, but I think we can limp along with  
 what we've got until 1.2 comes out.

 -- John


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: findAll and order by related detail

2007-06-19 Thread Chris

Did you ever get a response to this question, I'm looking for the same
thing?

On May 21, 7:37 am, szeta [EMAIL PROTECTED] wrote:
 Hello,

 I don't know how I can achieve this..

 I want to find all Persons, butorderthem by the 'Due_Date' of the
 'Group' they are assigned to (hasAndBelongsToMany).

 $this-Person-bindModel(array('hasAndBelongsToMany' = array('Group'
 = array(
 'className' = 'Group',
 'joinTable' = 'group_person',
 'foreignKey' = 'person_ID',
 'associationForeignKey' = 'group_ID',
 'conditions' = '',
 'fields' = array('ID', 'Due_Date'),
 ;

 $this-Person-findAll('','','Group.Due_Date'); does not work.

 Setting 'order' = 'group.Due_Date' in the HABTM definition does not
 work either.

 Has anybody done this and can give me a hint?

 Kind regards
 Ralph


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Commented Version of CakePHP Manual

2007-06-19 Thread [EMAIL PROTECTED]

It seems to me that there are a lot of good arguments on both sides of
the wiki style debate (wikipedia seems to work, but only through shear
number of managers).

However, the point here is more fundamental to Cake in my opinion.
It's already been raised that it can be difficult to identify and
directly contact the Cake team, and that communication - especially in
the area of documentation - has been limited of late. Endless thanks
to John for clarifying that (Cf. State of the Docs thread).

Of course, when you don't tell people how to find the tools, and you
don't give them the tools (decent 1.2 docs) they will tend to go and
do their own thing. vide the excellent commented manual idea.

Is there anything the Cake core team can do to embrace the community's
ideas more enthusiatically, and open up the cabal a bit. Cease and
desist tactics, and snotty comments in groups like this are the domain
of the closed source world, and defy the spirit of free and open
source software.

Cake is a great platform, but we could be nicer to people who are
trying to use it. I will certainly try and do so myself in this forum
now I've figured it all out.

S



--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)


On Jun 19, 2007, at 8:06 PM, [EMAIL PROTECTED] wrote:


 It seems to me that there are a lot of good arguments on both sides of
 the wiki style debate (wikipedia seems to work, but only through shear
 number of managers).

 However, the point here is more fundamental to Cake in my opinion.
 It's already been raised that it can be difficult to identify and
 directly contact the Cake team, and that communication - especially in
 the area of documentation - has been limited of late. Endless thanks
 to John for clarifying that (Cf. State of the Docs thread).

Most of us hang out in IRC during the US working day. Besides, we all  
follow this mailing list as well.

We're not too hard to get a hold of. We don't bite very often, so  
you're pretty safe contacting us with questions. :)


 Of course, when you don't tell people how to find the tools, and you
 don't give them the tools (decent 1.2 docs) they will tend to go and
 do their own thing. vide the excellent commented manual idea.

I've tried to communicate this better, but please note: there will be  
*no* docs for 1.2 until it is finally released. It is a development  
version. Please please please realize that 1.2 has no official docs  
until it has been officially released.

 Is there anything the Cake core team can do to embrace the community's
 ideas more enthusiatically, and open up the cabal a bit. Cease and
 desist tactics, and snotty comments in groups like this are the domain
 of the closed source world, and defy the spirit of free and open
 source software.

I'm very open to ideas on this. We try to keep on trac tickets,  
though I haven't done a very good job of that lately. I suppose  
that's the easiest way to formally review new ideas.

Don't be surprised if we push back on your ideas, and please don't  
take it personally. We're only trying to do what we think is best.

 Cake is a great platform, but we could be nicer to people who are
 trying to use it. I will certainly try and do so myself in this forum
 now I've figured it all out.

while(1)
{
$simon-clone();
}

Thanks,

John

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: My own global function

2007-06-19 Thread chanh.ong

Sound really simple way!

Thanks

On Jun 19, 4:25 pm, Grant Cox [EMAIL PROTECTED] wrote:
 Put your global helper functions in app/config/bootstrap.php


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Cake is not working correctly on sourceforge.net

2007-06-19 Thread chanh.ong

It is odd that I am the only person use sourceforge.net for my cake
development.

Look like I might just bark on the wrong tree here!

On Jun 19, 7:02 am, chanh.ong [EMAIL PROTECTED] wrote:
 I tried to set up cake on my sourceforge.net project but having lot of
 issues but don't know exactly what they are until today!

 I track down the problem that I am having on sf.net but need some cake
 expert to tell me what to do to get around this

 I created a static page hello.thtml in pages folder and on my other
 host it works just fine but not on sourceforge.net

 Here is what I see when I login through the shell:
 /home/groups/c/co/coaddons/htdocs/cake/app/views/pages

 I got this error on sourceforge.net when tried to access the page via
 this url:http://coaddons.sourceforge.net/cake/pages/hello

 --- File does not exist: /home/groups/c/co/coaddons/htdocs/cake/pages/
 hello

 One interesting note if I let it run for the default page which is
 empty in the pages then cake seems to run fines but not with my test
 page.

 There is some kind of redirection going on sourceforge.net and cake
 can't seem to figure out the right path the cake itself!

 It seems that on sourceforge.net, when the site run, cake can't find
 the correct location of the file.

 Any one has any suggestion on how to solve this!

 Thanks


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: is there a separate manual for 1.2

2007-06-19 Thread chanh.ong

You will find the console in 1.2 and I learn that you can do this:

cake bake -app demapp

very similar to 1.1 whereas php bake.php -app demoapp


On Jun 19, 5:13 pm, Felix Geisendörfer [EMAIL PROTECTED] wrote:
  because things work very different that 1.0 did and I am confused. How
  do I bake with 1.2

 CakePHP 1.2 is not officially released yet and there is no official
 support for it. A new manual is in the works but not released.

 So if you are new to the kitchen - stay with 1.1. And regardless, in
 future please invest the 60 seconds it would have taken you to find the
 answer to this question by reading up on any of the xx CakePHP 1.2 docs
 threads that have been active over the past couple days.

 -- Felix
 --
 My latest blog posts:

 ThinkingPHP and beyond
 http://feeds.feedburner.com/%7Er/thinkingphp/%7E6/1

 My Business:http://www.fg-webdesign.de

 Amy1234 wrote:
  because things work very different that 1.0 did and I am confused. How
  do I bake with 1.2


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: is there a separate manual for 1.2

2007-06-19 Thread Jonathan Langevin
chanh, is demapp correct, or did you mean demoapp?

just checking for possible typo

On 6/19/07, chanh.ong [EMAIL PROTECTED] wrote:


 You will find the console in 1.2 and I learn that you can do this:

 cake bake -app demapp

 very similar to 1.1 whereas php bake.php -app demoapp


 On Jun 19, 5:13 pm, Felix Geisendörfer [EMAIL PROTECTED] wrote:
   because things work very different that 1.0 did and I am confused. How
   do I bake with 1.2
 
  CakePHP 1.2 is not officially released yet and there is no official
  support for it. A new manual is in the works but not released.
 
  So if you are new to the kitchen - stay with 1.1. And regardless, in
  future please invest the 60 seconds it would have taken you to find the
  answer to this question by reading up on any of the xx CakePHP 1.2 docs
  threads that have been active over the past couple days.
 
  -- Felix
  --
  My latest blog posts:
 
  ThinkingPHP and beyond
  http://feeds.feedburner.com/%7Er/thinkingphp/%7E6/1
 
  My Business:http://www.fg-webdesign.de
 
  Amy1234 wrote:
   because things work very different that 1.0 did and I am confused. How
   do I bake with 1.2


 


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Wrong fieldset type for MySQL SET datatype. Workaround?

2007-06-19 Thread Dr. Tarique Sani
Please add the patch to http://trac.cakephp.org/

The devs will notice it there and patch it

Tarique

On 6/16/07, Nick [EMAIL PROTECTED] wrote:


 After checking the dbo files, set is indeed missing for the mysql
 and mysqli drivers so a simple patch is to add

 if (strpos($col, 'set') !== false) {
 return set($vals);
 }

 or similar after the enum case and then all works well. Not sure if
 there's a reason why it wasn't there, but I suspect just an oversight.

 Cheers
 Nick


 



-- 
=
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



<    1   2