Check user status fails

2015-08-13 Thread Gerculy Robert
Hi, I'm trying to set some groups for user status : 0 - pending activation 1 - user activated 2 - temporary banned 3 - permanently banned - not added in examaple My problem is no matter what I do, status 2 shows up $status_user = $this-Session-read('Auth.User.status'); if($status_user ==

Cakephp 3.0 upgrade from 1.3 where to begin??

2015-02-03 Thread Robert Gravel
Hi all, I want to migrate my application currently in cakephp 1.3 to 3.0 . I just do not know where to begin and what the process would be. Can someone point me to some resources or outline the steps? Thank you Robert Gravel -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Delete only users sites

2014-04-29 Thread Gerculy Robert
Hi there, I'm working on a traffic exchange site and since I'm very new I used this login script : http://miftyisbored.com/a-complete-login-and-authentication-application-tutorial-for-cakephp-2-3/ Everything works nicely. Based on that code I created a few pages ( Add site, List sites, delete

3.0 OpsWorks setup

2014-03-02 Thread Robert Meisner
Has any1 any luck configuring Amazon OpsWorks with dev version of cakephp? Would be great if some1 could share configuration to make it work. I tired to connect it with https://github.com/cakephp/cakephp.git but all i can see is empty response on me EC2 instance. R -- Like Us on FaceBook

Re: Is there any online bake?

2014-02-21 Thread Robert Gravel
I used this when i developed mu 1.3 application. http://cakeapp.com On Fri, Feb 21, 2014 at 9:45 AM, MihaiTL maft...@gmail.com wrote: Hi there! There is CRUD plugin I stumbled upon it and I am going to study today. It can be downloaded from https://github.com/FriendsOfCake/crud Hope it

Re: 3.0 update/save complex relations

2014-02-19 Thread Robert Meisner
the options arrays so you don't have to type 'associated' so many times :P The only real way you can do it *right now* is to traverse you entity yourself and set the values on your own. Would you like to help us getting this done? On Tuesday, February 18, 2014 7:25:36 PM UTC+1, Robert Meisner

3.0 update/save complex relations

2014-02-18 Thread Robert Meisner
I've started playing with new cakephp ORM functionality and i stuck with complex relation updates/saves. Example relations look like this: Customer hasMany CustomerDetails CustomerDetails hasMany Attributes Attributes hasMany AttributeValues CustomerController:: view() action pases $customer

Looking for part time cakephp work?

2013-08-11 Thread Robert Gravel
Hello, I am looking for a few team members to work on a cakephp projects. Not looking for big companies just solo developers that love to code. www.bigdojo.com You can contact me private so you don't clutter the list. Robert rockb...@gmail.com -- Like Us on FaceBook https://www.facebook.com

Re: Twilio integration with cakephp

2013-07-07 Thread Robert Gravel
this is the setup in my controller for voice broadcast in cake 1.3. Probably not the best code but it works for me. if($this-data['Recording']['voice_broadcast'] == voice_recording){ App::import('Vendor', 'Twilio', array('file' = 'twilio'.DS.'Services'.DS.'Twilio.php'));

Re: Generating multiple 'requests' based on form selections

2013-06-27 Thread Robert Gravel
Not sure if this is what you want to do but I have a view with 2 form elements on it. I did get hung up because I usually use $this-Form-end ?php echo $this-Form-create('User', array( 'action'='/add_staff'));? fieldset legend?php __('Admin Add Staff Member'); ?/legend ?php

Re: containable problem

2013-05-29 Thread Robert Gravel
would hate to return all users and have to loop thru potentially thousands to rebuild the array. Any other options? Robert On Wed, May 29, 2013 at 6:25 AM, John spil...@gmail.com wrote: The message is telling you what is wrong, you are asking containable to contain the starting Model again

Re: containable problem

2013-05-29 Thread Robert Gravel
User has many Attendance Usermembership Bills Albums Rankforusers and more... School has many Users need to return User, Attendance, Usermembership where User is based on school_id and Attendance is based on date. Robert On Wed, May 29, 2013 at 11:35 AM, John spil...@gmail.com wrote: What

Re: containable problem

2013-05-29 Thread Robert Gravel
magic. On Wednesday, May 29, 2013 5:43:21 PM UTC+3, Robert Gravel wrote: Hi John, This was the exact code i tried in my second example. putting the condition for the current model seems to break the containable method and then all related models are returned. also the date search within

Re: containable problem

2013-05-29 Thread Robert Gravel
So embarrassing. In my long list of associations School-User was missing? Your code worked thanks a bunch.. Robert On Wed, May 29, 2013 at 3:22 PM, Robert Gravel rockb...@gmail.com wrote: John thank you but it seems to not be working. I was mistaken that your code is the same as my second

containable problem

2013-05-28 Thread Robert Gravel
('conditions' = $cond), 'Usermembership' ))); does not work either. cake 1.3 Thank you Robert -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group

Re: Error 406 - Not Acceptable with form

2013-05-19 Thread Robert Gravel
Changed to multipart/form-data seems to solve issue. On Sat, May 18, 2013 at 1:55 PM, rockbust rockb...@optonline.net wrote: I have a form submit problem and looking for a solution. Receiving a “406 Not Acceptable” when I submit my form. I am passing a custom array that sometimes

changing Form input's contents from their default 'value'

2013-04-02 Thread Robert Denomme
Say I have a hasOne relationship between two Models, for instance Recipe hasOne User. If I set up the data (recipes contains a user_id field) and bake I will see a beautiful user id drop-down menu in the recipe add screen. The problem is that it displays the user_id, and not a bunch of

Re: AclNode::node() - Couldn't find Aro node identified by Array ( [Aro0.model] = Group [Aro0.foreign_key] = 1 )

2013-04-02 Thread Robert Denomme
I had this same error message, what I had done was create a bunch of groups first, then deleted some. So there was no group with id=1. If you go to the db and check the group id's, those are the ones you should use to pupulate your ACL. -Rob On Thursday, October 29, 2009 2:08:22 AM UTC-7,

Re: Cake Gallery

2013-04-01 Thread Robert Gravel
() { } } ? I hope it helps,... enjoy it,... On Saturday, March 30, 2013 6:16:12 PM UTC-7, Robert Gravel wrote: Hi All, I am trying to use the cake_gallery plugin https://github.com/vitorpc/** cake_gallery https://github.com/vitorpc/cake_gallery for cake 1.3 but for some reason

html helper - image outside of webroot/img dir

2013-04-01 Thread Robert Gravel
Hi, I need to display an image outside the webroot/img dir for cake 1.3. Specifically I have to link to an image in the ckeditor which is at webroot/js/ckeditor... When I use $this-Html-image() it gives me a reference at webroot/img by default. Is there a solution that is portable between

Re: html helper - image outside of webroot/img dir

2013-04-01 Thread Robert Gravel
the editor package itself just reference it as the correct path/filename *From:* cake...@googlegroups.com javascript: [mailto: cake...@googlegroups.com javascript:] *On Behalf Of *Robert Gravel *Sent:* Monday, April 01, 2013 10:42 PM *To:* cake...@googlegroups.com javascript: *Subject:* html

Cake Gallery

2013-03-30 Thread Robert Gravel
and thumb creation Thank you Robert -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from

Re: ACL : Group vs. User

2013-02-24 Thread Robert Winkky
Have you checked out http://www.alaxos.net/blaxos/pages/view/plugin_acl_2.0 ? On Sunday, February 24, 2013 11:02:37 AM UTC-5, CrotchFrog wrote: I have implemented ACL in my app and I'm regulating access using Groups, however, I would like for some users within the same group to have

cake bake all -c db_config_name does not work

2013-02-17 Thread Robert Winkky
I can use ./cake bake all and it works great on $default. I can use ./cake bake model -c non_$default_database and that works fine and dandy. Is there any way to use ./cake bake all -c 'non_default_database'? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: Process CakeEmail error log on Cakephp 2.2.3

2013-02-17 Thread Robert
Maybe this can help. $email = new CakeEmail('myConfig'); $fromConfig = 'EMAIL_FROM_ADDRESS'; $fromNameConfig = 'EMAIL_FROM_NAME'; $email-from(array( $fromConfig = $fromNameConfig)); $email-sender(array( $fromConfig = $fromNameConfig)); $email-to('EMAIL_TO_ADDRESS');

Re: Validating multiple models in one form

2012-12-11 Thread Robert Hunt
' = 'users_infos', //Class name should be: UserInfo Also read about associations in CakePHP, your foreign keys should be user_id (not users_id). It's easier to go by Cake's conventions. On Tuesday, December 11, 2012 1:08:38 AM UTC+1, Robert Hunt wrote: Hi All, I hope someone can help clear this up

Validating multiple models in one form

2012-12-10 Thread Robert Hunt
Hi All, I hope someone can help clear this up for me. Basically I have two models producing fields in a form but when saving it only validates the parent model. I have attempted to use saveAssociated and I have tried validating the data on a per model basis with no success. Here is my code:

Progressive PHP to CakePHP

2012-10-16 Thread Robert Haylor
Hi All, Hope all is well. Quick question, I have been working on a website in a Progressive capacity and I'd like to look at moving it over to CakePHP, what I'd like to know is it possible to use the progressive PHP that I have thus far and make it Object Orientated?? If anyone could get

Re: xml format problem

2012-10-15 Thread Robert Gravel
Still cant figure it out so I hard coded the xml. I see in cake 2.xx that there are some methods for this. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups

xml format problem

2012-10-14 Thread Robert Gravel
Thanks Robert -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- 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

Re: xml format problem

2012-10-14 Thread Robert Gravel
I do not need the extra CDATA markup . I only need the Response and Sms open and close tags along with my text -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups

CORS Request Handling

2012-09-19 Thread Robert
Hello All, I'm in the process of getting CORS (Cross-Origin Resource Sharing) for my API which is done using CakePHP (duh!) and I wanted to know if anyone had any insight as to where the best place was to put the CORS header responses. I currently have a really hacked up bunch of code at the

Re: hasMany through - how to retrieve my data?

2012-09-19 Thread Robert Gravel
Maybe linkable will help you. https://github.com/Terr/linkable Robert -- Like Us on FacekBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group

Re: if statement

2012-08-31 Thread Robert Gravel
just in case you are unaware in core.php Configure::write('debug', 2); -- 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

Re: complex find()

2012-08-31 Thread Robert Gravel
Needs cleanup and have to put in model. I had to call it on the user model. looped thru results and built a new array of user id's. passed array as condition to paginate. $from = $this-data['User']['start_date']['year'] . - . $this-data['User']['start_date']['month'] . - .

Re: complex find()

2012-08-30 Thread Robert Gravel
', 'foreignKey' = 'user_id', 'conditions' = '', 'fields' = '', 'order' = '' ), Robert On Wed, Aug 29, 2012 at 12:37 PM, Mancho manchomur...@gmail.com wrote: Are you sure the field exists in the database? -- Murgan, Alexis Germán Desarrollador

Re: complex find()

2012-08-30 Thread Robert Gravel
Hmm does not seem to work. This is now what I am working on. As a test I ran this on my User Controller that has the related Attendance $users = $this-User-find('all', array('contain' = 'Attendance.school_id = 2')); Instead of returning all user records that related Attendance.school_id = 2 it

Re: complex find()

2012-08-30 Thread Robert Gravel
Maybe I am confused how containable works. I want to return only those user records whose associated attendance match. -- 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

Re: complex find()

2012-08-30 Thread Robert Gravel
that is returned I do not now how to do this :( Thank you Robert -- 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

Re: complex find()

2012-08-30 Thread Robert Gravel
ok figured it out now.. thanks lowpass robert -- 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. Visit

Re: complex find()

2012-08-30 Thread Robert Gravel
Forgot to add $this-User-Behaviors-attach('Containable'); wouldn't work without it -- 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

Re: Tutorial for REST API user create and authenticate?

2012-08-13 Thread Robert Love
Nathan. Is that you? :) Have you tried this http://book.cakephp.org/2.0/en/development/rest.html -- 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

Newbie - Resources

2012-08-10 Thread Robert Haylor
Hi All, Quick question, I am new to the concept of CakePHP and was just wondering if anyone could recommend some great books or resources which will be ideal for a beginner - I'm currently following the tutorial on the CakePHP website but any advice would be great. Thanks -- You received

Re: Redirect www to non-www

2012-04-13 Thread Angel Robert Marquez
it's nice to see developers share information without being total douche bags. On Fri, Apr 13, 2012 at 3:50 PM, Justin Edwards justinledwa...@gmail.comwrote: You may also create another vhost for a catchall for whatever things you might want to redirect there, and give it a 301 to where you do

CakePHP Developer at Pollenizer (Sydney, Australia)

2011-11-16 Thread Robert Love
Dear Bakers I'm the Head of Engineering at Pollenizer in Sydney, Australia and I'm looking for three people just like you. Check out the details for the role and apply online on the Pollenizer website here: http://www.pollenizer.com/about/jobs/php-developer/ Cheers, Robert -- Our newest site

Re: CakePHP 2.0 Component Merging

2011-10-04 Thread Robert
/ PluginAppController.  Based on a simple test I just did it worked for me as well. -Mark On Oct 3, 12:24 am, Robert crsh...@gmail.com wrote: Yep, I saw that. I have the Auth component defined in the components array of my AppController. My UsersController inherits the AppController, so

CakePHP 2.0 Component Merging

2011-10-02 Thread Robert
Hey All, Was there a change in the way that components are loaded up in controllers? I looked at the source and didn't notice anything different between 1.3 and 2.0 surrounding this. I pasted my 1.3 source into a 2.0 directory structure and I'm in the process of re-cake-ifying itand in

Re: CakePHP 2.0 Component Merging

2011-10-02 Thread Robert
and...@kende.com wrote: Try this:http://book.cakephp.org/2.0/en/controllers/components.html Andras On Oct 2, 2011, at 10:56 PM, Robert wrote: Hey All, Was there a change in the way that components are loaded up in controllers? I looked at the source and didn't notice anything

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Robert Maiolo
meth is a hell of a drug On Sun, Sep 11, 2011 at 12:33 AM, Matthew Kaufman mkfmn...@gmail.comwrote: LOL, Your subject line is ridiculous... On Sun, Sep 11, 2011 at 3:32 AM, Matthew Kaufman mkfmn...@gmail.comwrote: hahahahaha On Sun, Sep 11, 2011 at 3:30 AM, Raisen weys...@gmail.com

Re: Se Ya Cake..bake a dick cake frosting on your face...............

2011-09-11 Thread Angel Robert Marquez
Virtual squeeze KM. It'll be OK. I will miss your scheduled seo optimized question strategy. On Sun, Sep 11, 2011 at 12:33 AM, Matthew Kaufman mkfmn...@gmail.comwrote: LOL, Your subject line is ridiculous... On Sun, Sep 11, 2011 at 3:32 AM, Matthew Kaufman mkfmn...@gmail.comwrote:

Re: Subquery or something else?

2011-08-23 Thread Robert Maiolo
I'd try an outer join On Tue, Aug 23, 2011 at 11:23 AM, euromark dereurom...@googlemail.comwrote: although this will get quite slow with more and more ids and might consume a lot of memory some day depending on the size a subquery might some day be more suitable. but until then this 2-query

Re: Email Question

2011-08-19 Thread Robert Maiolo
you could request a return receipt but it's up to them to acknowledge it.. On Aug 19, 2011 2:16 PM, Krissy Masters naked.cake.ba...@gmail.com wrote: I am sending out emails and I want to know that the person has opened it. How does one go about this? I have a link in the email they can click

USE THE UNSUBSCRIBE LINK Re: REMOVE ME

2011-08-10 Thread Robert Maiolo
2011/8/10 János Vasbányai vasbanya...@gmail.com 2011/8/11 cake-php+nore...@googlegroups.com Today's Topic Summary Group: http://groups.google.com/group/cake-php/topics - Non-Cake form, PagesController and Auth#131b73aa808ca5f0_131b6fb9c5b3381c_group_thread_0[1 Update] - Why

What editor?

2011-06-19 Thread Robert
What editor or IDE do you find has the best CakePHP integration? -- Robert -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions

Passing fusion chart csv via javascript to a cake controller

2011-05-31 Thread Angel Robert Marquez
I need to export a csv file from fusion charts and pass the data to a cake controller function via javascript/jquery. *HTML* lia href=javascript:void(0) id=*downloadCsv* class=userFunctionsButtonDownload CSV/a/li *JS* $(function(){ $('#*downloadCsv*').click(function(){ var myChart =

Re: Passing fusion chart csv via javascript to a cake controller

2011-05-31 Thread Angel Robert Marquez
revised PHP code. apologize. I need to export a csv file from fusion charts and pass the data to a cake controller function via javascript/jquery. *HTML* lia href=javascript:void(0) id=*downloadCsv* class=userFunctionsButtonDownload CSV/a/li *JS* $(function(){

Re: Earn $1000-$2500 per month

2011-05-24 Thread Robert J. Maiolo
thanks for the spam On Mon, May 23, 2011 at 11:24 PM, rose anjel roseanje...@gmail.com wrote: Earn $1000-$2500 per month If you Register your name You Get Sign-up bonus $5 AND Get $.20 cent for each referral. Further details

[CakePHP 1.3.8, TranslateBehavior, DboPostgres] Invalid result set

2011-05-04 Thread Robert
Hello, I just have moved my project on CakePHP 1.3.8 from MySQL to PostgreSQL 8.3 and then Translate stopped working correctly. Instead of: [0] = Array ( [Category] = Array ( [id] = 3 [parent_id] =

Re: How do you do it?

2011-04-18 Thread Angel Robert Marquez
I had it in a lightbox which worked fine but everyone and their brother has a lightbox and its just so played out. This is the equivalent to saying 'toilet paper is played out'. wtf. On Mon, Apr 18, 2011 at 1:29 PM, Samuel Infante sinfa...@redvel.cl wrote: I can think of three options: 1.

Re: How do you do it?

2011-04-18 Thread Angel Robert Marquez
of the web can’t go wrong with it answer for every situation. Ok good stuff. This is the equivalent of saying ”since everyone is doing it I will too…why think for myself!” K *From:* cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] *On Behalf Of *Angel Robert Marquez

Re: How do you do it?

2011-04-18 Thread Angel Robert Marquez
the lightbox to be executed unless a check is made for the amount of people using it at any one given time..? K *From:* cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] *On Behalf Of *Angel Robert Marquez *Sent:* Monday, April 18, 2011 7:08 PM *To:* cake-php@googlegroups.com

Re: How do you do it?

2011-04-18 Thread Angel Robert Marquez
the clock is ticking... .. . it is interesting that a different shade of box light is rather scarce as well. On Mon, Apr 18, 2011 at 4:47 PM, cricket zijn.digi...@gmail.com wrote: On Mon, Apr 18, 2011 at 6:03 PM, Angel Robert Marquez angel.marq...@gmail.com wrote: cake should not allow

Re: How do you do it?

2011-04-18 Thread Angel Robert Marquez
of corporate pigs..you/they're getting the fancybox-latest with a custom button. wanted it yesterday etc... On Mon, Apr 18, 2011 at 5:59 PM, cricket zijn.digi...@gmail.com wrote: On Mon, Apr 18, 2011 at 8:22 PM, Angel Robert Marquez angel.marq...@gmail.com wrote: the clock is ticking... Change

Re: You favorite IDE/ Dev Setup?

2011-04-05 Thread Angel Robert Marquez
fedora, mac os terminal, terminator vim, gedit git On Tue, Apr 5, 2011 at 8:07 PM, Krissy Masters naked.cake.ba...@gmail.comwrote: Is this going to go on forever? nGinX Apache, mySql, Post Cake, 5 foot 8, speak English, right handed, shoe size 8.. Whats you favorite screen resolution

Re: i'm newbie

2011-03-22 Thread Robert Bodley
Hi I'm also a Newbie can someone please expain how the function pages work iv scene other peoples code and they have a file with all function for the index page and all the pages can someone please explain how this works thanks On Mar 22, 3:34 pm, Stephen step...@ninjacodermonkey.co.uk wrote:

setting up cakephp HELP please

2011-03-22 Thread Robert Bodley
Hi everyone im new to cake and i set up cake with all the thing required and that all right (i watched a few youtube videos) but when i put a bit of php like ?php echo hello world; ? and save it as a test.ctp in the folder views it always comes up with this error when i try and view it on the

setting up cakephp HELP please

2011-03-22 Thread Robert Bodley
Hi everyone im new to cake and i set up cake with all the thing required and that all right (i watched a few youtube videos) but when i put a bit of php like ?php echo hello world; ? and save it as a test.ctp in the folder views it always comes up with this error when i try and view it on the

Re: login and register system

2011-03-22 Thread Robert Bodley
kk i will thaks On Tue, Mar 22, 2011 at 9:07 PM, huoxito huox...@gmail.com wrote: i believe it would be best for you to read the cakephp manual at first and only after that try plugins -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new

Re: login and register system

2011-03-22 Thread Robert Bodley
thanks* On Tue, Mar 22, 2011 at 9:24 PM, Robert Bodley borisbod...@gmail.comwrote: kk i will thaks On Tue, Mar 22, 2011 at 9:07 PM, huoxito huox...@gmail.com wrote: i believe it would be best for you to read the cakephp manual at first and only after that try plugins -- Our newest

login and register system

2011-03-21 Thread Robert Bodley
hi, I just started learning php and would like to know if anyone would like or would help me build a login and register system I would like the features to be: •login, log out, register • on the register page I would like a name, email, password, date of birth, school, relationship status( in

[OT] CakePHP presentation..

2011-03-20 Thread Robert J. Maiolo
Many thanks to Larry Masters, Jose Rodriguez and Graham Weldon for coming out to LA last week .. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related

Re: Auto Increment A Field

2011-02-24 Thread Robert J. Maiolo
why not just retrieve the value, increment then update the field? On Thu, Feb 24, 2011 at 11:09 PM, tubiz tayi...@gmail.com wrote: Please I would like to know how to auto increment a field in a table in my database. I want to to be incremented once the action is clicked upon. Thanks. --

Re: INVITATION TO JOB FAIR

2011-02-15 Thread Robert J. Maiolo
and this is why I hate joining email lists... On Mon, Feb 14, 2011 at 6:30 AM, job fair job.fair1...@gmail.com wrote: AMA Business JOB FAIR on 26 27 Feb @ Palace Ground.Exp-0-7yrs.Onspot hiring upto 2000 JObs.Resume at resume@gmail.com.fwd IT 2 UR FRND Dear Friends AMA Business is

Re: Global Variable

2011-02-09 Thread Angel Robert Marquez
interface when{ public function new(); } class shtuff implements when { function new($type); if ($type=helluv){...blah1} ifelse($type=retro){..blah2} } $now = new shtuff; $now-new('recent'); On Wed, Feb 9, 2011 at 5:13 PM, Krissy Masters naked.cake.ba...@gmail.comwrote: Quick question. I

Re: Global Variable

2011-02-09 Thread Angel Robert Marquez
to change it in 1 spot. $created less than NEW / BRAND_NEW / RECENTLY_NEW...so on so on. From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Angel Robert Marquez Sent: Wednesday, February 09, 2011 9:51 PM To: cake-php@googlegroups.com Subject: Re: Global Variable

Re: best webhosts for CakePHP

2011-01-13 Thread Robert J. Maiolo
I share Dave's frustration with MediaTemple..they used to be pretty good.. For my money, Rackspace is where it's at these days.. R On Thu, Jan 13, 2011 at 9:27 AM, Dave Maharaj m...@davemaharaj.com wrote: Not only for Cake but that's pretty much all I use these days, but my hate for Media

Re: IDE

2010-12-23 Thread Angel Robert Marquez
*linux* vim gedit *mac OS* vim textmate coda *windows* notepad2 eclipse aptana On Wed, Dec 22, 2010 at 12:11 AM, fadhli e.fad...@gmail.com wrote: netbeans On Wed, Dec 22, 2010 at 12:32 PM, Amit Badkas amit.sanis...@gmail.comwrote: Hi, I use easy eclipse for PHP (

Re: IDE

2010-12-23 Thread Angel Robert Marquez
np i would highly recommend installing a linux distro and using vim with the terminator terminal yum.. [?] On Thu, Dec 23, 2010 at 1:19 AM, Shinya Koizumi sh.koiz...@gmail.comwrote: Thanks Sent from my iPhone On Dec 23, 2010, at 1:09 AM, Angel Robert Marquez angel.marq...@gmail.com

Re: IDE

2010-12-21 Thread Robert J. Maiolo
eclipse for the win On Tue, Dec 21, 2010 at 6:57 AM, Kristofer krishop...@gmail.com wrote: What IDE do people typically use with CakePHP? I've been doing stuff from the Linux command line using vim for so long. I'd like something more graphical that (hopefully) supports SVN. Looking for

Re: Brainstom Idea needed

2010-11-13 Thread Angel Robert Marquez
what are the post_id numbers for the anomalies? On Sat, Nov 13, 2010 at 8:10 PM, Dave Maharaj m...@davemaharaj.com wrote: Ok this is a weird one. I made my “star” favourites icon click sends ajax request and saves the post as favourite to favorite_posts table. Nothing over the top there.

Re: Brainstom Idea needed

2010-11-13 Thread Angel Robert Marquez
. If that’s the case I will have to ensure generated id’s have a letter in them. Dave *From:* Angel Robert Marquez [mailto:angel.marq...@gmail.com] *Sent:* November-14-10 12:50 AM *To:* cake-php@googlegroups.com *Subject:* Re: Brainstom Idea needed what are the post_id numbers

Re: Brainstom Idea needed

2010-11-13 Thread Angel Robert Marquez
Rad! I hope your wind filled sail takes you to fantastic places! good job. On Sat, Nov 13, 2010 at 8:40 PM, Dave Maharaj m...@davemaharaj.com wrote: That will do it. Success. So case closed J Dave *From:* Angel Robert Marquez [mailto:angel.marq...@gmail.com] *Sent:* November-14

Re: Get the last insert id

2010-10-25 Thread Robert J. Maiolo
after your save statement.. $var = $this-Contact-lastInsertId(); On Mon, Oct 25, 2010 at 7:48 AM, macha srin...@gmail.com wrote: Hello I am using cakePHP 1.3 and I am unable to retreive the last inserted row's id. I actually am using $this-Model-id to retreive the last inserted id but I am

Re: CakePHP future

2010-09-04 Thread Robert J. Maiolo
good questions..I look forward to reading what people say on this.. On Thu, Sep 2, 2010 at 9:10 PM, sambo chhaysa...@gmail.com wrote: Does Lithium framework is the future of CakePHP? And what is different with CakePHP 2.0 and Cake3 (released under a new name: Lithium)? You can see this link

Re: Does every model need a name field? Why?

2010-08-26 Thread Robert J. Maiolo
perhaps he meant a name variable, as shown in the following example: 1. ?php 2. class Ingredient extends AppModel { 3. var $name = 'Ingredient'; 4. } 5. ? On Thu, Aug 26, 2010 at 1:23 AM, psybear83 psybea...@gmail.com wrote: Hi all I'm just digging into CakePHP and

Re: Website Structure

2010-07-22 Thread Robert J. Maiolo
personally..I woud use jquery to do that... On Wed, Jul 21, 2010 at 10:13 AM, Chaim ch...@oxfordshul.com wrote: Hello, I am a beginner to CakePHP, so forgive my amateur question. I am unsure how to structure my website. I have four blocks and then when one block is clicked it changes to

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

2010-05-13 Thread Robert McWay
properly. Thanks Guys. On May 12, 9:46 am, John Andersen j.andersen...@gmail.com wrote: As Nilz wrote, you have two keys with the name of id in your array! That can't work! So check you form create statement and correct it! Enjoy,    John On May 12, 7:17 pm, Robert McWay mcway.web.developm

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

2010-05-12 Thread Robert McWay
at 22:45, Nilz nilzer...@gmail.com wrote: Why are you using two ids? ?php echo $form-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 mcway.web.developm

Re: Issue with find('list')

2010-05-12 Thread Robert McWay
First thing you might want to do is take the set function call out of the if(empty()) conditional you have. The reason is because you want this variable set every time, regardless of the state of $this-data, to keep the select options properly populated. The way you have it now, you will lose your

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

2010-05-06 Thread Robert McWay
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

Redirect mixed case URLS

2010-04-28 Thread Robert Popplewell
by: myhosting.com/about - but attempting to visit myhosting.com/About results in error. I've tried checking out the API for the Router class methods but seem to be stuck. Regards Robert Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You

Re: Absolute URLs

2010-04-25 Thread Robert Popplewell
'. Are you creating all those links yourself? On Apr 25, 6:59 am, Robert Popplewell r0b...@gmail.com wrote: Does anyone know the best way to change all html links within cakephp to absolute URLs? (besides preg_replace) e.g. From: /cake/css/cake.generic.css To: http://myurl.com

Absolute URLs

2010-04-24 Thread Robert Popplewell
Does anyone know the best way to change all html links within cakephp to absolute URLs? (besides preg_replace) e.g. From: /cake/css/cake.generic.css To: http://myurl.com/cake/css/cake.generic.css Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP

Re: REST in cakePHP

2010-04-15 Thread Angel Robert Marquez
oops, i meant this: Turn on webservices in config/core.php by uncommenting this line (or changing 'off' to 'on') On Thu, Apr 15, 2010 at 12:14 AM, Angel Robert Marquez angel.marq...@gmail.com wrote: []define('WEBSERVICES', 'on'); make a rest.php file in controllers/components and did you

Re: REST in cakePHP

2010-04-15 Thread Angel Robert Marquez
[]define('WEBSERVICES', 'on'); make a rest.php file in controllers/components and did you make the corresponding table in your db for the controller? On Thu, Apr 15, 2010 at 12:07 AM, ivan lights...@gmail.com wrote: I followed the steps as in

Re: REST in cakePHP

2010-04-15 Thread Angel Robert Marquez
zip up your app folder and upload/email. i'll run through in tandem, if i have time. On Thu, Apr 15, 2010 at 9:40 AM, ivan lights...@gmail.com wrote: i'am sorry John if i make you loose interest for me. I hope you can still help me. One more time i say sorry for you John. God bless you

Re: CakePHP Auth-component in AppController

2010-03-05 Thread Robert P
If you have moved all your Auth logic to your AppController you need to make sure that you are extending the methods in subcontrollers, not overwriting them. class UsersController extends AppController { public function beforeFilter() { parent::beforeFilter(); // extended

Re: hasOne-HABTM save problem

2010-03-05 Thread Robert P
Cake's auto-HABTM saving requires the field to be named a particular way in order to recognise it. Try naming your multiple-select field ExportDocument.ExportDocument. $list['docs'] should also be in the format array(ExportDocument.id = name) -- Varisan International http://ww.varisan.com.au/

Re: hasOne-HABTM save problem

2010-03-05 Thread Robert P
Cake's auto-HABTM saving requires the field to be named a particular way in order to recognise it. Try naming your multiple-select field ExportDocument.ExportDocument. $list['docs'] should also be in the format array(ExportDocument.id = name) -- Varisan International http://www.varisan.com.au/

Re: Flame Post: Performance 1.2.6 vs 1.3.0-RC1 - Bad news.

2010-03-05 Thread Robert P
This doesn't necessarily surprise me. There was one particular bugfix several months ago which involved adding a singleton call then looping over and regex matching each item in the returned array. And there was an alternative fix that just delimited a string properly with virtually zero

  1   2   3   >