try 'javascript' instead of 'Javascript'
--~--~-~--~~~---~--~~
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
No, you should put var $helpers (notice the 's') on your code. And keep the
'Javascript'.
On 12/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
try 'javascript' instead of 'Javascript'
--
Adrian Godong
[EMAIL PROTECTED]
Microsoft Student Ambassador
Hi Mariano
Thanks for the suggestion
You should not use models from your AppController. If you need model
logic set it as a component and use the component from AppController.
I will leave this debate to more you and Gwoo!
Check this post:
Hi Gwoo
I dont know who recommends not using models in AppController, nor do i
know who recommends using models in components. In fact, I would do the
exact opposite. You create too many dependencies when you try to put a
model in a component. Components should be interchangeable between
Hi Marcin,
Thanks for your answer, but it doesn't work for me :|
Let me explain in more detail what I try to accomplish.
I want to have urls like mydomain.com/username1 and
mydomain.com/username2. When requesting such a url a certain action in
the UsersController should be called. That's no
Thanks Adrian. s
Big S
--~--~-~--~~~---~--~~
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
Hi Daniel,
If I now understand what you are asking, you need something like this:
Router::connect('/users/:action/', array('controller' ='users',
'action' = 'rate'));
Where :action is the placeholder and the bit in the array is the
default. if the default is 'index' you don´t need to do
Hi all of you,
Thank you for your explanations and you contributions to this debate. I
think I will separate my model in two ones on the same table, I think
this will fix this problem.
Sten
--~--~-~--~~~---~--~~
You received this message because you are
Hi AD7six,
Thanks for the tip, Router::connect('/users/:action/*',
array('controller' = 'users')); is exactly what I was looking for.
--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
http://start.gotapi.com/
note cake has a place here, actually a nice way to search the api.
Sam D
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
--~--~-~--~~~---~--~~
You received this message because you are
Thanks I could solve my problem which happens was that I used #
$$irregularPlural= array('tipo_novedad' = ' tipo_novedades') and did
not work to me so that when it called to singularize towards with
TipoNovedad for that reason I had to add this # $$singularRules=
array('/(TipoNovedad)eß/í = ' \1
This last operation did no change.
Sten
--~--~-~--~~~---~--~~
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
yea, the ACL mode is not working at the moment, I did some tests with
it and decided it will be operational in an upcomming version ( maybe
1.0 ), there is a base code there only
Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed
is that version 0.2 ? please see/read
http://bakery.cakephp.org/articles/view/148
--~--~-~--~~~---~--~~
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
1. You have several different options. You can use requestAction to call
other controller/action and display the results in the current
view/controller. If you only need the view (not the logic from the
controller/action), you can move the view code to an element, and call the
renderElement
You're welcome.
Happened to me quite often in the past. :D
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of ERic ZoU
Sent: 07 Desember 2006 19:29
To: Cake PHP
Subject: Re: Cant load prototype in my default.html .
Thanks Adrian. s
Big S
Thanks Samuel - That looks very useful.
Samuel DeVore wrote:
http://start.gotapi.com/
note cake has a place here, actually a nice way to search the api.
Sam D
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
Thanks to all comments about locking/transactions.
I Know that I can (and should) to try to code this feature to cakePHP,
but first I need to investigate about it and I don't know if I've PHP
good level.
cheers.
--~--~-~--~~~---~--~~
You received this message
That's what I was basing on, and the post that I linked where you can see
for example Larry recommending to take out $uses in AppController.
I still believe it is better to make a component when a model is to be used
from AppController. I want AppController to deal with stuff that is general
to
Nice, good job. Who will keep it up to date?
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
-Mensaje original-
De:
Also more on this issue: lots of people need model logic on
AppController but they don't really need the used models to be
available on all controllers, which is what happens if you add it to
$uses on AppControler.
On Dec 7, 5:04 am, gwoo [EMAIL PROTECTED] wrote:
I dont know who recommends not
Hi there,
The filter or config table idea sounds good, but I need it very simple!
My folder structure looks like this:
app
cake
vendors
index.php
myconfig.php
In the myconfig.php I want to put all variables, including the
Database connection in the /app/config/database.php. The customer needs
That's what I was basing on, and the post that I linked where you can see
for example Larry recommending to take out $uses in AppController.
The reason I recommended not using var $uses in the AppController in prior
releases of cake was you would have to redefine it in all child classes.
With
Hi you All,
I'm joing the group again, now with some more knowledge about MVC and OO.
But I have some doubts with cake:
1st. I just upload the cake dir, and place a controller, I'm
studing the cake blog tutorial, and when I load the posts I get a lot
of warnings, as I placed down
1st. I just upload the cake dir, and place a controller, I'm
studing the cake blog tutorial, and when I load the posts I get a lot
of warnings, as I placed down here:
PHP needs to be able to write to /app/tmp. Simply change the permissions
on that directory and your errors should be gone.
Thank's felix, I forget to change the permisions!
RA
On 12/7/06, Felix Geisendörfer [EMAIL PROTECTED] wrote:
1st. I just upload the cake dir, and place a controller, I'm
studing the cake blog tutorial, and when I load the posts I get a lot
of warnings, as I placed down here:
PHP needs
The first two warnings are important, the rest is a consequence of these
first two.
If you look at the warning message it's complaining that it can't write to
app/tmp. You should make app/tmp and all directories within writable. On a
SSH terminal you would do:
$ chmod -R 777
Oh well. Ok got it. Thanks Larry for clearing it out. :)
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
I am having the same problem. I'm hosted on hostmonster, and finally
got the 'dev' installation working, but get the same error with the
'production' installation.
define('APP_DIR', 'app');
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', DS . 'home' . DS . 'user' . DS . 'cakephp');
there is some more info in the blog http://gotapi.blogspot.com/ looks
like they are reindexing fairly often.
Sam D
On 12/7/06, Mariano Iglesias [EMAIL PROTECTED] wrote:
Nice, good job. Who will keep it up to date?
-MI
Oh that's cool. Thanks for the info!
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
-Mensaje original-
De:
I did't the tmp dir is a 777, but still doesn't working...
RA
On 12/7/06, Mariano Iglesias [EMAIL PROTECTED] wrote:
The first two warnings are important, the rest is a consequence of these
first two.
If you look at the warning message it's complaining that it can't write to
app/tmp. You
Did you also make the directories inside app/tmp writable?
Can you dump us ls -la of your amp/tmp?
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your
have simply changed back CAKE_CORE_INCLUDE_PATH, as cake is in
his own C:\cake directory, while app is under Apache\htdocs.
Thanks for you help,
Bernard
__ Información de NOD32, revisión 1909 (20061207) __
Este mensaje ha sido analizado con NOD32 antivirus system
http
Hi AD7six
Thank you for this info you have solved my problem. It turns out that I
had missed uploading a table associated with the last round of changes
to implement an advertising block.
As you pointed out, the table missing error was being masked by the
fact that the model wasn't
I can't get a sortable list to work with cake. Funny thing is that I
can get it to work without Cake, and the problem I'm seeing should
break everybody who tries, yet I'm seeing messages from folks who are
able to do it.
Here's what my view outputs:
ul id=task_list_3 class=sortable-list
li
okay, I figured out that the problem has to deal with setting the paths
correctly.
unfortunately, while trying to fix it, I just started over and
currently don't have time
to figure out exactly what went wrong. When I have more time I'll try
to figure out the
issue and post.
I've had the same problem, see here:
http://www.cakephpforum.com/discussion/74/savefield-woe/#Item_0
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Cake PHP group.
To post to this group, send email to
Nice!
On 12/8/06, Mariano Iglesias [EMAIL PROTECTED] wrote:
Oh that's cool. Thanks for the info!
-MI
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Cake PHP group.
To post to this group, send email to
Does the second post in that link solve the problem? It doesn't seem
like it. Did you get it working?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Cake PHP group.
To post to this group, send email to
Hi, All,
I am creating a website tht have 3 different lanuage version. And I try
to use the Locale Package. It great.
But,
Create or edit this file /app/views/layouts/default.thtml, adding this
line anywhere.
?php echo $this-renderElement('language', $params) ?
Now the user need only press a
41 matches
Mail list logo