Make sure your /app/files directory is writable by the webserver.
Replace MODEL_FIELD_NAME in the following with the field that you want
to store your image filenames as. eg. filename or image etc.
In your model you need to have
var $actsAs = array('Upload' => array(
'MODEL_FIELD
On 6/13/07, solidgumby <[EMAIL PROTECTED]> wrote:
> I tried to instanciate an L10n object and use the get method but
> noting is returned. I also tried to read it with Configure::read and
> Session->read as L10n is supposed to write the setting there, but no
> luck.
did you try to read Config.Lan
I have been using it (cmd and bat) without problem. Be sure your
folder "console" is in the path. What is the "strange" behavior you
are facing ?
On Jun 13, 4:54 am, "Gustavo Carreno" <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> * Has anyone been successful in using the console scripts via cygwin ?
How do i get the language value detected by the L10n class ?
I tried to instanciate an L10n object and use the get method but
noting is returned. I also tried to read it with Configure::read and
Session->read as L10n is supposed to write the setting there, but no
luck.
Thanks
Gabriel
--~--~-
I realize those instructions are obvious for the experts, but I'm
still a newbie.
I built my table.
Created my behavior and model.
I'm just not sure how to implement it in my controller and view. Make
sense?
On Jun 12, 9:22 pm, Geoff Ford <[EMAIL PROTECTED]> wrote:
> http://bakery.cakephp.org/a
What is a good unit testing suite for Cake?
--
Aaron Thies
"When you're married you'll understand the value of fresh produce."
- Tony Soprano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To po
http://bakery.cakephp.org/articles/view/improved-upload-behaviour-with-thumbnails-and-name-correction
On Jun 13, 1:29 pm, Allen Romero <[EMAIL PROTECTED]> wrote:
> Is there an example of how to use the 'upload behavior' that was
> created?
>
> I downloaded it but am clueless on how to actually us
Is there an example of how to use the 'upload behavior' that was
created?
I downloaded it but am clueless on how to actually use it in my
controller. Haven't yet grasped using behaviors.
Thanks in advance.
Allen
--~--~-~--~~~---~--~~
You received this message
(Thanks for the note about my article -- I cleaned up the wording a
little to cause less confusion)
I thought along the exact same lines, thinking that belongsTo would
better be referred to as hasOne, until I realized that I was getting
stuck on how I assumed the semantics worked, according t
Has anyone ever had the problem of html inside text areas causing
problems.
Basically when ever i put in any html inside a text area and submit
the form it just gos to the route of the site.
Its really annoying as its working fine on my localhost.
I am using 1.2.0.4798alpha, checked it on FF
Hey guys,
* Has anyone been successful in using the console scripts via cygwin ?
* Has anyone been able to use it via a cmd.exe and cake.bat ?
If so please gimme a shout on how, cuz I'm having a very strange behaviour!!
Cheers,
Gustavo Carreno
---
< If you know Red Hat you know Red Hat,
If you
Validation is used for validating data that exists and not for
confirming whether the variable is there or not! So if you are
expecting something and its not there then controller should take be
taking care of this information.
On Jun 12, 11:33 am, Gonza <[EMAIL PROTECTED]> wrote:
> When using
Yup, that was it. Thanks for making up for my brain's inadequacies. :)
On Jun 12, 4:48 pm, radius <[EMAIL PROTECTED]> wrote:
> you are probably writing this:
> flash(); ?>
>
> when you should be writing this:
> flash(); ?>
>
> On Jun 12, 6:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
Thanks for the reply Joshua
On Jun 12, 8:21 pm, Joshua Benner <[EMAIL PROTECTED]> wrote:
> To, it sounds like:
>
> Person belongsTo Country
>
> I'd use a belongsTo relationship in the Person model.
Correct, this was a bad example, and in this case I'd tend to agree
and that type of relationship
How are you building the form and how are you passing the data in?
If you are unsing the formhelpers they rely on $this->data. If in
your controller you are setting $this->data that is why the details
are being displayed in the form.
What I have done (not on ajax forms) is save the submitted $t
Hi,
I've been playing with the AjaxHelper (in Cake v 1.2.0.5146alpha).
I'm having a problem trying to reset a form after submitting the data
and saving them. This works well but I was unable to reset the form.
I guess there is some persistence system that works even between
reloads of the
you are probably writing this:
flash(); ?>
when you should be writing this:
flash(); ?>
On Jun 12, 6:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On the past few projects I've worked on with 1.2, when I have a flash
> message that displays, there is a '1' echoing after the message. Th
On the past few projects I've worked on with 1.2, when I have a flash
message that displays, there is a '1' echoing after the message. The
HTML output is this:
The Page saved1
(Notice the 1) This happens no matter what debug setting I'm using.
What's the deal with this?
Thanks in advance!
--~
Andy,
Using requestAction you can invoke any controller/action you want. If in the
future you want to add another module you will have to write the
controller/action for the new module (maybe not related to any existing
controller) and add $this->renderElement('newmodule-name',
$this->requestActi
You can use $this->set('var', $value) in all controller and that will
be visible by the layout. You can also use the beforeRender in
app_controller.php to set something before rendering all views ( i use
this to set some specific variables I need in almost all views).
In beforeRender from app_cont
Any new idea on this?
Thanks for any input!
On Jun 12, 5:40 pm, Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
> Quick and
> dirty:http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-...
>
> Then do:
>
> $Dispatcher =& new Dispatcher();
> $content = $Dispatcher->dispatch('/contr
Thanks for the answers.
It looks like I need to describe my problem a little bit better.
If I follow the blog tutorial, I sooner or later create a view
index.thtml for the posts.
The corresponding posts_controller contains a function index() in
which I use
$this->set('posts', $this->Post->findAl
But I mean for the controller part--
I am hoping to make this where someone could add another "element box"
in the future WITHOUT having to add code to an existing controller.
More like a plugin type of thing.
--~--~-~--~~~---~--~~
You received this message becau
For some reason my last reply didn't get added.
Thanks for the replies.
Except, the thing is--I want to make this modular so that if someone
else wants to make an "element box"... they can make one and it can be
added into the directory of this project. At the moment, don't you
have to manual
Hi everyone.
I'm towards the end of finishing up a blog-type project using
CakePHP. My question has to do with "element blocks". I'm not sure
what they are called, but for example, on many websites there are
often side boxes that have different information in them. For example
a login box, or
I see you posted an article, so I guess you already know it is not broken.
Also one more thing: check the article you posted for this on the Bakery for
comments, and then address those comments so I can publish it. Thanks.
-MI
-
The Bakery isn't broken.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Mensaje o
On Jun 12, 2007, at 3:18 PM, Jonathan Langevin wrote:
> would be simpler to just have a PDF or HTML export of the docs from
> the doc site :-)
We're working on it, people. Stay tuned.
-- John
--~--~-~--~~~---~--~~
You received this message because you are sub
would be simpler to just have a PDF or HTML export of the docs from the doc
site :-)
On 6/12/07, Howard Glynn <[EMAIL PROTECTED]> wrote:
>
>
> As a stop gap, write a wget script to pull all the printable versions
> of the manual chapters on the web, cat together, then liberal use of
> psnup and/or
it appears there are two new simultaneous threads on this topic. from the
other thread, answer by John Anderson I believe:
Grab it via requestAction().
I'd just write the logic for a given element in a controller action,
create the view logic in the element file, and call
$this->renderElement('e
requestAction sounds about right to me, otherwise you can try ajaxing
completely the left part and make ajax calls that update only that side (do
that, so you'll kill the bosses).
>From the talk I'd say Fastweb, by I won't leave Vodafone out, who are you
working for?
Another north italian like yo
On Jun 12, 2007, at 2:41 PM, andy wrote:
>
> Hi everyone.
>
> I'm towards the end of finishing up a blog-type project using
> CakePHP. My question has to do with "element blocks". I'm not sure
> what they are called, but for example, on many websites there are
> often side boxes that have diff
Have you considered $this->renderElement() from within the view?
[EMAIL PROTECTED] wrote:
> hi all, my first post here!
> im an italian guy, 25yo developing since '98, still underpaid and
> bored
> of my area very weird business solutions..
>
> i live in the north-italy, so if this post seems str
http://bakery.cakephp.org/articles/view/creating-reusable-elements-with-requestaction
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 6/12/07, andy <[EMAIL PROTECTED]> wrote:
>
>
> Hi everyone.
>
> I'm towards the end of finishing up a blog-type project using
> CakePHP. My question has
hi all, my first post here!
im an italian guy, 25yo developing since '98, still underpaid and
bored
of my area very weird business solutions..
i live in the north-italy, so if this post seems strange, just think
about that here, the politicians, rule
also the technical aspects of a web project (a
Hi everyone.
I'm towards the end of finishing up a blog-type project using
CakePHP. My question has to do with "element blocks". I'm not sure
what they are called, but for example, on many websites there are
often side boxes that have different information in them. For example
a login box, or
As a stop gap, write a wget script to pull all the printable versions
of the manual chapters on the web, cat together, then liberal use of
psnup and/or enscript to 2 per page and find a duplex printer - hey,
gotta be environmentally friendly. Send to said device, and while
you're at it, print the
Hey, sounds awesome. But, truthfully, a solid book will help to
legitimize Cake to the masses. The sooner, the better.
On Jun 12, 12:23 pm, francky06l <[EMAIL PROTECTED]> wrote:
> I remember a thread or some lines on cakeForge about this (from gwoo I
> think), and basically was saying that the bo
Hi,
I've got this strange error using Cake PHP 1.1.x. I've my application
running on my laptop with MySQL 5 / php 5 / apache 2 and everything is
fine. When I only migrate to remote server where only change is MySQL
4 instead of 5 I got this message when trying to get first page
running.
I checke
No, there isnt anything like that. Its not hard to implement yourself
though. You can just set 'limit' in the $paginator var within your
action before you call $this->paginate.
On Jun 12, 2:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Thanks for your help--the escapeTitle works great.
Thanks for your help--the escapeTitle works great. However, I the code
I pasted...
resultsPerPage(NULL, ' ')?>
...echos a few links like '5 20 50 100 500' and automatically hides
the links larger than the result set. I was wondering if there was
something like that in the 1.2 helper.
Thanks!
O
There is only one true editor, for grumpy programmers and
not-so-grumpy programmers:
vim
Now let this thread die.
--
Chris Hartjes
My motto for 2007: "Just build it, damnit!"
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--
I found PHP Designer pretty good:
http://www.mpsoftware.dk/phpdesigner.php
On Jun 12, 4:51 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am ready to finally move away from gedit.
> What are you using for a PHP editor/IDE?.
> Cheers.
>
> Dna
--~--~-~--~~
To, it sounds like:
Person belongsTo Country
I'd use a belongsTo relationship in the Person model. And if you need to
do Country->People lookups, put a reverse hasMany in the country model.
I wrote a bit on understanding the practical differences between
relationships here:
http://bennerweb.c
I'm a little frustrated because i have a problem invoking de $html-
>tagErrorMsg on one of my views.
As a resume i present the next files:
*
View: add_admin.thtml
formTag('addAdmin','post'); ?>
Usuario:
input('User
If the bakery wasn't broken, I'd be more than happy to make a nice
article explaining all of this...
You want:
$paginator->prev($html->image("icons/resultset_previous.png",
Array('height'=>16)), array('escape'=>false), null,
array('class'=>'button'));
In your controller set
var $paginate = array
Some informations here by Nate : http://cake.insertdesignhere.com/posts/view/16
On Jun 12, 8:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 1. How do you 'escapeTitle' with the 1.2 Paginator Helper? I have the
> following:
>
> prev($html->image("icons/
> resultset_previous.png", Array('h
1. How do you 'escapeTitle' with the 1.2 Paginator Helper? I have the
following:
prev($html->image("icons/
resultset_previous.png", Array('height'=>16)), null, null,
array('class'=>'button'));?>
It was pretty straightforward in the 1.1 helper, but I'm not sure if
it's possible here.
---
2. Is
Best would be to save the po file in UTF-8 (without BOM).
On Jun 12, 8:22 pm, "Aaron Thies" <[EMAIL PROTECTED]> wrote:
> I am creating a French site in Cake 1.2 and the i18n stuff is working
> good. My issue is with the __() function. When I have a character
> like é in msgstr of my default.po
I remember a thread or some lines on cakeForge about this (from gwoo I
think), and basically was saying that the book will come when cake 1.2
will be released.
On Jun 12, 7:13 pm, Dave <[EMAIL PROTECTED]> wrote:
> Hey all,
> I've really wanted a well-documented book on CakePHP. You know,
> someth
I am creating a French site in Cake 1.2 and the i18n stuff is working
good. My issue is with the __() function. When I have a character
like é in msgstr of my default.po file it will display the
character this represents correctly with __("someTag"), but when I
return the value __("someTag", tru
If you'd been around here when someone tries to write the last
book.you'd know that everyone who knows enough & isn't on the core
team is somewhathesitant to take this cause up.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Just to add something the variable you set in controller $this-
>set('var', $value) are also available in the layout...
On Jun 12, 7:43 pm, Juan Pablo Araya <[EMAIL PROTECTED]>
wrote:
> Sorry I don't understand your question. The way you can create this
> html structure is saving it under app/vie
Hey all,
I've really wanted a well-documented book on CakePHP. You know,
something like O'Reilly books that gives you the skinny on Cake in
more details than what's in the online manual. Maybe something with
recipes. Well, a look on Amazon reveals that there's plenty of stuff
like that out there f
I know folks are grumpy about this one ;) but I have to make a plug
for Panic's Coda for Mac. It's relatively new, and not covered in
previous posts, so I'm making a go of it here :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Sorry I don't understand your question. The way you can create this
html structure is saving it under app/views/layout (the html). In each
controller now you can change the layout with $this->layout = 'new-
layout' (new-layout.thtml in app/views/layout).
You can create app/app_controller.php and
If I understand, you want a different default layout depending of the
controller ? If this is the question (not sure), you can create as
many layout as you wish and in your controller use $this->layout =
'custom' to override the default.thtml layout.
You should place your custom1.thtml, customx.th
Sorry, ment, the $_GET['url'] is empty!
On Jun 12, 5:40 pm, Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
> Quick and
> dirty:http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-...
>
> Then do:
>
> $Dispatcher =& new Dispatcher();
> $content = $Dispatcher->dispatch('/controller
Am I understanding you correct? You want to put the default layout in
a location that is not the layouts directory? I think I am having
trouble figuring out what you are asking.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
The strange thing is, that when printing out $_GET['url'] before the
require_once I get the 'favicon.ico', how it sould be, but right after
the require_once it's empty.
On Jun 12, 5:40 pm, Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
> Quick and
> dirty:http://www.thinkingphp.org/2006/08/15/th
Hi
We're exploring CakePHP, and I'm stuck on how to describe the
following model relationship. It should be trivial and I'm sure that
I'm missing something, but precisely what eludes me. Can anyone help?
Let's say that we have a model 'Person', and one of the attributes for
Person is "country".
Hi there
I have just started with cakephp so most likely I just don't see the
obvious but where is the controller for the default.thtml?
As far as I understand the default.thtml provides the HTML template
which provides the basic html structure (head, meta-tags and body-tag)
and into this struct
Sorry for the test email, but I had typed a long response submitted it
and google said that it was sent, but it never posted. So that is why
I sent the test message.
Ok back to business.
The project is an online auction system. Since the types of items
will be changing all the time I wanted to
add a $html->hidden() field to your form
--~--~-~--~~~---~--~~
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
Hi Felix
Thanks!
This is exactly what I was trying to to:
$_GET['url'] = 'favicon.ico';
require_once 'sb/app/webroot/index.php';
$Dispatcher =& new Dispatcher();
$content = $Dispatcher->dispatch('/provider/doFoo');
The problem is, that i get allway the cake startpage.
I'm using 1.2.0.5146alph
Quick and dirty:
http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-technique/
Then do:
$Dispatcher =& new Dispatcher();
$content = $Dispatcher->dispatch('/controller/action');
-- Felix
--
http://www.thinkingphp.org
http://www.fg-webdesign.de
Aldo wro
When using model->validates($data), the lines of code that execute the
validation are:
foreach($this->validate as $field_name => $validator) {
if (isset($data[$field_name]) && !preg_match($validator,
$data[$field_name])) {
$this->invalidate($field_name);
}
}
the problem with this i
Hello
Does anybody know how to show the output from cakephp in a normal PHP
page?
Somethin like include(pathToCakePHP/controller/action)
Or even better if I could set a variable in Cake an access this one
outside from the application.
What I want to achive is to have a news section in a websit
On 6/12/07, jitka (poLK) <[EMAIL PROTECTED]> wrote:
>
> I am not aware of any uml -> cakephp_code conversion tool.
>
> But talking about umbrello (uml.sf.net), if something like
> http://tech.motion-twin.com/php_php2xmi.html is possible, then it is
> just question of time and amount of people who
php2xmi is an interesting concept, but it seems to go in the opposite
direction from what Cacho is talking about.
Thanks -- now I'm imagining a GUI baker app. ;)
jitka (poLK) wrote:
> I am not aware of any uml -> cakephp_code conversion tool.
>
> But talking about umbrello (uml.sf.net), if some
My host upgraded to PHP 4.4.7 today and all my cake apps died. Not
broke. Died. Blank screen, nothing returned from the server except
for a 200 OK message. No errors. Nothing in the server logs.
I'm using the latest nightly for Cake 1.2. I've traced the problem to
some code in my views that
Hey AbhinavZone,
search for this in the newsgroup, "save multiple models" or "insert
multiple tables"
Bakers aren't too friendly at times when it seems like you're not
making an effort in searching for answers first. Don't take offense at
the lack of help or lack of a manual ;) Don't be discoura
hi all.
I did some search and found this article ..its says what AD was
suggesting
http://www.thinkingphp.org/2006/09/18/dessert-11-welcome-back-friendly-urls/
Regards,
bingo
http://findnwrite.com
On Jun 12, 6:07 am, bingo <[EMAIL PROTECTED]> wrote:
> hi everyone,
>
> thanks for your all your re
Reine wrote:
> ...
> http://www.ibm.com/developerworks/search/searchResults.jsp?searchType=1&searchSite=dW&searchScope=dW&query=cakephp&Search.x=0&Search.y=0&Search=Search
>
>> On Jun 7, 11:39 am, Lifo <[EMAIL PROTECTED]> wrote:
>> Dear group member
>> I am new in CakePHP. So
Thanks you Reine.
Best Regard,
Lifo
On 6/11/07, Reine <[EMAIL PROTECTED]> wrote:
>
>
> Hi Lifo,
>
> There's a handful of good tutorials at the IBM Developers' website.
> You will need to register (registration is free) to access them and
> others have a PDF download link.
>
>
> http://www.ibm.com
bah, you're all grumpy, must be linux users :-D
On 6/12/07, Gonzalo Servat <[EMAIL PROTECTED]> wrote:
>
> On 6/12/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
> >
> >
> > On 6/12/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
> > >
> > > Can we stop answering this thread? It's been covered *sever
I am not aware of any uml -> cakephp_code conversion tool.
But talking about umbrello (uml.sf.net), if something like
http://tech.motion-twin.com/php_php2xmi.html is possible, then it is
just question of time and amount of people who will need it - and also
some smart person with spared time who
Try setting your model's $displayField to the field you want to
appear in the select.
On Jun 11, 5:03 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> The scaffolding should automatically create this for you if you have
> the associations set up correctly. What form element is it currently
> showing f
On 6/12/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
> On 6/12/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
> >
> > Can we stop answering this thread? It's been covered *several*, and I
> mean
> > *SEVERAL* times on this group before. All it does now is add more
> traffic to
> > our already
Thanks Joshua,
to summarize:
I include the helper in my controller:
__
class PostsController extends AppController {
var $helpers = array('Html', 'Form');
__
Then I can use the submit(); ?>
One thing to note is that this gener
On 6/12/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
>
> Can we stop answering this thread? It's been covered *several*, and I mean
> *SEVERAL* times on this group before. All it does now is add more traffic to
> our already overloaded mailboxes.
Don't be so grumpy...
--
Chris Hartjes
My mo
My personal opinion is that not everything what is possible is also
automatically right. I understand benefits of error messages in model,
but those benefits are gone just in moment you will (for example):
--- let anyone else touch your code - you can be sure they will modify
messages in your mod
You need a newer version, try 1.2.0.5146alpha (
http://cakeforge.org/frs/?group_id=23
)
On Jun 12, 1:19 am, pbland <[EMAIL PROTECTED]> wrote:
> I've followed this
> article:http://bakery.cakephp.org/articles/view/multiple-rules-of-validation-...
> but I'm getting this error:
>
> Warning: preg_m
Can we stop answering this thread? It's been covered *several*, and I mean
*SEVERAL* times on this group before. All it does now is add more traffic to
our already overloaded mailboxes.
Thanks!
-MI
---
Remember, smart code
hi everyone,
thanks for your all your response. AD, you convinced me that title
based url are not as bad as I was thinking. However, can you clarify
more on using both id and title in the url. If I want to use both id
and title in the url, I have two options
1. http://findnwrite.com/memento/artic
I don't do UML diagrams for cake... rather, I might UML, then generate
database tables from that, define my models and their relationships in
Cake (very little code, usually), then start baking in the console. This
will generate an interface to all of your models very similar to the
cake scaff
weird...i'm using requireAuth. when i include the jquery thickbox
library (in my default layout) requireAuth (and requirePost) get's
blackholed.
this happen to anyone else?
i'm still investigating.
--~--~-~--~~~---~--~~
You received this message because you are
I've used:
gEdit
jEdit
vim
emacs
NuSphere
EditPad
Programmer's Notepad
Notepad++
Eclipse + PHPEclipse
Eclispe + PDT
My editor of choice is definitely Eclipse + PDT. I do some Java, lots of
web development, and PDT in combination with WST is an excellent
e
I use to develope with java and new with cakePHP.
I use to design my applications with UML modeling tools and then
generate stubs with a tool. Now, I saw cakePHP will generate all the
code so I wonder how this kind of development could be relationated
with the usual systems design.
How could I
2007/6/12, Jonathan Langevin <[EMAIL PROTECTED]>:
>
> Zend IDE for me, next to that I use Editplus 2. I've used Nusphere, and
> while it's decent, it doesn't natively run under linux (neither does
> Editplus, but editplus has no trouble under Crossover Office)
quanta, bluefish, nvu, emacs, eclips
Zend IDE for me, next to that I use Editplus 2. I've used Nusphere, and
while it's decent, it doesn't natively run under linux (neither does
Editplus, but editplus has no trouble under Crossover Office)
On 6/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I am ready to finally mo
On Jun 12, 3:52 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 6/12/07, R.RajeshJebaAnbiah<[EMAIL PROTECTED]> wrote:
> >I suppose the correct approach is to have error messages in model
> > and then override it in form::input() whenever necessary.
>
> Hmmm the classic "negative num
On Jun 12, 8:07 am, bingo <[EMAIL PROTECTED]> wrote:
> hi AD,
>
> I thought of doing so, but somehow I am not feeling comfortable with
> finding articles by title.
I should maybe clarify that I have (foolishly) been referring to the
title and slug fields indiscriminately. An article would have
http://groups.google.com/group/cake-php/search?group=cake-php&q=What+editor+do+you+use+for+CakePHP
Pretty please use the search.
AD
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
Hi group
I have searched through many threads in this group but didn´t find a
solution to my problem.
I use CakePHP 1.1.15.5144, PHP 4.3.10-21 (on the public webserver),
Apache/2.0.54, CAKE_SESSION_SAVE is set to php, CAKE_SECURITY is set
to low (because of this issue), CAKE_SESSION_TIMEOUT is s
Mariano had a great approach to unbinding selected associations before
reading data. See:
http://bakery.cakephp.org/articles/view/an-improvement-to-unbindmodel-on-model-side
Good luck.
V
On Jun 11, 10:08 pm, Jorge Vargas <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm new to cake but not to app develop
Hi,
I am ready to finally move away from gedit.
What are you using for a PHP editor/IDE?.
Cheers.
Dna
--~--~-~--~~~---~--~~
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
On 6/12/07, R. Rajesh Jeba Anbiah <[EMAIL PROTECTED]> wrote:
>
>I suppose the correct approach is to have error messages in model
> and then override it in form::input() whenever necessary.
>
Hmmm the classic "negative number in red" case
The argument against messages in model is that th
On Jun 11, 6:56 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 6/11/07, Ketan Patel <[EMAIL PROTECTED]> wrote:
>
> > Check out simple example at
> >http://bin.cakephp.org/view/610862726
> Perhaps the technically correct way is *not to have the error messages
> in model* - there is an ar
On 6/12/07, bingo <[EMAIL PROTECTED]> wrote:
> Instead of article id, I would like to use article title in the url so
> it is optimized for search engine. But I also don't want to increase
Looks like the Slug behavior is what you are looking for (v1.2 only)
HTH
Tarique
--
1 - 100 of 104 matches
Mail list logo