i changed the form fields to username and password. could it be possible
that may not use usr and pwd?
It does not explicitly state this in the 2.0 documentation, but
'username' and 'password' have always been the default auth fields.
This is inferred by the fact the param keys are called
nothing happens. users cannot de-associate Articles and Pieces
So within your article/edit action what find calls are you making to
fetch the article and all pieces (related or not)?
Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
* lays down his shield and breathes a sigh of relief * :)
--
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.
To unsubscribe from this group,
personally I use
body id=?php echo $this-name = class=?php echo $this-action
Nice, gives controller and/or action style context to the layout.
*stars thread*
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
Pedro,
I did give you an answer to your last post showing you that there are
existing tutorials showing how to do this in CakePHP found within this
group or via Google.
Because this topic has been covered many times before and there are
already guides out there I doubt anyone is going to write
Duplicate thread:
http://groups.google.com/group/cake-php/browse_thread/thread/cd89348af99eab75
http://groups.google.com/group/cake-php/browse_thread/thread/d0ad832f413261e4
On Nov 9, 2:30 am, thom cyber.phanto...@gmail.com wrote:
On Wed, Nov 9, 2011 at 8:54 AM, kika drupal.chmi...@gmail.com
Yves,
You're obviously using code when you have no idea what it does ...
this is all basic CSS stuff (which is nothing to do with CakePHP by
the way) I suggest you get a book or read some online tutorials about
CSS to get a good grip on that rather than asking these questions in
this group.
*
At the risk of Andy slapping me down, this does sound like a rewrite
issue that is not allowing /app/webroot to function normally and a
request for /css/style.css is looking for a css controller.
Do your CSS files load OK in the main domain? You mention sub-domains
are not working, but is your
instead. works perfectly. no idea why it came to me
sooo damn late
thanks for your help guys :)
On 8 Nov., 09:32, WebbedIT p...@webbedit.co.uk wrote:
@Tomfox: I've not seen people specify conditions and order params in
that way before. It should be:
$this-Link-find('all
you say rash of peaple doing it wrong??? or what
said webbedit !!! have i take it as sarcasm???..
I'm reading a lot of cake and I'm no expert .. but I'm getting better
every day.
thank you very much for your answers
regards
WebbeDIT what mean... (but I am going to ignore it)
On 8
redirect to:
array('controller'='pages', 'action'='home', 1) or
array('controller'='pages', 'action'='home',
'popupQuestionnaire'=1)
Or save a value to the session.
Using any of the above will allow you to check for a value within your
home page view and run some javascript.
HTH, Paul.
On Nov
So by default you are associating all Articles to Pieces? I really
suspect you're going about things in the wrong way here.
Paul.
On Nov 8, 10:04 am, Ernesto e.fanz...@gmail.com wrote:
Thanks for the effort, i solved this way:
- in both articles/add and pieces/add users can enter just code
('list'); if populating an array to then be used as options in a
form.
HTH, Paul
On Nov 9, 9:11 am, WebbedIT p...@webbedit.co.uk wrote:
So by default you are associating all Articles to Pieces? I really
suspect you're going about things in the wrong way here.
Paul.
On Nov 8, 10:04 am, Ernesto
$this-params is available in the view too, simply echo the values
into your javascript within the view:
var controller = ?php echo $this-params['controller']; ?;
var action = ?php echo $this-params['action']; ?;
HTH, Paul.
On Nov 8, 8:51 am, jusnit jusnit1...@gmail.com wrote:
Is it possible to
ROFL
On Nov 8, 9:45 am, AD7six andydawso...@gmail.com wrote:
On Nov 8, 6:55 am, Mamdoohi hamid.mamdo...@gmail.com wrote:
the css() method from html class work not correctly and when I use this
method for my subdomain it cant load css file correctly
Have a talk to this
This is not a CakePHP query, it's a simple HTML/CSS query, unless Cake
is failing to load your CSS all together, in which case I would expect
your thread to say so.
Would be nice to see the line(s) in your CSS that style the submit
button.
Are you running FireBug (or Developer Tools in Chrome),
@Tomfox: I've not seen people specify conditions and order params in
that way before. It should be:
$this-Link-find('all', array(
'conditions'=array('Link.created'=$lastLink, 'Link.fk_user_id'=
$id),
'order'=array('Link.created DESC'),
'limit'=2,
'contain'=array('Icon')
));
Do you have
Call the join model/table whatever you want and create associations
like:
Freelancer hasMany CompanyFreelancer
Company hasMany CompanyFreelancer
CompanyFreelancer belongsTo Freelancer
CompanyFreelancer belongsTo Company
HTH, Paul.
On Nov 7, 4:29 pm, Justin Edwards justinledwa...@gmail.com
Jeremy. thank for you answer.. (but I am going to ignore it)
You've got to laugh, Paul
--
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.
How can i load an article, with ALL the pieces, even if they haven't a
relationship, using Cake's find function?
You can't do this with one find query, this is not a limitation of
CakePHP you simply can't do one database call that will find one
article and all pieces related or not.
This
$this-link-find('all', array('contain'=array('Icon')));
HTH, Paul.
On Nov 6, 5:16 pm, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:
hi everyone,
i want to apply the contain function but i cant get it to work. so
this is my find in the users_ controller :
$this-Link- find('all',
$this-Article-find('first', array(
'conditions'=array('Article.id'=$id),
'contain'=array('ArticlePiece'='Piece'),
));
HTH, Paul.
On Nov 7, 12:41 pm, Ernesto e.fanz...@gmail.com wrote:
this will load only related models :\
--
Our newest site for the community: CakePHP Video Tutorials
@Andras: Have you read the rest of the thread? Jeremy is trying to
show Daniel how to use containable so he can specifically say what
models and fields he wants to fetch during his find call. It's very
unhelpful you chiming in 25 messages into the thread telling him to
pull the model and ALL it's
, WebbedIT wrote:
@Jeremy: I would be wary of allowing any software licensed annually to
be hosted on another server. Apps licensed in this way tend to be more
like an SAAS app and as such would be centrally stored to allow for
maintenance, upgrades etc.
If it is a plugin that we're
),
'contain' = array(
'Category', 'User'
)
));
Also its resulting a cleaner array, I guess its easier to paginate as well..
Andras Kende
On Nov 5, 2011, at 5:59 AM, WebbedIT wrote:
@Andras: Have you read the rest of the thread? Jeremy is trying to
show
Barricades, welcome to the community!
If you are so new to CakePHP and JavaScript then I would suggest
sticking to plugins and helpers that other people within the community
use, this way you are much more likely to get support. I certainly
would not go and learn how to use the script above so I
from it. I guess one answer is don't build it in PHP, but
that's a cop-out!
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 5 Nov 2011, at 11:03, WebbedIT wrote:
Would never of thought of software at that sort of high end level
being developed using uncompiled/unencrypted
Whilst I think the rudeness issue is interesting, and I am becoming
more guilty of tinging a lot of my replies with a healthy dose of
sarcasm (can equally be said that some questions are ridiculously rude
and/or very provoking), we have dropped off the main subject here.
@dave: I use radio
We used to be able to rate posts, when did that dissapear?
On Nov 3, 9:36 pm, Meroe Meroe whme...@gmail.com wrote:
Wish I could +1 an email.
On Nov 2, 2011 12:11 AM, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
This is basic stuff.
var $actsAs =
@Ryan: If you could not raise a smile at Andy's response in this
thread then you really could do with a weekend off. Your response is
nicer than Andy's but they both mean the same thing ... Why on earth
do you need to protect your code?!?
@Rizki: I used to believe my code was golden and should
@Serkan: post your new question in a new thread please
On Nov 3, 3:59 pm, Serkan Sipahi serkan.sip...@yahoo.de wrote:
hi Cake Community,
CakePHP 2.0.2
OS: Windows7
Configure::write('debug', 2);
Problem:
My Auth Component is not working and i dont know why. Need Help.
User Controller:
/
zend guard installed)? Maybe you could have a call from the remote
server to a database on your server which checked if a license is
valid?
HTH, Paul
On Nov 4, 9:38 am, AD7six andydawso...@gmail.com wrote:
On Nov 4, 10:13 am, WebbedIT p...@webbedit.co.uk wrote:
@Ryan: If you could not raise
Yeah, you are right. I was just giving the 'quick and dirty' solution ;-)
Problem with that is the OP may then think it is the proper solution,
use it in all their code and blame CakePHP for creating slow/heavy
apps.
--
Our newest site for the community: CakePHP Video Tutorials
@Yves: People keep recommending paginaton along with CakeDC's
searchable plugin. If you take their advice and go and read the
associated documentation you should easily be able to figure this out
for yourself.
At present you have still not got your head around the fact that you
only need to run
@Chris: You're openly admitting you have not looked at how CakePHP is
*supposed* to be used at all. Before you start recommending to others
that they should just bail on major core concepts of the framework,
you should take the time to go through the cookbook. If you did you
would quickly learn
Welcome to the group Pedro.
Please Google your question before asking things that have been asked
(many times before):
http://www.google.co.uk/search?q=cakephp+dependant+select+list
Or better still search this very group:
@flosky
Set up the relationships in the posts and users models and set the recursion
to 2 when you do the find.
No! Please don't use recursive = 2, it will pull so much unneeded deep
data. Please take Jeremy's advice and use Containable, it is so easy
and so powerful!
His post above shows
And for proof of how easy other people find the CakeDC plugin:
http://groups.google.com/group/cake-php/browse_thread/thread/bdb93d2ec770be06
Question asked and resolved in 4 days!
HTH, Paul.
On Nov 2, 9:23 am, WebbedIT p...@webbedit.co.uk wrote:
@Yves: People keep recommending paginaton along
Me thinks Jeremy has been reading too many of Andy's replies :P
On Nov 1, 5:31 am, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
I hope we all know that I was being ironic. ^^
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 1 Nov 2011, at 03:48, Yves wrote:
It's not lazyness per se, both are completely valid and it's up to you
to decide which to use in what circumstances. If you are 100% certain
that the view containing the link will only ever be called from a
certain controller, then you do not need to include that controller in
the url array as
, WebbedIT p...@webbedit.co.uk wrote:
Without seeing any of your code (model associations would have been
nice) I logically assume you are using Article HABTM Tag.
If so this does not create a model for the join table, but instead
puts in place some automagic to allow you to link many
Wh there Arti, please consider that this is a free community
driven group where no-one is obliged to help you and certainly not to
sit waiting for your questions and answer them in under 2 hours.
Also consider that your question is in no way CakePHP related, as you
have been told twice in
P.S. I love the irony of someone with a username of Jovial, as used in
OP, blowing their top in this manner :)
On Oct 30, 4:48 pm, AD7six andydawso...@gmail.com wrote:
On Oct 30, 9:05 am, arti grover groverar...@gmail.com wrote:
Why MY POSTS Are not considered..i really need help..regarding
Without seeing any of your code (model associations would have been
nice) I logically assume you are using Article HABTM Tag.
If so this does not create a model for the join table, but instead
puts in place some automagic to allow you to link many-to-many records
between the two models. As such
If you read the next page in the tutorial (http://book.cakephp.org/
view/1538/Data-Validation) you will find out.
HTH, Paul
On Oct 31, 6:15 pm, Yves S. Garret yoursurrogate...@gmail.com
wrote:
Was going through the book and noticed the last sentence on the web-page:
In recent projects I use CakeDC's searchable plugin, but before that I
simply did the following in my view:
if (!empty($this-passedArgs)) {
$this-Paginator-options(array('url' = $this-passedArgs));
}
HTH, Paul
On Oct 29, 9:15 pm, Andras Kende and...@kende.com wrote:
You can do it either with
Have you had a look at Croogo to see if they're implementation would
work for you?
On Oct 29, 4:40 pm, MetZ met...@gmail.com wrote:
Hi all..
I am looking to implement a wysiwyg editor with a media library plugin
of some kind.. Have been looking at Tinymce and elfinder for library,
but I am
This is not a CakePHP question. CakePHP is a PHP framework which
produces HTML, so anything you can do with HTML and javascript can be
done in CakePHP.
Go find a javascript tutorial that matches your requirements and give
it a go, you will feel better for being able to find the answer to
such a
'Company.Departement_dactivite_limitrophes'
do you really have your table fields starting with a capital letter?
Not sure if this is the problem, would also try restricting what
associations are being used by using containable or recursive = -1
HTH, Paul
On Oct 29, 1:38 am, Ricardo
should only happen if target=_blank have you got a link to the page
so we can test it?
On Oct 28, 3:46 am, iphone5 sk.koiz...@gmail.com wrote:
I am developing web app with cakephp. Recently I noticed that whenever
I click on the link on a page it activate another window for some
reason.
It
I don't know if this can be done with HABTM (doubt it as HABTM is an
automagic feature meant to join two tables only) but I for one would
modelise the join and have something like:
Staff hasMany PositionSchoolStaff
School hasMany PositionSchoolStaff
Position hasMany PositionSchoolStaff
I look forward to reading Andy's comments each day, as they're
priceless - and often what I am thinking whilst typing my replies :P
Paul
On Oct 26, 1:33 pm, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
The trained or veteran eye will by now be used to Andy's demeanour. I find
Call me dense, but how would I do that?
As mentioned in an earlier reply, you could let the HTML helper do it
for you:
http://book.cakephp.org/view/1447/tableCells
HTH, Paul.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
I asked to see your code twice and Jon has also asked .. if you don't
answer the questions people trying to help you are asking, then you
may find answers to your questions hard to come by!
We cannot debug code we cannot see, but glad you got it working :)
Paul.
On Oct 23, 6:37 pm, Constantin
White on white, ROFL :P
On Oct 23, 2:28 pm, Arno.E arno.esterhui...@gmail.com wrote:
Actually, it is working. You're setting the background color to *white*. If
you want to change the background color to something like #f5f5f5 in line
170, it should show up.
--
Our newest site for the
We need to see your code, and the error, or we cannot accurately debug
the issue.
On Oct 22, 10:44 am, Constantin FF constantin...@gmail.com wrote:
Just changing the parent_id. How to change the tree also?
On Sat, Oct 22, 2011 at 12:21 PM, WebbedIT p...@webbedit.co.uk wrote:
What code
What code are you using to move the post with children and what error
do you get?
On Oct 22, 2:48 am, Constantin.FF constantin...@gmail.com wrote:
My Post model have Tree behavior, and everything work just fine. Each
post has a parent_id and lft,rght column.
If I create and move posts in
Yves, do not place css direct into your html, use ids and classes and
control the styling from a css file. That way when you decide to
reuse the code for another site with a different colour scheme you
chance colours in the css file rather than numerous view templates.
All the help people have
Need to try more yourself and show us the code you are using when you
get stuck.
On Oct 21, 10:54 am, saddam hossoin saddamhoss...@gmail.com wrote:
I have six model are Company-Brand-SubBrand-Product-Ad-Monitoring. i
want to get data pagination with title filter. I want
to find A Brand
going on or just flat out
want to do something different so as to 'get away' from what I do for a
living.
:-)
On Thu, Oct 20, 2011 at 3:01 AM, WebbedIT p...@webbedit.co.uk wrote:
Sorry Yves, I'm sure your situation was perfectly innocent, just saw a
chance to have a dig at those we
? If you have
not comprehended anything, I'll be more than happy to simplify my
explanation.
On Wed, Oct 19, 2011 at 2:44 AM, WebbedIT p...@webbedit.co.uk wrote:
LOL @ I haven't read all your instructions, and I'm having problems
getting it to work then now that I have read all your
DOH! Nor am I on the board to argue, apologies and thanks for pointing
that out Simon.
On Oct 19, 2:40 pm, zuha rich...@razorit.com wrote:
Yes, thats why I didn't respond to it. (not to mention I'm not on this
board to argue with anyone)
--
Our newest site for the community: CakePHP Video
As you're after Program.name as your group value you need to contain
your Program model.
By default for recursive when using find('list') is set to -1 to be
sure to include recursive=1 too.
HTH, Paul
Reference:
http://groups.google.com/group/cake-php/browse_thread/thread/3cf1fc29ba8942bd
On
LOL @ I haven't read all your instructions, and I'm having problems
getting it to work then now that I have read all your instructions
all is fine!
Funny how so many people treat the book the same way!?! They read a
few pages, get something working then walk away from the book and
start asking
I cant find a decent tutorial (or the correct way to do it) to add
jquery into cakephp 1.3
Are you sure you can't get this bit working? jQuery itself gives
instructions on how to download it and include it in your page with a
script / tag.
If you choose to Cake-ify this up a bit, which most
On Oct 18, 12:51 pm, zuha rich...@razorit.com wrote:
I will after we finish the migration to CakePHP 2.0. Otherwise we only
share it with potential contributors who meet with me personally (phone /
screen share). Its in alpha phase.
But you're simply re-inventing the wheel that Fahad and
Just to clarify, my cautionary note about Drupal was that if you do
not know how to tune it, it can be very resource hungry. I'm sure
with the resources MTV and Twitter have they will get it tuned to work
a dream!
I had a client who moved from a bespoke plain PHP site I developed to
Drupal and
@zuha: Why get a team together to develop another CMS when Croogo
exists and is well respected by a lot of the community? Also there is
Infinitas, not had time to check that out yet, but also looks a great
solution.
Pooling your resources into one of these projects should produce
better results
@localhost: as mentioned in my above post there are some excellent CMS
projects developed using CakePHP.
IMO I don't think it's a good idea or that you will get any help from
the community in trying to integrate an external CMS project with
CakePHP.
Go try out Croogo or Infinitas
HTH, Paul.
On
Make sure you associations are correct and start using the Containable
behaviour.
Then you would simply do:
$this-Post-find('first', array(
'conditions'=array('Post.id'=$id),
'contain'=array('Comment'='User', 'User')
));
Debugging the array from the above find would show that you would have
Try:
http://www.google.co.uk/search?q=cakephp+ajax+login
On Oct 17, 3:44 pm, heohni heidi.anselstet...@consultingteam.de
wrote:
I am trying to do a ajax login and would need to catch up the errors.
Is there something like $this-validationErrors for the Auth method?
Does anybody know a good
@anjith: please don't create multiple threads for the same problem
http://groups.google.com/group/cake-php/t/34d16c73321eb807
http://groups.google.com/group/cake-php/t/211a436a11da7238
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
Sorry, it appears you did create two threads and deleted one just as
someone replied to it so it looks as though you have three threads
when there is really only one.
Paul.
On Oct 18, 8:45 am, WebbedIT p...@webbedit.co.uk wrote:
@anjith: please don't create multiple threads for the same
of resources.
I think we should just agree to differ on this one as we're going to
keep going around in circles.
Paul.
On Oct 17, 9:26 am, Matteo Landi landima...@gmail.com wrote:
On Mon, Oct 17, 2011 at 6:44 AM, WebbedIT p...@webbedit.co.uk wrote:
You agree that the primary key of a table
The fair and right answer is there is no BEST solution. You have to
consider all the skill sets of those that are going to be using the
chosen framework and see what will suit them.
CakePHP can certainly handle sites of any size and as such I never use
another framework, unless a client requests
Sorry I meant to remove the legend and label params and cake with
automagically create the correct legend from the field name.
Paul.
On Oct 15, 1:01 pm, gimmebucks sapew...@gmail.com wrote:
set the 'legend' to your desired name.
On Oct 14, 3:02 pm, WebbedIT p...@webbedit.co.uk wrote
What is the [username] coming from in:
link rel=stylesheet type=text/css href=/[username]/css/
default.css /
HTH, Paul
On Oct 15, 10:09 am, Travis Rowland travis.rowl...@gmail.com wrote:
My webroot folder in my Theme folder had a capital W -- go figure.
On Sat, Oct 15, 2011 at 12:08 AM,
Search if someone has already written a helper:
http://www.google.co.uk/search?q=cakephp+highcharts
http://highslide.com/forum/viewtopic.php?f=9t=8220
Or write one yourself:
http://book.cakephp.org/view/1097/Creating-Helpers
HTH, Paul
On Oct 17, 12:41 am, Armando Marcovich
You agree that the primary key of a table for which you are then
fetching related hasMany records is required as part of Cakes
automagic on hasMany associations. It would then take more processing
(albeit, a negligable amount) to then unset that primary key.
But the question I ask myself is,
, as well :)
On 14 Okt., 09:02, WebbedIT p...@webbedit.co.uk wrote:
I think the problem is 'label'=true as the label parameter allows you
to override the default label, it expects a string, not a true/false.
How would values of 'on' or 'off' be valid for a user_id field anyway?
HTH, Paul
This array does not look like a tree? A MPTT tree should have a lot
more values that this, mainly including parent_id, lft and rght.
HTH, Paul
On Oct 15, 12:29 am, Constantin.FF constantin...@gmail.com wrote:
I need to reorder a part of my tree.
I have given values for example:
Array
(
You have not ran paginate anywhere, you've set paginate settings for
your controller, but then just used find in all your actions.
Go back and read the book some more, it explains pagination very
clearly.
http://book.cakephp.org/view/1231/Pagination
HTH, Paul
On Oct 14, 9:39 pm, Yves S. Garret
@mark: I've used this various times, but never fully got my head
around it. Are you saying that whenever creating multiple rules per
field you should add last=true to all of them (not neccessary for
last one I assume). This will ensure validation stops for that field
on the first failed rule I
I think the problem is 'label'=true as the label parameter allows you
to override the default label, it expects a string, not a true/false.
How would values of 'on' or 'off' be valid for a user_id field anyway?
HTH, Paul
On Oct 14, 3:57 am, ms_liz_87 elizeber...@gmail.com wrote:
I've tried
I agree too, my point was related to an issue a user had here last
week, they were using read() before a save call and it was updating
the model's data array and causing various issues.
Paul
On Oct 13, 12:43 pm, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
Agree with you Andy.
Karan,
Unless you are going to reload the page every time the select list
changes you're talking about using AJAX requests to update the 2nd
(child) select list.
As such you want to watch the 1st select list and whenever it changes
fire an AJAX request with the value and return a new set of
If this is a HABTM relationship, which it would have to be to allow
many contents to be related to many categories, then you have your
field named wrong.
You essentially have a belongsTo field there where one row can only
have one relation to Category via Content.category_id, what you need
is a
Go follow the extremely good tutorials over at jQuery UI, if you have
tried and failed then by all means tell us what went wrong or you do
not understand.
For a CakePHP slant on how to do this try using Google:
http://www.google.co.uk/search?q=cakephp+jquery+ui+autocomplete
HTH, Paul
On Oct 11,
Don't run conflicting JS frameworks, much easier to choose one or the
other and learn how to use it properly, or read the jQuery
documentation about how to run it in noConflict mode.
HTH, Paul.
On Oct 11, 9:07 am, Cruisine cruisin...@yahoo.co.id wrote:
hi guys,i'm gonna ask u about ajax
read() also can put you in strange situations as it loads whatever
data it fetches into the model's data array, so as euromark says,
start using find instead.
HTH, Paul.
On Oct 12, 11:45 am, euromark dereurom...@googlemail.com wrote:
a) you never need read() - i dont use read() once for over
CakePHP is simply a framework built on PHP, anything you can do with
PHP and JS (including whatever flavour of JS framework you may be
using) can be done with CakePHP sites.
Learn how to write your own JS to do this and apply it to your CakePHP
site.
HTH, Paul.
On Oct 13, 5:30 am, Miqdad Ali
Have you read:
http://book.cakephp.org/view/1228/Internationalization-Localization
HTH, Paul
On Oct 10, 11:34 am, vaibhav pathak promatics.vaib...@gmail.com
wrote:
Hi
Please anyone can tell me how to develop multilingual site in cake
php
thanks.
--
Our newest site for the community:
Why are you validating within a model?
On Oct 10, 3:26 pm, taqman filler taqman...@gmail.com wrote:
I need to fix it
2011/10/10 euromark dereurom...@googlemail.com:
so what exactly do you want from us?^^
On 10 Okt., 14:53, taqman filler taqman...@gmail.com wrote:
but flash
.
somehow i cannot catch that error!
On Oct 10, 8:58 am, WebbedIT p...@webbedit.co.uk wrote:
Model::save returns true or false and if it returns false the error
array is available in the model and view as $this-ModelName-
invalidFields() and $this-validationErrors respectively
Model associations are just an extension a properly normalised
database so if you have those tables in your database then each one
needs a model and you use associations to link those models together
in the appropriate manner.
This is fundamental stuff and is all explained in the book, I suggest
You would need to use MySQL's COUNT() and GROUP BY functions to
achieve that at a database level.
HTH, Paul.
On Oct 7, 11:27 am, Xoubaman xouba...@gmail.com wrote:
Missclicked publish when writing ¬¬
The point is get the desired array without looping through the entire first
array.
Maybe
Need to see your code to help you.
HTH, Paul.
On Oct 5, 3:08 pm, 8vius lmd...@gmail.com wrote:
I managed to do what I wanted but I ran into another problem. I was
able to do my join properly just using the joins option in the find
method, but to make it work I had to unbind the User model,
Maybe showing us the code u are using would give us an idea on how to
help.
On Oct 4, 4:42 pm, darkwolf ranbo2...@gmail.com wrote:
Hello EveryBody, I'm developing a web application with cakephp and
mysql. I have a CSV file that i'm using for compare every registry
with the Database, I need to
AJAX is Javascript and jquery is to Javascript what CakePHP is to PHP,
i.e. your framework, so why would you want to achieve this without
using jquery?
Paul
On Oct 4, 10:06 am, heohni heidi.anselstet...@consultingteam.de
wrote:
Hi,
yes I thought about this poss. But I thought I could find a
Have you checked the image exists at the path?
On Oct 5, 3:55 pm, taqman filler taqman...@gmail.com wrote:
when run page star image not found
and when click it I got internal server error
thank
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out
1 - 100 of 927 matches
Mail list logo