Re: Cant load prototype in my default.html .

2006-12-07 Thread [EMAIL PROTECTED]
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

Re: Cant load prototype in my default.html .

2006-12-07 Thread Adrian Godong
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

Re: Model not available from app_controller

2006-12-07 Thread Langdon Stevenson
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:

Re: Model not available from app_controller

2006-12-07 Thread Langdon Stevenson
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

Re: Wildcards for action part in a route

2006-12-07 Thread Daniel Hofstetter
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

Re: Cant load prototype in my default.html .

2006-12-07 Thread ERic ZoU
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

Re: Wildcards for action part in a route

2006-12-07 Thread AD7six
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

Re: Model not available from app_controller

2006-12-07 Thread Steniskis
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

Re: Wildcards for action part in a route

2006-12-07 Thread Daniel Hofstetter
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

seen the new api search

2006-12-07 Thread Samuel DeVore
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

Re: modify inflections in cakephp

2006-12-07 Thread [EMAIL PROTECTED]
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

Re: Model not available from app_controller

2006-12-07 Thread Steniskis
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

Re: othAuth ACL mode and AD7Six's ACL implementation

2006-12-07 Thread CraZyLeGs
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

Re: othAuth problem

2006-12-07 Thread CraZyLeGs
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

RE: how manage more than one operation in the same view

2006-12-07 Thread Adrian Godong
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

RE: Cant load prototype in my default.html .

2006-12-07 Thread Adrian Godong
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

Re: seen the new api search

2006-12-07 Thread Andrew McCafferty
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

Re: CakePHP Roadmap

2006-12-07 Thread [EMAIL PROTECTED]
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

RE: Model not available from app_controller

2006-12-07 Thread Mariano Iglesias
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

RE: seen the new api search

2006-12-07 Thread Mariano Iglesias
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:

Re: Model not available from app_controller

2006-12-07 Thread mariano.iglesias
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

Re: local configuration file

2006-12-07 Thread [EMAIL PROTECTED]
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

Re: Model not available from app_controller

2006-12-07 Thread Larry E. Masters aka PhpNut
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

me again, warning and url...

2006-12-07 Thread Rafael Apocalypse
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

Re: me again, warning and url...

2006-12-07 Thread Felix Geisendörfer
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.

Re: me again, warning and url...

2006-12-07 Thread Rafael Apocalypse
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

RE: me again, warning and url...

2006-12-07 Thread Mariano Iglesias
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

RE: Model not available from app_controller

2006-12-07 Thread Mariano Iglesias
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!

Re: alternative installation options

2006-12-07 Thread [EMAIL PROTECTED]
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');

Re: RE: seen the new api search

2006-12-07 Thread Samuel DeVore
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

RE: seen the new api search

2006-12-07 Thread Mariano Iglesias
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:

Re: me again, warning and url...

2006-12-07 Thread Rafael Apocalypse
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

RE: me again, warning and url...

2006-12-07 Thread Mariano Iglesias
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

RE: Error after upgrading to 1.1.11.4064 on new ModelName()

2006-12-07 Thread Mariano Iglesias
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

Re: Model not available from app_controller

2006-12-07 Thread Langdon Stevenson
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

Ajax sortable list

2006-12-07 Thread Uncle Bill
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

Re: alternative installation options

2006-12-07 Thread [EMAIL PROTECTED]
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.

Re: Ajax sortable list

2006-12-07 Thread Claudio Poli 
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

Re: seen the new api search

2006-12-07 Thread Widi Harsojo
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

Re: Ajax sortable list

2006-12-07 Thread Uncle Bill
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

i18n working with locale component, Help!

2006-12-07 Thread ERic ZoU
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