Re: routing and passing a parameter to an action

2006-09-09 Thread ncy111
thanks! --~--~-~--~~~---~--~~ 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 optio

Re: Pagination of another's model controller

2006-09-09 Thread ncy111
i'm trying to do same thing...but i don't quite understand what you mean by: 1) You could put $uses = array("Session","Comment"); and just pass (array("Comment.Session_id"=>$currentSession["id"]),array('modelClass'=>"Comment")); could you perhaps clarify? --~--~-~--~~~

Re: routing and passing a parameter to an action

2006-09-09 Thread nate
This should work: $Route->connect('/groups/:name/:action/*', array('controller'=>'favorites')); The group name will show up in $this->params['name'] in the controller. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

routing and passing a parameter to an action

2006-09-09 Thread ncy111
hi i have a routing problem that doesn't seem to be solvable. so basically i want to pass a part of a URL as a parameter to an action (that is also in the url). for example, say i have a URL /group//add. i want to be passed to the action 'add'. some background: i have a groups_controller and

Multiple form fields with the same name.

2006-09-09 Thread Fernando Kreigne
Sorry about the possibly newbie question, but I was searching for answers all over the web and find nothing, so here I go: When working with multiple form fields with the same name in PHP I was used to the syntax looking like this: ... By this way, PHP would put all my "fieldName" fields i

Help wanted with session manipulation technique

2006-09-09 Thread [EMAIL PROTECTED]
Hi I am trying to modify cake's session so that I can intgerate other php applications along with cake on my server. (You will have got the clue, if you were following this group regularly ;) ) I am trying to check an existing session set from another app, and if its set, iniate a session in cak

Re: locale... Still don't understand ;)

2006-09-09 Thread [EMAIL PROTECTED]
at last I understand ;-) Thank's, AD7six for your patience ;) I understand ;-) Sorry for a lot question ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to ca

Re: locale... Still don't understand ;)

2006-09-09 Thread [EMAIL PROTECTED]
Strange, but when I switch to language other then default I got $this->uses == '' Then I think that locale "switch" tables, but unknown method for me (I look locale.php from first to last string and don't find anything about switching table... But when language switching, $this->{$this->uses}->fi

Re: locale... Still don't understand ;)

2006-09-09 Thread AD7six
PS Fernando, That's quite a long way round ;). I wrote some starting out tips you can find here: http://www.noswad.me.uk/MiBlog/Blogs/View/CakePHPQuickTips. cheers, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: locale... Still don't understand ;)

2006-09-09 Thread AD7six
Hi Vlad, I don't quite undertstand, but: Switching tables would be something that you would do yourself - the locale package I wrote doesn't take care of this (note that for 1.2 it is planned to take care of translating db content). There is a 'feature' of the locale package which has existed s

Re: locale... Still don't understand ;)

2006-09-09 Thread Fernando Kreigne
I think when you have other language select it would have to look like "RPosts" or "UPosts"... have you tried something like: function index () { $this->set('data', $this->uses); } And then in your view: print_r($data); It's a good way to find your "$this->uses" value... Hope it help

Re: Interest in audio from my presentation next week?

2006-09-09 Thread MrTufty
It'd be good to hear the presentation, with slides if you can manage it! --~--~-~--~~~---~--~~ 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 unsubscrib

Re: locale... Still don't understand ;)

2006-09-09 Thread [EMAIL PROTECTED]
May be I write not so correct... So, I mean: when default language select: I get two request to DB Posts But when I select other lang, I don't see any mysql query ;-( I have: class PostsController var $uses = 'Post'; function index () { $this->set('data',$this->{$this->uses}->findAll())

Re: I want to select information from a related table inside of my view function and present that information in my view.thtml file

2006-09-09 Thread rnady
As a cakePHP newbie, I know it would be very helpful to be able to have a "troubleshooting guide" or something along those lines in the manual. I am still working on wrapping my head around associations and even though I saw mentions of debugging I was unable to find the answer to how to turn it

Re: jfkEditor don't know the location of /js/

2006-09-09 Thread [EMAIL PROTECTED]
Ok I find the solution. I have not copy the good files in /js/ subdir of the root. This subjet is closed. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send e

Re: PHP Developer - open position, onsite for Dubai

2006-09-09 Thread Felix Geisendörfer
Check out http://findabaker.42dh.com/ as well to reach more people. -- http://www.thinkingphp.org http://www.fg-webdesign.de karelz schrieb: 3+ years sound experience of php, mysql, ajax, smarty, xml, dbase design. Great enviroment, great projects, great team. Emai

PHP Developer - open position, onsite for Dubai

2006-09-09 Thread karelz
3+ years sound experience of php, mysql, ajax, smarty, xml, dbase design. Great enviroment, great projects, great team. Email your CV today! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post

locale... Still don't understand ;)

2006-09-09 Thread [EMAIL PROTECTED]
After AD7six comment. I'll do all right ;-) And I see how switch template: index.thtml (main-default) & index_ua_ua.thtml, index_ru_ru.thtml - for other. But I don't understand one petit thing. How switch table? I thing, I needing two table Posts: id, title, body (english) RPosts: id, title,

Re: I want to select information from a related table inside of my view function and present that information in my view.thtml file

2006-09-09 Thread Chris Hartjes
On 9/8/06, John David Anderson (_psychic_) <[EMAIL PROTECTED]> wrote: > > > On Sep 8, 2006, at 6:23 PM, Chris Hartjes wrote: > > > Nate, is there someplace on the CakePHP web site that info could go or > > should I simple add a blog posting and drive traffic there instead? :) > > How about I base

Re: Problem with FCKEditor

2006-09-09 Thread Olivier Percebois-Garve
This is probably not directly cake related, but raher some param must be wrong. What method r u using ? Did you see my post on fck ?: http://groups.google.com/group/cake-php/browse_thread/thread/de6ecd314cb7597/22aa22e717f6e456?lnk=gst&q=fck&rnum=3#22aa22e717f6e456 [EMAIL PROTECTED] wrote: > Hi,

Re: Problem with FCKEditor

2006-09-09 Thread John Zimmerman
First upgrade to the current version of Cake so that more people will be better able to help troubleshoot.On 9/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:Thanks for the reply.. But  the textarea is not coming only the toolbar is coming .I am using cake 1.0.1.2708 version and I didn't use th

Hye Pls Join My New Grps

2006-09-09 Thread MISS C U T E
Hi Dear YAHOO Members, THNX 4 using YAHOO ! Groups I have also started following new groups IF YOU ARE LOOKING FOR JOBS, JOIN OUR FOLLOWING YAHOO/GOOGLE GROUP A2ZHRINFOSERVICES, WE WILL POST JOBS IN YOUR EMAIL http://finance.groups.yahoo.com/group/a2zhrinfoservices/join http://gr

Re: Problem with FCKEditor

2006-09-09 Thread [EMAIL PROTECTED]
Thanks for the reply.. But the textarea is not coming only the toolbar is coming . I am using cake 1.0.1.2708 version and I didn't use the bake.php. Any help ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cak

Advantages of components

2006-09-09 Thread KN
Hi, In my application I used to put the common functions in app/app_controller. And from other controllers, I am calling those functions. Anything wrong with this ? Now the app/app_controller.php file become very big. I came to know about components (from http://manual.cakephp.org/chapter/compon

Re: DB Session Issues

2006-09-09 Thread [EMAIL PROTECTED]
Hi I have set security to high. the session is cleared on time , i believe. I am baffled with different session ids in the table. Will this be due to different session components being launched in controllers? Thanks [\/] --~--~-~--~~~---~--~~ You received this