I will keep tinkering, thank you for your help.
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-p
ook like
> see the manual:http://book.cakephp.org/view/125/Data-Validation
>
> On 21 Jun., 19:12, Josey wrote:
>
> > Absolutely,
>
> > The model validation variable is as follows:
>
> > var $validate = array(
> > 'orderid'
5/Data-Validation
>
> On 21 Jun., 19:12, Josey wrote:
>
> > Absolutely,
>
> > The model validation variable is as follows:
>
> > var $validate = array(
> > 'orderid' => 'isUnique'
> > );
>
> > On
I am developing in 1.2.7
On Jun 21, 4:47 pm, euromark wrote:
> thats not how a valid cake1.3 validation structure should look like
> see the manual:http://book.cakephp.org/view/125/Data-Validation
>
> On 21 Jun., 19:12, Josey wrote:
>
> > Absolutely,
>
> > The m
Absolutely,
The model validation variable is as follows:
var $validate = array(
'orderid' => 'isUnique'
);
On Jun 21, 11:19 am, euromark wrote:
> can you post your validation rules here?
>
> On 21 Jun., 18:13, Josey wrote:
>
&
s Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 21 Jun 2010, at 17:13, Josey wrote:
>
> > Greetings,
>
> > I am attempting to validate data before a save in the controller
>
> > $this->data['Order']['orderid'] =
Greetings,
I am attempting to validate data before a save in the controller
$this->data['Order']['orderid'] = 'ecommerceorderid#'
$this->Order->set($this->data);
$this->Order->validates();
-
I manually set $this->data['Order']['orderid'] to a value that is
already present in the datab
actually I was using the default cakephp postal validation but your
post directed me towards the creation of a custom validation rule that
checked to see if the entry was alphanumeric or just numeric and ran
the proper validation rule from there.
Thanks for the lead!
Josey
On Oct 16, 4:48 pm
Hi,
I've created a dating app for a client that is open to the US and
Canada.
I used the cake postal validation rule thinking it would validate to
either the US or Canada but it only seems to validate US.
Here is my rule:
'zip' => array(
'rule' => array('postal', null, array('us', 'ca'
I might be interested, let me know what the plans are.
On Jan 25, 2:55 am, Novice Programmer
wrote:
> Hello,
>
> Please get in touch with me if you are looking for a freelance work. I have
> a site based on cakephp and want to add a few features to it.
>
> --
> Thanks & Regards,
> Novice.
--~--~
any help would
thrill me!
Thanks,
Josey
--~--~-~--~~~---~--~~
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 grou
No, unfortunately it is written for prototype
On Dec 4, 4:59 am, Dérico Filho <[EMAIL PROTECTED]> wrote:
> Is Cake's Ajax Helper compatible with JQuery?
>
> On Dec 3, 6:09 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
>
> > 1) enable the javascript helper
> > 2) add $javascript->link('jquery-12.6
I hear you there, this group has saved me hours of extra debugging.
I dance when I'm able to contribute something back.
On Nov 25, 8:54 am, "Liebermann, Anja Carolin"
<[EMAIL PROTECTED]> wrote:
> Hi Josey,
>
> You are welcome!
> I am happy to contribute something
Anja, wanted to get back with you.
I modified my action based upon your recommendation and it worked
swimmingly!
Thanks for your help.
On Nov 25, 1:53 am, "Liebermann, Anja Carolin"
<[EMAIL PROTECTED]> wrote:
> Hi Josey,
>
> I had the same problem. I needed two subm
Brilliant Anja!
That logic seems perfect! I'll give it a shot and get back with you on
how affective it was for me.
Thanks all.
On Nov 25, 1:53 am, "Liebermann, Anja Carolin"
<[EMAIL PROTECTED]> wrote:
> Hi Josey,
>
> I had the same problem. I needed two submit
Is it possible to have multiple controller actions in one form?
What I'm trying to do is this:
I have a form that lists all my posts, if you're logged in as admin
you get a checkbox beside every post.
You would select these checkboxes to perform certain actions.
As of right now I have it pointi
I had this same problem and here is how I took care of this.
I created 2 php files. One that had a CSS header so it would act as
CSS and the other, you guessed it, with a JS header.
I used the php include in those files to include any scripts that
would be used across the entire app.
// Below th
I had this same problem and here is how I took care of this.
I created 2 php files. One that had a CSS header so it would act as
CSS and the other, you guessed it, with a JS header.
I used the php include in those files to include any scripts that
would be used across the entire app.
// Below th
I just wanted to thank you again for linking me to that shell.
I finally tried it as I was having the same problem on a new
application and it worked wonderfully.
David Persson is brilliant.
On Nov 12, 7:14 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> > From much searching I discovered
After fighting with this for a few days now I thought I should post
this for your help.
I am using the upload code described at this site:
http://www.jamesfairhurst.co.uk/posts/view/uploading_files_and_images_with_cakephp
I've used this several times now for images without a hitch but on my
curr
As a relatively new baker and programmer, for that matter, I ran into
a problem earlier this week.
I was creating a form for users to edit their information however, not
all fields were present in this form for the general member but those
fields happened to be required fields.
In the model those
I thought this little tutorial was nice.
It creates a function in the app controller so you can reuse the
upload wherever you'd like.
http://www.jamesfairhurst.co.uk/posts/view/uploading_files_and_images_with_cakephp
On Nov 12, 4:46 am, grigri <[EMAIL PROTECTED]> wrote:
> > or Transfer Behavior
een converted into 5 white spaces per tab.
NEAT!
A simple search for 5 spaces and replace each instance with a single
tab and we're set.
Remember, any controller, model or view in your application can cause
this.
Quite the tedious little roadblock.
On Nov 11, 8:21 am, Josey <[EMAIL PROTECTED]&g
Ok, I feel just silly... I forgot to link to my RSS file in my layout/
view.
Ok, so the subscribe button is there, yay! but when I click it I'm
still forced to download the file rather than subscribe to it via
FireFox.
Any help would be wonderful.
On Nov 11, 8:19 am, Josey <[EMAIL P
Hello all,
I was working through the RSS helper in CakePHP 1.2 RC3 and it seems
as though my actions are rendering the proper XML format. However,
when I try to view, say, posts/index.rss firefox forces me to download
the RSS file instead of opening it inside of its own RSS feed reader.
Also, ho
Here's an interesting problem I've run into that I hope somebody may
have seen before.
I'm wanting to include a php file that acts as a CSS file so that I
can create variables inside of it for more flexibility in my
stylesheet.
I've done this several times before, but not with CakePHP.
The prob
Hello all,
I am implementing the jEditable plugin for jquery for inplace editing
of database fields.
I am working off of the instructions found here:
http://cakebaker.42dh.com/2008/02/24/edit-in-place-with-jquery-and-cakephp/
I should note that the field is, in fact, being updated in the
databas
27;s ajax helpers, and I love writing javascript
>
> > Cheers
>
> > Gabriel Gilini
>
> >www.usosim.com.br
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
>
> > On Fri, Oct 31, 2008 at 10:45 AM, Josey <[EMAIL PROTECTED]> wrote:
>
> >> I perfer jQ
I think we've moved off topic since the question wasn't about helpers,
though I agree 100% with Anupom.
It seems that the majority prefer jQuery but it's just that, a
preference.
I also agree with Flipflops. You should visit the official site of
both libraries and do a bit of research and testing
I perfer jQuery as well.
Many Bakers like prototype due to the javascript and ajax helpers that
come with CakePHP.
These make baking with JS quite a bit easier, not to mention faster
however many Javascript experts would cringe to think that developers
are using php helpers for the behavioral port
David and Andy,
Thanks for your help, I ended up using a while loop and all turned out
well.
I appreciate your replies.
- Josey
On Oct 29, 6:46 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
> Double check what you're actually doing:
>
> > foreach ($
7;name'] all is well, the problem comes when I insert it into a loop
and have it increment through the records.
On Oct 29, 1:02 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Oct 29, 6:47 pm, Josey <[EMAIL PROTECTED]> wrote:
>
>
>
> > Here's an interesting proble
Here's an interesting problem I've run into today:
I've created a query in my controller that will go out and grab the 3
most viewed projects each user has.
Here is my find as well my variable for the view:
$popular = $this->Project->find('all',
array(
33 matches
Mail list logo