Hi Dear Members,
FOLLOWING R THE NEW JOBS OF THE DAY :
Marketing Executives
international IT recruiter
overseas jobs in singapore,russia,
overseas jobs in u.k., australia
PCB Design engineer
Looking for .Net professionals
Marketing Executive
Data Entry Operator
Requirement of Clerical
Looks like someone already started a Yahoo UI helper:
https://cakeforge.org/plugins/scmsvn/viewcvs.php/app/views/helpers/yahoo_ui.php?rev=2root=yahoouihelperview=log
Thanks, will take a look... looks like a good start.
-ad
On 06/07/06, nate [EMAIL PROTECTED] wrote:
Looks like someone
An usual reply to that kind of question is : the best tool is the one
you best know. In my case, Eclipse (and his embedded CVS client) +
PHPEclipse + Subclipse (SVN client) if necessary + JSEclipse for
javascript files is a perfect dev environnement. It's really worth
spending a few hours on
hi kiterminal
I had this problem too, with Apache 1.3.3 / WinXP (EasyPHP setup)
It wasn't annoying me too much until I read your message...
The solution I found is to write this in the first .htaccess file (the
one in the root of the cake install) :
IfModule mod_rewrite.c
RewriteEngine on
Hi
I am working on my first CakePHP website which allows a user to
register and list boats for sale.
I have been looking into CakePHP's ACL and think it would be best to
dive in at the deep end and get to grips with how I can use it to help
me in this and future projects.
I have the following
Accounts (users)
--- etc
--- etc
Ignore this bit -- I nested a few example AROs for users under the
group AROs
;D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this
I use PHPEclipse and I've set it up so I can run the bake.php script in
one of the console windows, which is very convenient.
I setup this up in External Tools with the following settings:
Location: c:\php4\cli\php.exe
Working Directory: ${project_loc}\cake\scripts\
Arguments: bake.php
Someone
nate wrote:
If Artwork belongsTo Artist, then reciprocally, Artist should hasMany
(haveMany?) Artwork. Then, you can do the find on $this-Artist
instead.
Yes, Artist hasMany Artwork, so are you saying I can do:
$this-Artist-findAllByCategory('xxx',null,'Artist.sortorder ASC')
???
And it
Hi all,
Im using the form helpers generateDateTime function to allow user to
enter date/time. However, when I call save() in my controller, the
record is saved but the date field is not saved at all. How should I be
using generateDateTime so that it saves correctly?
Thanks!
use this before the save();$this-cleanUpFields();-- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut* @accesspublic
*/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
gwoo,If I had the experience at setting something like that up I would. I was merely saying it be nice. I have no probs using eclipse with phpeclipse plugin.to all: It is interesting to see who is using which editor. I will have to look into some of the other plugins for eclipse that have been
I tried both, same problem. Is there anything else you know of?
--~--~-~--~~~---~--~~
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
That should work.Is your database field datetime or date?Add your full controller code, model and sql table here http://cakephp.org/pastes/add Then send the url generated back to the list.
-- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut*
Its datetime.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more
this is the error i get:
Notice: Undefined property: Soggettus in
[...]cake/libs/controller/scaffold.php on line 399
well, i think that the problem could be that i use italian classname,
or because i use postgres.
Where can i specify that the model name is not Soggettus but Soggetti?
Hmm, speaking language... why use a plural for a model name when it should be singular? Isn't soggettus the singular for soggetti? So I would expect the model class to be Soggettus and the controller to be SoggettiContoller. I know, not a solution for your question, just... uno che ha fatto il
I came to PHP from .NET, so I can say with relative confidence that
.NET is dumb. Since Prado is based on .NET, I can only infer that
Prado is also dumb. Whether or not Prado is actually dumb, I have no
idea, because I've never used it.
So now why are we trying to do this?
Hi there.
Here's my problem: i want to log events from my app to the database. For
each event i want to log the date/time of the event, the user (stored in
the session) and the event itself (a string).
I would like to be able to log events from within controllers (in normal
actions) and from
For those of you who are netvibes users, I've created a Tab containing
most of the items on the cakeNews site (I couldn't get the Trac feed
working) - so you can have all of the info available from within your
netvibes page.
Here's the link to subscribe:
On 7/6/06, Gonçalo Marrafa [EMAIL PROTECTED] wrote:
Hi there.
Here's my problem: i want to log events from my app to the database. For
each event i want to log the date/time of the event, the user (stored in
the session) and the event itself (a string).
I would like to be able to log
do you have to log to a DB? because there's a $this-log() method
available to all that writes out to a log file.
Yes. It has to be to a DB.
alternatively, and there's a little bit of duplication here, create a
writeLog method in both your app_model and app_controller, then you
can
The Aro records are not actually a part of the heirarchy of your users.
The Aro's sit in a tree that defines a given set of permissions for
each node in the tree. You can link one or more users to the given
tree node, so that they take on the permissions of that node.
The identification system
How does one get the error message when trying to save data to the
database?
This is the edit form. When I try to save it comes back to the form but
there are no error message on the page.
?php echo $html-formTag('/admin/edituser')?
?php echo $html-hidden('user/id'); ?
pFirst Name: ?php
Okay, you're talking about validation rules. The messages in
tagErrorMsg are only triggered if you define validation rules for those
fields, and the data that you attempt to save doesn't meet the
validation criteria.
If you're talking about a database error when saving, you can check the
return
That's interesting about Dojo. What other transport methods does it
support? You have to keep in mind though, that Cake is oriented
towards browser-based applications, which automatically constrains your
thinking in many respects, one of which is the use of XHR as the
transport mechanism
Is there an overall error object that can be used to get the last error that was generated?I think the problem I am having is that I am using validation rules on a model that does not have them defined so it simply reloads the page with no visible errors.
--RyanOn 7/6/06, nate [EMAIL PROTECTED]
I have no .NET experience whatsoever.Can you explain (just a little bit) why .NET is dumb?I have no doubt that it is, but it is working for some people. I just want to know where you think .NET is failing and what CakePHP/MVC has over it.
Not being confrontational, just curious.On 7/6/06, nate
Thanks for the easyeclipse.org link.Anyone have experience with the EasyEclipse for Rails packages?Do they offer anything that is helpful to you with Rails development that would be cool to have in Cake development?
--~--~-~--~~~---~--~~
You received this message
I know of someone that is using RadRails which is nothing more than eclipse with a few ruby plugins.He seems to like it and it does what he needs. He is only using it for editing of files.I commented on how this would be nice to have for cake but I do not have the skills to implement a cake
Allow me to clarify. .NET is *not* dumb if you're doing traditional,
Windows-based desktop applications, or mobile apps for Windows CE. For
those things, .NET is actually pretty decent.
Unfortunately, the application model that .NET employs does not
directly translate to the web. Microsoft
I commented on how this would be nice to have for cake but I do not have the
skills to implement a cake specific environment on eclipse.
I think gwoo was kidding ;-)
Anyway, I wouldn't worry about it. If community support for it
is/becomes strong enough, it'll happen one way or another.
Scott Sharkey wrote:
nate wrote:
If Artwork belongsTo Artist, then reciprocally, Artist should hasMany
(haveMany?) Artwork. Then, you can do the find on $this-Artist
instead.
Yes, Artist hasMany Artwork, so are you saying I can do:
Hi All,
I'd welcome help ensuring that all the ajax links generated by the
pagination update effort work http://www.noswad.me.uk/pagination/
Any comments?
Cheers,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Oh, sorry, I missed that.
Try $this-Artist-Artwork-findAllByCategory('xxx', array('DISTINCT
Artist.id', 'other', 'fields', 'here'), 'Artist.sortorder ASC'));
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
I was a long-time user of Dreamweaver (in code-view, mainly for
code-completion and syntax highlighting) until I discovered TextMate
about a year ago.
I also use the Cake.bundle by sdevore. It totally rocks my world and
saves me so much time with the ability of setting up snippets for
anything I
On Jul 6, 2006, at 2:43 PM, Poncho wrote:
I was a long-time user of Dreamweaver (in code-view, mainly for
code-completion and syntax highlighting) until I discovered TextMate
about a year ago.
I also use the Cake.bundle by sdevore. It totally rocks my world and
saves me so much time with
John David Anderson (_psychic_) wrote:
On Jul 6, 2006, at 2:43 PM, Poncho wrote:
I was a long-time user of Dreamweaver (in code-view, mainly for
code-completion and syntax highlighting) until I discovered TextMate
about a year ago.
I also use the Cake.bundle by sdevore. It totally
nate wrote:
Oh, sorry, I missed that.
Try $this-Artist-Artwork-findAllByCategory('xxx', array('DISTINCT
Artist.id', 'other', 'fields', 'here'), 'Artist.sortorder ASC'));
Nate: that works, sorta grin. Thanks. If I pull in a Related field
(like Artwork.filename) it duplicates all over
I'm only guessing here but do you have the Session component loaded
into your AppController?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Firstly, thank you for your reply.
nate wrote:
The Aro records are not actually a part of the heirarchy of your users.
The Aro's sit in a tree that defines a given set of permissions for
each node in the tree. You can link one or more users to the given
tree node, so that they take on the
Got it sorted, thanks so much for your help. Im so stupid, typo had
named field wrong!
--~--~-~--~~~---~--~~
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
@Gonçalo: Could you please reply here when you come up with a solution
as I need to do exactly the same thing.
Thanks mate,
Ryno
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this
@AD7six
I think I misunderstood the way it was intended to function.
What I was expecting it to do was if the $scaffold was defined, the
actions would be ignored and a scaffold would be generated to the view
instead of the action.
From your comment and some more testing I realize that the
Well, if your Company/location field already has a value then it will
prepopulate (so you don't need anything in the htmlAttributes array).
But if you want to override this (or there is no existing value), then
you can force a value by using:
?=$html-radio('Post/location', array('Foreign' =
or
?=$html-radio('Modelname/status', array('myvalue'='Radio Label',
'myothervalue'='Other Label'), 'br', array('value'='myvalue') );?
if you want to force the first one being checked (regardless of the
model data).
--~--~-~--~~~---~--~~
You received this
Hi Poncho
Thanks for the suggestion. I have tried that, but it make no difference.
Regards,
Langdon
Poncho wrote:
I'm only guessing here but do you have the Session component loaded
into your AppController?
--~--~-~--~~~---~--~~
You received this message
Hi,
I've been searching all things CakePHP for the last few hours and have
hopefully found out what I need to for Admin routing e.g.
/admin/posts/add but it was hard because of all the different advice
e.g. CAKE_ADMIN or use routes?
It would be great if a definitive section on Admin routing
check out address for subversion is http://macromates.com/svn/Bundles/trunk/Bundles/CAKE.tmbundlecomments and ideas welcome :)Sam D
On 7/6/06, Poncho [EMAIL PROTECTED] wrote:
John David Anderson (_psychic_) wrote: On Jul 6, 2006, at 2:43 PM, Poncho wrote: I was a long-time user of Dreamweaver
It just occurred to me that I've left a serious security hole in my
recent cake apps. By blindly using $this-params['data'] in my save,
I'm leaving a hole for users to change whatever fields they want to. I
want to remind people about the potential for this, and see if the
group has a more
Hey Chris,
I think you've got a good point there. One solution I could think of is
to do something like this:
class PostsController extends AppController
{
var $name = 'Posts';
function update()
{
$post = $this-__limitFields($this-data['Post'],
array('text',
50 matches
Mail list logo