Re: Install cakePHP in Ubuntu 10.04

2010-06-17 Thread Matthew Powell
Right, a2enmod, a2dismod, a2ensite, a2dissite. are, at least as far as
I know, Debian specific scripts to manipulate the apache2
configuration directory.  a2enmod mod_rewrite will get you half-way
there.  You'll also need to modify the default vhost to set
AllowOverride to be on in order for cake's .htaccess file to do its
thing (which I guess has already been discussed in the blog post, but
I'll leave it here for the purpose of documentation).  Be sure to
restart apache after performing these modifications.

Also, a2enmod doesn't copy anything.  Take a closer look at
/etc/apache2/modules-enabled.  Everything in there is a symbolic link,
unless you copied something in there yourself.  You can edit either
/etc/apache2/modules-enabled/BLAH.conf or
/etc/apache2/modules-enabled/BLAH.conf.  They point to the same place
on the disk.

Matt



On Thu, Jun 17, 2010 at 03:41, leo  wrote:
> I didn't know about that command either. However, if you examine the
> contents of  modules-enabled, you'll see they're all sLinks. It
> doesn't make sense to me to have two copies of the same file in a
> situation where and upgrade might change only one of them. That's what
> links are for. I didn't have to debug Gnome or the OS for 9.04, 9.10
> or 10.04.
>
> On 17 June, 02:54, calvin  wrote:
>> I dunno, I actually got Cake 1.3 set up on a Ubuntu Server (10.4)
>> server pretty easily. To enable a module that isn't enabled by
>> default, just use a2enmod. I didn't realize the Ubuntu Apache package
>> came with that command, so I actually did it manually at first. I also
>> wasn't used to the modular configurations, which was different from
>> how it is in Windows. But it's not too hard to figure out. Actually
>> hammering out the bugs in gnome and the OS itself was much more
>> challenging than actually setting up the web server and Cake IMO.
>>
>> The only advice I have is to look at the modules-available directory
>> before you try to manually change the config files to enable a module.
>> A lot of the documentation or articles online have a different name
>> for the mod_rewrite module than the one that is actually used in
>> Ubuntu. So if you follow those instructions to add the module
>> manually, it will throw an error saying the file couldn't be found.
>> But if you just use a2enmod (which just copies the config file from
>> modules-available to modules-enabled) to enable mod_rewrite, then it
>> will work perfectly.
>>
>> On Jun 16, 3:33 am, leo  wrote:
>>
>> > Installing AMP on Ubuntu is trivial. The confusing part is getting
>> > CakePHP to work. It is not out-of-the-box because the Ubuntu default
>> > Apache config doesn't include mod_rewrite. Even when you have that set
>> > up, there is some Debian-ness to contend with. The trick is finding
>> > the right files to alter and making the right alterations, hence my
>> > earlier post linking 
>> > tohttp://leoponton.blogspot.com/2010/05/getting-cakephp-up-and-running-
>>
>> > On 16 June, 10:46, Zaky Katalan-Ezra  wrote:
>>
>> > > install LAMPhttp://www.howtoforge.com/ubuntu_lamp_for_newbies
>> > > Unzip the cakephp where ever you like, home/zaky/cakephpproj/ for 
>> > > example.
>> > > under /var/www create a link you your site
>> > > cd /var/www
>> > > sudo ln -s home/zaky/cakephpproj/ mynewapp
>>
>> > > chmod 777 app/tmp
>>
>> > > update app/config/database.php with you database details.
>>
>> > >http://localhost/mynewapp
>>
>> > > On Tue, Jun 15, 2010 at 6:34 PM, Abrão Ximenes 
>> > > wrote:
>>
>> > > > Hello, I am very interested to learn cakePHP, can anyone  send the 
>> > > > steps to
>> > > > me how to install and configure/setting cakePHP in Ubuntu 10.04?
>>
>> > > > Thanks
>> > > > Newbie
>>
>> > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers
>> > > > with their CakePHP related questions.
>>
>> > > > 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+unsubscr...@googlegroups.comFor
>> > > >  more options, visit this group at
>> > > >http://groups.google.com/group/cake-php?hl=en
>>
>> > > --
>> > > Regards,
>> > > Zaky Katalan-Ezra
>> > > QA Administratorwww.IGeneriX.com
>> > > Sites.IGeneriX.com
>> > > 054-7762312
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to

Re: php+gdchart installation ubuntu 9.04

2010-06-17 Thread Matthew Powell
You probably don't have everything needed to compile software for apache.

$ sudo apt-get install build-essential apache2-prefork-dev php5-dev
libapache2-mod-php5

And try again.  Also, take a look at google charts.  I'm not using it
myself, but it looks very nice.

Speaking of google, I hear they have a pretty good search engine these
days, including one
for linux specific queries.  http://www.google.com/linux

Good luck.

Matt


On Thu, Jun 17, 2010 at 07:31, Jonathon Musters  wrote:
> Try a ubunto list
>
>
>
> On 6/17/10, sivarama prasad  wrote:
>> Hello,
>>
>> I am trying installation gdchart for php chart reports.
>> i was downloaded gdchar-0.2.0.tar , extract it and change to
>> gdchart-0.2.0 dir then given bellow commands
>>
>> phpize
>> ./configure
>> make
>> make install
>>
>> but its not working
>>
>> Check out the new CakePHP Questions site http://cakeqs.org and help others
>> with their CakePHP related questions.
>>
>> 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+unsubscr...@googlegroups.com For more options, visit this group at
>> http://groups.google.com/group/cake-php?hl=en
>>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: timeHelper

2010-06-02 Thread Matthew Powell
http://php.net/strftime


Matt

On Wed, Jun 2, 2010 at 18:48, bradmaxs  wrote:
> Does anyone know if there is a way to convert the military time output
> of the niceShort method to standard time?
>
> Example: 13:54:01 to 1:54pm.
>
> Thank you,
>
> Brad
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Why uses CKeditor in Cake 1.3?

2010-05-21 Thread Matthew Powell
Unpack ckeditor to app/webroot/ckeditor, then, in your view:

Javascript->link('/ckeditor/ckeditor', false);?>
Form->textarea('some_textarea'); ?>

CKEDITOR.replace('some_textarea');



Matt

On Fri, May 21, 2010 at 12:53, Celso  wrote:
> Anyone have a example?
> Thanks,
> Celso.
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Can I turn off session timeout?

2010-05-19 Thread Matthew Powell
On Wed, May 19, 2010 at 11:16, WhyNotSmile
 wrote:
> Thanks Matt.
>
> Is it ok just to change to cake sessions, or do I need to do anything
> else?  The system has been live for a while, so I don't want to lose
> any data - I assume it will be ok, but just want to check!

First, to clarify, the reason you're changing to cake sessions (away
from php sessions) is to take advantage of cake's session handler.
You could always modify php.ini, but then you're changing the session
properties for all apps on your server.  Not good.

When you change to cake sessions, all authenticated users will be
logged out.  The only data last will be what you have stored in each
session's $_SESSION variable.  Should not be a big deal.

Matt

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Can I turn off session timeout?

2010-05-19 Thread Matthew Powell
Make sure you're using cake (or db) sessions, not php sessions, then
ratchet up the timeout to some number that will likely never be
reached.  Note that if he clears his cookies (or his browser
automatically clears them, he will no longer be associated with a
previous, yet still active session, offering the illusion to him that
his session has expired.


Matt



On Wed, May 19, 2010 at 10:43, WhyNotSmile
 wrote:
> A client has asked me to remove the session timeout feature in his app
> (using Cake 1.2).  Can I do this?  If so, how?
>
> I'm not a huge fan of turning it off, but that's what the client has
> asked for - I've explained why it's in there, but this is what he
> wants.
>
> So, can anyone tell me how to do this?  Or is it easiest just to set
> the timeout to a really long period of time, like a day or so?
>
> Thanks!
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: CakePHP CORE as Git submodule

2010-05-18 Thread Matthew Powell
This doesn't answer your question, but perhaps it solves your problem.

Updating it in each app is one way to do it.  I Prefer to just have
one copy of cake.

http://book.cakephp.org/view/35/Advanced-Installation


Matt



On Tue, May 18, 2010 at 15:00, DanielMedia  wrote:
> I've been looking for a way to easily update the CakePHP core in all
> of my apps. A Git submodule seems to be the answer. I am following the
> instructions here:
>
> http://www.bravo-kernel.com/2010/03/cakephp-as-a-git-submodule/
>
> The problem is that checking out CakePHP from GitHub gives you ALL of
> the CakePHP files including the APP folder, index.php, etc. Is there a
> way to ONLY check out the core? (The "cake" folder alone)
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: php limits?

2010-05-18 Thread Matthew Powell
php.ini



On Tue, May 18, 2010 at 02:24, Dilip Godhani  wrote:
> i want to create pdf but that give me that error
>
> Allowed memory size of 16777216 bytes exhausted (tried to allocate 4980736
> bytes)
>
> Help me
> Thanks
> --
> Dilip Godhani
> Jr Software Developer, Entourage Solutions
> e-mail: di...@entouragesolutions.com
>           dilip.godh...@gmail.com
> Web.: www.entouragesolutions.com
> m. 9913822582
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Model data structure inconsistent?

2010-05-07 Thread Matthew Powell
Jamie said it once, but I feel it's worth repeating.

Modifying the code to output in a format YOU want for your new
application could pretty much screw up every cakephp application out
there.


Matt


On Fri, May 7, 2010 at 10:33, Roland Bock  wrote:
> Jamie,
>
> thanks for the reassurance :-)
>
> Submitting a ticket certainly is a good idea!
>
> Regards,
>
> Roland
>
> Jamie wrote:
>
> Hi Roland,
>
> What you're suggesting is a pretty major change to data returned by
> Cake - major in that there would be a lot of user-end code that needs
> changing if this were to happen to the core. Though I think it's
> awesome that you'd be willing to write a patch and submit it, maybe
> you should first submit a ticket to Lighthouse (
> http://cakephp.lighthouseapp.com
> ) for some feedback from the core development team. To be honest, I
> found the structure of returned data a bit odd when I was starting out
> with Cake as well, so you're not the only one.
>
> - Jamie
>
> On May 7, 5:46 am, Roland Bock  wrote:
>
>
> Yes, and validation, too, I guess...
>
> I hope to find the time :-)
>
> Thanks for your help!
>
> Regards,
>
> Roland
>
>
>
>
>
>
>
>
>
> You could probably write a Behaviour, but that will take additional
> processing, which slows down the application.
>
>
> On May 7, 2:48 pm, Roland Bock  wrote:
>
>
> John Andersen wrote:
>
>
> I agree that the structure could be better, but as it is, is the way
> we have to work with it, and I consider it sufficient for my usage.
> Enjoy,
>    John
>
>
> OK, two questions:
>
>
> a) Do you think I could tweak current Models with a Behavior in order to
> get the structure I prefer?
>
>
> b) Do you think it would make sense to send a patch that would change
> the data structure (maybe for cake-1.4)?
>
>
> Thanks and regards,
>
>
> Roland
>
>
> On May 7, 12:30 pm, Roland Bock  wrote:
>
>
> Hi,
> John Andersen wrote:
>
>
> I do think that if you don't like something in CakePHP, please write
> your own solution to it, then offer it to the CakePHP developers.
>
>
> Sure. I'd like to understand first, though :-)
> In CakePHP, Parent -> Node -> Child leads to different ways to handle a
> single Node:
> $node['id'];    // in case Node has been retrieved by Parent
> $node[Child'];
> but
> $currentRecord['Node']['id']; // Node has been retrieved by Node
> $currentRecord['Child'];
> This seems to add complexity.
> Now, here is what I would aim for (including the Ghost you added)
> Array
> (
>     [Parent] => Array
>         (
>             [0] => Array
>                 (
>                     [id] => 1
>                     [Node] => Array
>                         (
>                             [0] => Array
>                                 (
>                                     [id] => 17
>                                     [Child] => Array
>                                         (
>                                         )
>                                 )
>                             [1] => Array
>                                 (
>                                     [id] => 19
>                                     [Child] => Array
>                                         (
>                                         )
>                                 )
>                         )
>                     [Ghost] => Array
>                         (
>                             [0] => Array
>                                 (
>                                     [id] => 2
>                                 )
>                             [1] => Array
>                                 (
>                                     [id] => 3
>                                 )
>                         )
>                 )
>         )
> )
> This way I can say
> $resultSet             <- This is an array of Parents
> $currentRecord = $resultSet['Parent']['0']
> $currentRecord         <- This is a Parent
> $currentRecord['id']
> $currentRecord['Node']
> $currentRecord['Node'][0]['id']
> $currentRecord['Node'][0]['Child']
> $currentRecord['Ghost]
> In the original CakePHP structure,
> $resultSet  <- This is an array of arrays(Parent,Nodes, Ghosts)
> $currentRecord = $resultSet['0']
> $currentRecord        <- This is a Parent/Nodes/Ghosts array
> $currentRecord['Parent']
> $currentRecord['Parent']['id']
> $currentRecord['Node']
> $currentRecord['Node'][0]['Child]
> $currentRecord['Ghost']
> So basically, my way, you need to write *less* to access members of
> 'Parent'. The rest is pretty similar. But, (huge benefit, I think), you
> can handle a Node always in the same way, regardless of whether you get
> it included in a Parent or use the Node Model directly:
> My way:
> $node['id'];  // no matter what
> $node['Child'];
> Remeber the CakePHP way:
> $node['id'];    // in case Node has been retrieved by Parent
> $node[Child'];
> but
> $currentRecord['Node']['id']; // Node has been retrieved by Node
> $currentRecord['Child'];
>
>
> Does the above helps you to clarify why the orig

Re: Multiple AJAX Forms on same page all submitting to first form.

2010-05-07 Thread Matthew Powell
Take a look at the generated HTML.  It sounds very much like the first
form isn't being terminated properly (no  tag).  This causes
the fields in the second form to think they are part of the first
form.

On Thu, May 6, 2010 at 22:45, Nilz  wrote:
>
> Why are you using two ids?
>
> create('User', array('action'=>'check', 'id'=>
> $formid, 'name'=>$formid, 'id' => $submitid)); ?>
>
> I use $ajax->form to work this fine for me.
>
> Hope it help.
>
>
> On May 7, 2:10 am, Robert McWay 
> wrote:
>> Hello All,
>>
>> I am having trouble with putting multiple ajax form instances on the
>> same page. All the forms have the same fields, with the exception of a
>> hidden field passing the User Id. Upon submitting the form, it always
>> submits the form fields in the first form, regardless of which form i
>> submit. I have given  the each submit, and form unique ids, but it
>> still seems to always submit that first form. Here is an example of a
>> couple forms:
>>
>> > $update = 'availability'.$t['id'];
>> $formid = 'a'.$t['id'];
>> $submitid = 'submit'.$t['id'];
>> ?>
>> create('User', array('action'=>'check', 'id'=>
>> $formid, 'name'=>$formid, 'id' => $submitid)); ?>
>> hidden('tutor_id.'.$t['id'], array('value'=>
>> $t['id']))?>
>> ...more identical form checkbox fields
>>
>> submit('Check', array('url'=>
>> array('controller'=>'users', 'action'=>'check'), 'update' => $update,
>> 'id' => $submitid)); ?>
>>
>> Any ideas?
>>
>> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
>> with their CakePHP related questions.
>>
>> 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+unsubscr...@googlegroups.com For more options, visit this group 
>> athttp://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Database agnostic virtual fields

2010-05-07 Thread Matthew Powell
I hear you.  I'm the guy that tweaked the book to show how to do the
same thing in postgres.

Cake's DB layer is unaware of the differences in how string
concatenation works in the various DBs, though I suspect most would
find it desirable to have that change.

I guess you could write a method in app_model.php that was aware of
how to concat a string in each supported database, then send it a list
of fields and a separator and have it make the virtualField.

As a postgresql user who will probably never touch mysql (or anything
else, most likely) I'm too lazy to do it myself.

Matt


On Fri, May 7, 2010 at 08:19, Sunny  wrote:
> Virtual fields which is described at 
> http://book.cakephp.org/view/1608/Virtual-fields
> This makes the code depends on the database. For example this piece of
> code would only work for MySQL
>
> var $virtualFields = array(
>    'full_name' => 'CONCAT(User.first_name, " ", User.last_name)'
> );
>
> I'm looking for a more database agnostic approach. The reason is I'm
> still not sure what database I'll be using in production so I want to
> keep my code as much database agnostic as possible.
>
> Any suggestions?
>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: How do I get Acl working?

2010-04-28 Thread Matthew Powell
Did you perhaps leave a $this->Auth->allow('*'); in there somewhere?

Matt

On Wed, Apr 28, 2010 at 21:33, Jon Chin  wrote:
> I'm having a bit of a problem getting Auth+ACL working.  I've followed the
> Simple Acl Controlled Application example in the Cake book. It is correctly
> locking out unauthenticated users from the system.  However, all
> authenticated users are able to access all ACOs in my site, even if the
> group they belong to is denied access.  I've been at it for hours, but can't
> seem to figure out what I'm doing wrong.  Any ideas?
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: virtual fields in conditions

2010-04-26 Thread Matthew Powell
> As for using virtual fields in conditions, I've come to the conclusion
> that the current version of Cake does not handle them.

Works here.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: is it advisable to use jquery on cakephp?

2010-04-19 Thread Matthew Powell
I use it, without the helper.  If using jQuery + Cake is wrong, I don't want
to be right.

Good luck,

Matt

On Mon, Apr 19, 2010 at 09:17, Bryan Lim  wrote:

> question as above.
> I also want to ask if there's an official jquery helper for cakephp?
> The one at the bakery is kinda outdated.
>
>
> thanks!
> Bryan
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en