Re: Interest in audio from my presentation next week?
I don't understand english in audio records so it can be useful to release the script of the recording in text --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: DB Session Issues
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 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Advantages of components
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/components) . Can anybody explain the advantages/disadvantages of using components ? I know that components are reusable and can be maintained easily. Is there any other advantages/disadvantages using that (performance related) Or anything wrong with my first approach ? --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problem with FCKEditor
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 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problem with FCKEditor
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.. Butthe 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 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problem with FCKEditor
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=gstq=fckrnum=3#22aa22e717f6e456 [EMAIL PROTECTED] wrote: Hi, I am facing some problems with FCKeditor. I am trying to display the editor in my html page and I followed the steps described in http://wiki.cakephp.org/tutorials:online_editor-fckeditor I have used the same code that they given. After changing the basepath in thtml file , I could able to display the toolbar for the editor. But it is not displaying the text area. Any 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] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: I want to select information from a related table inside of my view function and present that information in my view.thtml file
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 a chapter in the manual off of your blog post? :) -- John Hey John, that would probably be the best idea. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
locale... Still don't understand ;)
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, body (russian) UPosts: id, title, body (ukraine) But. Now, I write: in posts_controller: var $uses = 'Post'; and query looks like: $this-{$this-uses}-findAll And have no problem with default language (index.thtml). When I set debug level 3, I see 2 query: DESC posts, and SELECT All done. But, when I switch into other language, I see empty index (no foreach data). I understand, RPost or UPost - not setting up by me nowhere. But, index.thtml index_ru_ru.thtml - actually identical. So... Why I hadn't query (debug not display anything) and how switch table? Or better way to switch? Thanks! And sorry for bad english --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
PHP Developer - open position, onsite for Dubai
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 to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: PHP Developer - open position, onsite for Dubai
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. Email your CV today! --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: jfkEditor don't know the location of /js/
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 email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: I want to select information from a related table inside of my view function and present that information in my view.thtml file
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 on. If there were a troubleshooting guide that would have been where I would have turned first. I am willing to help to make this a reality. --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: locale... Still don't understand ;)
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()); } And I understand: when default, $this-uses = 'Post'. But when I select other language? --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Interest in audio from my presentation next week?
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 unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: locale... Still don't understand ;)
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 since the beginning ( Perhaps I should make one last update) in that it does not run the controller method if there is an alternate language view file. If you want to run controller methods and use different view files I would suggest: 1) removing the line of code from the compoent that calls render and die 2) try some code like this in your app controller: function render($action = null, $layout = null, $file = null) { $action = $action?$action:$this-action; if (strpos($action,_)===false) { $action = $this-Inflector-underscore($action); } else { $action = low($action); } if (!$file) { $Code = $this-Locale-_getCode (false); if ($Code) { $i18nFile = VIEWS.$this-name.DS.$action._.$Code..thtml; if (is_file($i18nFile)) { $file = $i18nFile; } } } parent::render($action,$layout,$file); } With that you should at least make some progress. HTH, AD7six --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: locale... Still don't understand ;)
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 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: locale... Still don't understand ;)
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}-findAll - doesn't work So I make conclusion: table switching (?) or something wrong with $this-uses ;-) But (look down) AD7six says about my mistake: no table switching... --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: locale... Still don't understand ;)
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 cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Help wanted with session manipulation technique
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 cake too. But I am consfused where to put this. I tried adding the code to app_controller.php in cake/app. It says Session object doesnt exist at all! also, why does two application generate different session_ids, even though they are on the same server? in fact, I have put the second application as a subfolder within cake. Is it possible to set the session valid for the whole site (including subdomains too ?) thanks [V] --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Multiple form fields with the same name.
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: input type=text name=fieldName[] value= / input type=text name=fieldName[] value= / input type=text name=fieldName[] value= / ... By this way, PHP would put all my fieldName fields in a single array inside the $_POST['fieldName'] variable. My question is how can I use the same type of functionality (multiple fields, same names) with cakePHP, is that possible? I'm currently using something like: input type=text name=Field/Name_1 value= / input type=text name=Field/Name_2 value= / input type=text name=Field/Name_3 value= / ... But this solution looks really bad and ugly for me... If I need to validate this fields in the cakePHP way, I would have to define every single validation rule... that's not cool too... any solution? Thanks in Advance. Fernando Kreigne. --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
routing and passing a parameter to an action
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/group_name/add. i want group_name to be passed to the action 'add'. some background: i have a groups_controller and a favorites_controller. the favorites_controller has an 'add' action that takes a group_name parameter. here's what i've tried: $Route-connect('/group/*/favorites/add', array('controller'='favorites', 'action'='add')); $Route-connect('/group/:name/favorites/add', array('controller'='favorites', 'action'='add')); the above, and variations of the above don't seem to work for me. the following does work: $Route-connect('/group/favorites/add/*', array('controller'='favorites', 'action'='add')); however, this is really kind of messy...can anyone help? thanks, nathan --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: routing and passing a parameter to an action
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 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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: routing and passing a parameter to an action
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 options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---