much
Claudia
--
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, send email to
cake-php+unsubscr
are loaded before the
controllers, but I am not sure.
I use Cake 1.2.0.5427alpha
Good luck
Claudia
On Sep 17, 2:28 am, cem [EMAIL PROTECTED] wrote:
Hi ;
I am reading the localization article in the cakePHP . And in that
article it says that I have to include the uses('L10n'); in the
controllers
.
Cake version is 1.2.0.5427alpha
Claudia
On Sep 10, 4:32 am, Daniel [EMAIL PROTECTED] wrote:
Hello everyone,
I'm trying to perform a find operation on my 'event' model in order to
retrieve events that fall within a specific date range. I've read
the manual on the process to do complex find
Hi there
Most likely this means that your PHP does not have the postgres
library installed.
You can check that quickly checking the information returned by
phpinfo(),
if postgres is enabled there should be a block with some information
about it.
Claudia
On Aug 29, 4:57 pm, phanorcoll [EMAIL
anyway, this does not matter.
When you request any cake url like http://localhost/foo, the rewrite
condition evaluates to true
(as the directory foo is neither a directory nor a file) and thus the
rewrite rule is applied.
Hope it helps you understand what was actually going on.
Claudia
On Jul
That sounds good - thank you.
Claudia
On Mar 4, 6:34 pm, Christian Winther [EMAIL PROTECTED] wrote:
Hello,
I believe that the code is in the file to make sure that Components ect. are
run even if the page is cached (Might be useful for auth amongst many things).
https://trac.cakephp.org
the model with $this-User
and then you call the function on the model:
$this-User-MYFUNC()
If that does not work for you, post some code.
Claudia
On Mar 4, 6:09 am, yohann305 [EMAIL PROTECTED] wrote:
hey poeple,
this is the first time i ask something in here.
neway, here is the deal.
I'm
my question(s):
What is the purpose the PHP part of the cache file?
In case the PHP part is not really necessary, is there a way to tell
Cake to cache only the output of the view, without adding the PHP
stuff?
I use Cake 1.2.0.5427alpha
Thank you
Claudia
Check whether you named the class correctly and whether the
permissions of the file are ok.
Claudia
On Feb 22, 10:16 am, Comida411 [EMAIL PROTECTED] wrote:
I am getting the following error...
Missing Controller
Error: AccountsController could not be found.
Error: Create the class
I am not sure whether this will bring the desired result but have a
look at the union operator
http://lu.php.net/manual/en/language.operators.array.php
Good luck
Claudia
On Feb 7, 4:07 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
This is not strictly a CakePHP question but I hope that is OK
fine in Windows because Windows usually does not care
about permissions.
Claudia
On Jan 23, 8:56 am, Nil [EMAIL PROTECTED] wrote:
Hi,
I am trying to run my Cakephp script on ubuntu but when I give URL
for my script then following error message is display.
Warning: require(cake/config
that makes
the query
and returns the result. Then use this method in your component.
Claudia
Claudia
On Jan 23, 9:30 am, Louie Miranda [EMAIL PROTECTED] wrote:
Am i wrong?
On Jan 23, 2008 1:37 PM, Louie Miranda [EMAIL PROTECTED] wrote:
I am trying to query some table on a component
The form submits to whatever you supply in the action attribute of the
form tag.
So simply include the parameters in the url of the action attribute.
Claudia
On Jan 23, 9:09 am, bob [EMAIL PROTECTED] wrote:
if i have the url as follows
localhost/controller/action/param1/param2
and i also
a group by -
grouping by one column when selecting multiple columns often yields
arbitrary results.
Good luck
Claudia
On Jan 20, 11:10 pm, cronet [EMAIL PROTECTED] wrote:
Hi,
I'm siting here for about 2 hours and get it not work. I need a simple
group by in an association.
This is in my
for the order part.
I know that I can write the SQL statement manually and then use $model-
query() But I would rather use as much cake as possible.
Thanks for any tips
Claudia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi there
I don't know whether there is a packager/minifier for Cake1.1.
Nevertheless have a look here:
http://www.ejeliot.com/blog/72
This should be pretty easy to adapt to Cake 1.1.
Good luck
Claudia
On Nov 19, 4:54 pm, keymaster [EMAIL PROTECTED] wrote:
Does anyone know of any packager
Claudia
On Nov 6, 10:09 am, AD7six [EMAIL PROTECTED] wrote:
On Nov 5, 4:33 pm, Claudia [EMAIL PROTECTED] wrote:
Hi there
I have three models that are chained with belongsTo in one direction
and hasMany in the other direction:
Model1 belongsTo Model2 belongsTo Model3
and
Model3
:
https://trac.cakephp.org/ticket/2931
Any tips on how to solve this?
I use Cake 1.2.0.5427alpha.
Claudia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake
in this case you
can't have users with the same name as these controllers.
Claudia
On Oct 31, 6:27 pm, MrTufty [EMAIL PROTECTED] wrote:
All things are possible with CakePHP. Well, almost - it won't make
your dinner for you or anything.
You need to look into custom routes, which you can set up
Maybe this helps?
http://groups.google.com/group/cake-php/browse_thread/thread/eacfade1d52c9071/f5e3c395037043b3
Good luck
Claudia
On Oct 31, 11:35 am, Daivat [EMAIL PROTECTED] wrote:
Hi,
I have one major problem for that i am not getting the proper
solution.
I need to use two different
');
}
if ($return === false) {
echo I18n::translate($singular, $plural, 'default', 5, $count);
}
else {
return I18n::translate($singular, $plural, 'default', 5, $count);
}
}
/code
Hope it helps
Claudia
On Oct 27, 11:16 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I have submitted
In case someone else searches for it:
Adding the line
$this-Acl-startup($this);
before the call to $this-Acl-check seems to work fine.
Claudia
On Sep 21, 10:03 pm, 2000Man [EMAIL PROTECTED] wrote:
What was the final solution to this problem (putting
parent::beforeFilter(); as first line
function or first create the translation
string and then use the result in the html-image call.
Claudia
On Oct 15, 9:41 am, william [EMAIL PROTECTED] wrote:
Hello all,
When I run these code in cake\libs\view\templates\layouts\default.ctp
?php echo $html-image('cake.power.png',
array('alt
if you
translate short phrases it is sometimes difficult to get the supposed
meaning without knowing any context.
Thanks for any tips
Claudia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
(without having to set any cache headers or so).
Maybe you could post the relevant part of your controller?
Claudia
Jon Hinson wrote:
I'm not sure what the nocache trick is. I tried sticking META Http-
Equiv=Pragma Content=no-cache in my head, adding the hidden
field with a random value
whether doing this is a
good idea.
I'll report a bug about this - let's see what the gurus say.
Claudia
On Sep 5, 10:39 am, thequietlab [EMAIL PROTECTED] wrote:
can someone do me a favor and try it ? I'd like to know if this is a
cake bug or I'm doing something wrong.
Thanks,
Andrzej
Hi there
The sourcecode of dbo_adodb.php seems to imply that you specify only
'adodb' as driver
and 'mysql' in the parameter 'connect' - maybe you should try this.
Claudia
On Sep 20, 8:39 am, Brent Rieck [EMAIL PROTECTED] wrote:
Hello,
I'm new to Cake and have a question about how to use
is why I have set the debug level to 0) but all error messages
are logged in a logfile.
I use cake 1.2
Thanks for any tips
Claudia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group
to log additional information for any error so
having a custom error handler would be nice.
Claudia
On Sep 18, 3:00 pm, Marcus T. Jaschen [EMAIL PROTECTED] wrote:
Claudia wrote:
Hi there
How can I log any notice/warning/error thrown by php?
PHP (not CakePHP) warnings and errors can be logged
Thank you for your answers.
Using 'default' = value in the array does not work,
it looks like this is not used for selectboxes
I'll just set the default value in the controller.
Claudia
On Sep 17, 1:00 am, Grant Cox [EMAIL PROTECTED] wrote:
Instead of forcing a selected item in the view
the selectboxes are still set to the default value,
not to the value set in $this-data.
As a quick workaround I have changed the code in FormHelper::select
but I am wondering whether I am just missing the correct way to use
the select helper.
I use Cake 1.2
Thanks for any tips
Claudia
there?
I am using cake 1.2.
Thanks for any hints
Claudia
--~--~-~--~~~---~--~~
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
I messed
something up here. As the same setup is working for you
the problem is most likely caused by my fiddling
(although the other queries appear just fine).
I'll check it out and post again if the same happens with
default sql logging.
Claudia
fields. You
could of course add some checks to verify the integrity of the form
but this can get
complicated really quick.
Claudia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group
Hi Sunny
You are using typographical apostrophes instead of normal single
quotes.
Just replace them by normal quotation marks and it should work.
Claudia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP
Stupid me - I actually checked the api but by mistake I checked
version 1.1
which does not have the 'full' parameter yet.
Thanks a lot for your help.
Claudia
On Aug 23, 8:38 am, R. Rajesh Jeba Anbiah
[EMAIL PROTECTED] wrote:
On Aug 22, 8:25 pm, Claudia [EMAIL PROTECTED] wrote: I am facing
to validate only a few fields whereas another
time I would like to validate all fields. This could be easily
achieved if it is possible to tell Cake which fields to validate.
I am using Cake 1.2
Thanks
Claudia
--~--~-~--~~~---~--~~
You received this message because
://' . $_SERVER['SERVER_NAME']
manually but as said in the previous post this seems to be not very
Cake-ish.
I know that I could always write my own helper that extends the
HTMLHelper::url functionality
but first I want to make sure that the functionality is not there
already.
Thanks
Claudia
Thanks, I did not see this constant before. This saves me typing the
http://
But I still would need to prepend it to the HTMLHelper::url call
which is not very nice.
So it looks a custom helper is really the way to go.
Thanks
Claudia
On Aug 22, 6:29 pm, majna [EMAIL PROTECTED] wrote:
maybe
Hi there
as far as I know you cannot set the value attribute of a file
attribute as this would pose quite a security issue (after all you
could upload arbitrary files without letting the user know).
More info here:
http://www.cs.tut.fi/~jkorpela/forms/file.html#value
Claudia
that there is a way without hacking core cake files.
Any tips?
Thanks
Claudia
--~--~-~--~~~---~--~~
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
Thanks a lot - that was exactly what I needed.
Claudia
--~--~-~--~~~---~--~~
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
. With other views I
would use the corresponding controller to do this but I don't know how
to do this with the default.thtml.
Thanks
Claudia
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
in a controller for a view might work, but
unless I misunderstand
the suggestion this would mean setting the variable in _every_
controller as I want to have
the template variable always.
Thanks a lot for your help
Claudia
--~--~-~--~~~---~--~~
You received this message
44 matches
Mail list logo