Thanks ralph!
I made a ticket for it on Trac!
Hope they take it.
greets
felle42
--~--~-~--~~~---~--~~
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
Thanks for the help :)
--~--~-~--~~~---~--~~
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]
I handle it the same way Grant says here, and it seems to work fairly
well. It certainly gives the option for a lot more flexibility.
In fact, I use beforeValidate for all my validation now, even the stuff
that Cake can handle anyway - just to keep it all in the same place.
Maybe your server ip is listed as open relay, open formmail, dynamic IP
range or spam originator. You can search for listings on most realtime
blackhole lists at http://moensted.dk/spam/ or
http://www.robtex.com/rbls.html
Additionally certain characteristics rise the spam score. Lots of links
Thanks for your help.. That's what I needed! :)... kind regards
--~--~-~--~~~---~--~~
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
Hi.
How can i know the recursive level used in a find...() call in the
afterFind() callback?
What i want is to do some processing only if the recursive level is greater
than zero. $this-recursive always gives me the default value, no matter
what value i pass in findAll() (for example).
How
Well, since you proposed a code solution, I would be surprised if they
reject it. If your code works, and it doesn't break anything, then
they've resolved a problem very quickly.
Regards,
Ralph
--~--~-~--~~~---~--~~
You received this message because you are
Ok, I will check this.
Can anyone recommend another solution for generating graphs? (Output
should be (PNG|GIF|JPG) -- no SWF/SVG -- and it should work together
with CakePHP ... ;-))
Marcus
--~--~-~--~~~---~--~~
You received this message because you are
I once tested Pear Image_Graph : http://pear.php.net/package/Image_Graph/
As for 'should work with CakePHP' ... I think you can plug any library
you want into Cake ?
On 7/26/06, Marcus [EMAIL PROTECTED] wrote:
Ok, I will check this.
Can anyone recommend another solution for generating
Hello.
Can't get how to describe in CakePHP following model:
There's a list of SPECIALITIES in institute:
Model: Speciality
id
name
Also, there's a list of STUDY YEARS (1st,2nd etc.)
Model: Year
id
name
And, at last, there's a list of LECTURES:
Model:Lecture
id
name
Everything is clear and
You could also pass the session id in the querystring to the new domain
and restore the session data from there. This should work across
domains as well (assuming there's a shared storage of the session
data).
Clayton Smith wrote:
Maybe you could try what is posted here?
Hi there,
also not directly related to CakePHP development, I just opened a
flickr group for screenshots of websites that are developed with the
help of CakePHP.
So, let's see, what you built!
Thanks,
Dirk
--~--~-~--~~~---~--~~
You received this message
The URL?
On 7/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi there,
also not directly related to CakePHP development, I just opened a
flickr group for screenshots of websites that are developed with the
help of CakePHP.
So, let's see, what you built!
Thanks,
Dirk
--
Sorry for the SPAM. I'm looking to base a prototype on CakePHP and am
looking for a good CakePHP developer. If you know of someone who may be
interested, please let them know about this posting.
Thanks in advance!
Prototype Info:
I'm looking for someone who is really passionate about writing
Uh. Stupid me...
http://flickr.com/groups/cakephp/
And if you use last.fm to share your taste of music, look out for:
http://www.last.fm/group/CakePHP
Thanks,
Dirk
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Geoffrey,
I don't have loads of free time but am always open to work. How can I contact
you? IRC? Email? Phone?
~rpeterson
Sorry for the SPAM. I'm looking to base a prototype on CakePHP and am
looking for a good CakePHP developer. If you know of someone who may be
interested, please let them
geoffrey [at] bedl [dot] am
IM: djhomeless [at] jabber [dot] cz
Thanks for your interest!
Geoffrey
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Hi!
If i made class photo i've got error table photos not found. But i
don't want use this table in this model. I know - var $useTable =
false; but i want use in this model few others tables.
What i've to do?
And second question:
i've many queries like this DESC `photos`. How to turn off this?
I'm starting a new application and I'm trying to figure out if Cake
will help or hinder my development. I ask this because the CRUD forms
I will need are not based on the table schema, but on a virtual schema
stored in the tables. The attributes to collect for each item type is
defined in a
thanks AD7six, im going to look into these methods today,
foregoing subdomains i guess what i really want to accomplish is this:
http://www.example.com/blogname/
- would use the blogs controller
http://www.example.com/invalidblogname/
-returns error (no such blog)
i wonder also if i could make cake think that
http://www.example.com/blogname/
was a plugin and then just reuse is for varying namesknow what i
mean?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP
I would like to use a session stored Username on various pages
The answer to your question in in that sentence: use the Session
component. So, in your controller somewhere, (probably at login), do
$this-Session-write('username', $username)
Then in your view:
i get this error:
Notice: Undefined property: autoLayout in
/Library/WebServer/Documents/cake/cake/dispatcher.php on line 205
Warning: Invalid argument supplied for foreach() in
/Library/WebServer/Documents/cake/cake/dispatcher.php on line 286
Fatal error: Call to a member function on a
Ok, I realized that the validate() method should really be the
following:
if ( $this - User - validates ( $this - data ) )
Program execution is entering the if statements as it should, but the
tagErrorMsg's are still not being displayed.
Thanks,
Devo
Also, I realized that I was missing an else:
if ( $this - User - validates ( $this - data ) )
{
// OK, good to go
}
else
{
$this-set( 'data', $this-params['data'] );
$this-validateErrors( $this-User );
$this-render();
}
But still no tagErrorMsg's.
Does anyone know if there's a way to share the same view between
different controllers and controller actions? Or a good reason not to
have common views?
Some of my controller actions output generic structured data. I would
like to assign a view that is shared across my app, and not bound to a
$this-render(null,$layout);
might work
http://api.cakephp.org/class_controller.html#c89d96ba75d5acfafaee61476a575353
On 7/26/06, admataz [EMAIL PROTECTED] wrote:
Does anyone know if there's a way to share the same view between
different controllers and controller actions? Or a good reason
sorry
$this-render(null, null, $file);
On 7/26/06, Samuel DeVore [EMAIL PROTECTED] wrote:
$this-render(null,$layout);
might work
http://api.cakephp.org/class_controller.html#c89d96ba75d5acfafaee61476a575353
On 7/26/06, admataz [EMAIL PROTECTED] wrote:
Does anyone know if there's a
how about elements?
--~--~-~--~~~---~--~~
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
Hey i want to add multiple values of the same type to my database.
like this:
input name=data[Price][value][]
input name=data[Price][value][]
input name=data[Price][value][]
input name=data[Price][value][]
My question is, can i achieve this with the following html helper tags?
When I'm finished using the File Class in Cake, do I need to close the
file I'm
working with, or does cake do that for me? I don't see a function to
close.
This question also applies to other classes that access resources that
I need to close.
Thanks
Sometimes, also, it helps to make sure the from address host matches
the host that's sending the email, so perhaps instead of having a
custom from address you could use '[EMAIL PROTECTED]' and
have the custom address as a reply-to.
--~--~-~--~~~---~--~~
You
Hi Id like to install cake and app directories in the default places
but have another folder - sites at the same level as those two which
contains site1,site2,.. if I point my site at mysite.com/site1 OR
mysite.com/site2 etc I want to see exactly what I would see for
mysite.com.
so,
Sheeesh, the problem was that I had lower-case model names in my
tagErrorMsg's. Changed to upper case and simple validation is working
great.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
Thanks for that...
What about if my view is a rendered element that doesn't belong to any
particular controller?
eg I have a header element that is included in all views accross
several models and controllers.
--~--~-~--~~~---~--~~
You received this message
Have you tried using explode/implode to store your cb data?
--~--~-~--~~~---~--~~
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
Along with actually finding a minute to take a look at the validates()
code, your replies have helped me get my head around this, so thanks. I
guess I was thinking that there was some Cake magic going on.
I thought that maybe validates() was meant to used along with
invalidate() to set and get
is my question net clearly or does nobody know what to do?!
--~--~-~--~~~---~--~~
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
Hi All,
I am making some testing (maybe I will post something later) and I
found out that the stop() of the Ajax.PeriodicalUpdater does not work
as I expected.
Looking to the code I can see that :
stop: function() {
this.updater.onComplete = undefined;
clearTimeout(this.timer);
I had the same problems, but followed this topic and got it working:
http://groups.google.com/group/cake-php/browse_thread/thread/e51e10b1b1cb3224/7c079137faa9259e?lnk=gstq=autocompleternum=1#7c079137faa9259eIn terms of not getting a clue to what is going on, here's what I did:
In firefox, I found
I was wondering how the following is accomplished:
I have a static table view that's displayed in all my pages that's
pulling data from one of the models I've created. I was wondering what
the best way to solve this problem is.
I first attacked the problem by including the model in the $uses
Hi, I been working in some data validation, and my code
works fine when I try to add a new entry in my database table
(when I try to save an empty record) BUT, I try to do the same
thing when I want to edit an entry of my database table.
- If I change the old content with a new content works
One way to do it is create a menu controller.
Then use requestAction from an element to get the data.
Then you can use $this-renderElement('menu'); in your views/layouts
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I don't think that it's a sql problem
the value for td?php echo $id; ?/td
disappears when I put an empty value on:
td?php echo $html-input('Tipologia/name', array('size' = '30',
'maxlength'='100'))?br
?php echo $html-tagErrorMsg('Tipologia/name', '* Blank
Field')?/td
It is crazy, but I think it will work well for this application, thank
god it does not have to server 1m pages a day or anything.
I dumbed down my exmaples a bit in hopes to be able to describe what is
happening, the names are cake friendly and the keys are all done
correctly.
Adding methods to
I did this in my application recently. I created a 'CommonController',
defined actions / views for that, and redirected the user to these
common pages when applicable.
For instance, I had an edit function for several different models. For
a success, I redirect to common/success. Seems to
I'm not trying to make this flamebait or anything, but I was wondering
if anyone had done any real performance comparisons between Cake and
Rails? I have used Cake and do like it. I've also used Code Igniter
and I really liked it emphasis on being lightweight and fast, but it
does not support
Hi - I'm using this for remote requests...
echo $ajax-link('View', /projects/view_project_mini/$tmp_id,
array('update' = $update,
'complete' = new Effect.BlindDown('$update');
));
I would like to include a 'Close' link
I've searched around looking for HABTM saving solutions, but for the
last few days I can't seem to get this working...
For my blog, I already had Posts and Comments set up with
controller logic and model associations for Posts has many comments.
I wanted to make it so one comments table could
Well i figured out why cake was trying to query from a table that
doesn't exist. But it's unrelated to my HABTM issue. The query
debugging info now looks like this:
2 queries took 0 ms Nr Query Error AffectedNum. rows Took
(ms)
1 SELECT id FROM comments ORDER BY id DESC
Would anyone mind telling me how easy it is to set cake up on a shared
server.
I know my ISP has all the right software and versions of PHP,
MySQL..but I dont have shell access.
Is this a problem?
Any advice would be much appreciated.
Thanks,
Tim
I'm just looking to get the bare minimum set up working.
I am really hoping to get the basics working and develop the site as i
learn more php but I'm not getting very far yet. I suspect my problem
is no SSH access to my ISP's server.
I know its a pretty vaque request but does anyone know how
I was wondering if any of you had any suggestions on the following:
I have a form that I want to display different error messages per
parameter depending on what happened in the backend. For example, for
a particular recipe, if the name is taken I want to say... 'recipe name
exists', but if
Thanks Gwoo... works like a charm. Is this on the wiki anywhere? I
wouldn't know what to search the wiki for, otherwise I can write an
entry. :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To
Very easy - it's unlikely that you need anything modified in the server
setup, particularly for a shared host. If you do have problems, get on
the #cakephp IRC group and ask.
Generally all you need to do is extract the cake archive to your
document root, and modify the app/core/config.php.
As mentioned in your other thread (try to keep to just one, please),
it's quite easy, and shell access is not required.
Get on the #cakephp IRC group if you have any problems, they're all
very helpful there.
--~--~-~--~~~---~--~~
You received this message
Thanks Grant.
I didn't realize they didn't have to be model parameters. :) Thanks
for the tip.
I still don't like having all those tagErrorMsg, so I guess I'll take a
look @ the wiki.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Well, if you just want to use routes, how about:
$Route-connect('/site1/:controller/:action/*', array('site_config' =
'site1'));
$Route-connect('/site2/:controller/:action/*', array('site_config' =
'site2'));
And then in your app/app_controller.php you could have a beforeFilter
to set the
Hi sclough,
first of all, I can't answer your question about what framework is
faster, but I think
that is a hard thing to determine anyway. Because how do you make a
test that
measures speed across different scripting languages on different server
environments,
that is fair to all of them? I
Thanks, Felix, you're right it's an incredibly complex question,
especially with rails where you can host it under mod_ruby, fastcgi,
lighthttpd with fastcgi, mongrel, etc. I guess I was just wondering if
someone had some some benchmarking similar to what Zed with with
Symphony/rails/Django to
I'm actually using that technique in a couple elements right now.
Elements are rendered by the view, so variables from your view are
accessible, including $this-controller. Incidentally, this is why
elements can reference helpers, too.
379 the manifesto wrote:
Thanks for that...
What about if
Hi,
I have page for example
/article/details/{number} where users can add link in a simple form
which has tagErrorMsg.
form has an action to method /article/addlink/, which just *validates*
and adds the link, then redirects to /article/details/{number}.
The problem: if validation fails, after
Here is what I am currently thinking about doing (maybe someone has
already done it or tried). I am just looking for some feedback on this.So the ultimate goal is to get rid of the pages or posts part of the url
http://example.com/pages/home, without having to specify a new route definition for
63 matches
Mail list logo