Re: RPXnow OpenID

2009-02-27 Thread Daniel Hofstetter
functionality into its own component. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: Cakesheet.pdf 1.2

2009-01-12 Thread Daniel Hofstetter
. The url changed a while ago: http://cakephp.org/downloads/index/Resources -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email

Re: Call static function in bootstrap.php

2009-01-05 Thread Daniel Hofstetter
() should do the trick. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: Call static function in bootstrap.php

2009-01-05 Thread Daniel Hofstetter
Hi, if i use : App::import('Controller', 'Languages'); i got the following error: Fatal error: Class 'Controller' not found in /var/www/project/app/ app_controller.php on line 2 It seems like you also have to import the Controller class with App::import('Core', 'Controller'); -- Daniel

Re: Call static function in bootstrap.php

2009-01-05 Thread Daniel Hofstetter
Hi, Sorry, it doesn't work. Any idea ? Thank you and sorry to bother you [code snipped] Well, you cannot call a non-static method in a static way. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you

Re: Getting Started

2008-12-21 Thread Daniel Hofstetter
\ingredient_controller.php I have posted all my code below with the corresponding file names. Any help would be greatly appreciated. The problem is not your code but the url you are calling. Try http://localhost/recipe_manager/site/ingredients/index (notice the plural s of ingredients). -- Daniel Hofstetter http

Re: Debugging Auth: getting the name of teh action I get kicked

2008-12-12 Thread Daniel Hofstetter
. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake

Re: What you people use: Browser based automated tests or Cake's Inbuilt lib?

2008-11-27 Thread Daniel Hofstetter
Hi Abhimanyu, Actually I did contacted him, and he said he was not using it anymore. Yes, that's true, I don't have used it recently. Though, some days ago I updated the Selenium helper, see http://github.com/cakebaker/selenium-helper (the test suite will follow). Hope that helps! -- Daniel

Re: What you people use: Browser based automated tests or Cake's Inbuilt lib?

2008-11-27 Thread Daniel Hofstetter
Hi Abhimanyu, Thanks for the reply ;) BTW, What are you using for testing these days? I currently use the built-in test suite. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Strange problem with App:Import of controller class

2008-11-22 Thread Daniel Hofstetter
could be the problem?? Call $controller-constructClasses(); after you create an instance of the controller with $controller = new NewsPostsController(); Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message

Re: OT: PHP IDE with GIT and SVN Plugins

2008-11-21 Thread Daniel Hofstetter
recommend one? Maybe the following Eclipse plugin is useful for you: http://git.or.cz/gitwiki/EclipsePlugin (didn't try it myself yet) -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Sanitize, weird. Class 'App' not found.

2008-11-18 Thread Daniel Hofstetter
::import. However, I got the error - Class 'App' not found? hehe. Any ideas? Do I have to clear my cache again? or check the import path? anyway, I am going to check again. Try App::import('Core', 'Sanitize'); Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: How to bake the controller/views from console

2008-11-18 Thread Daniel Hofstetter
Hi Srini, how to bake the cotroller from console in cake php. anyone can help me in this. Have a look at http://book.cakephp.org/view/113/Code-Generation-with-Bake Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You

Re: Sanitize, weird. Class 'App' not found.

2008-11-18 Thread Daniel Hofstetter
@Dardo Sordi: Ah yes, you are right, I should have read it more thoroughly. Thanks for correcting me! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group

Re: Vendors in root and app folders

2008-11-13 Thread Daniel Hofstetter
vendors folder is for global vendors, i.e. for vendors you want to use in multiple applications. Hope that answers your question! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: How to get code coverage analysis working?

2008-11-08 Thread Daniel Hofstetter
@Tarique: In the apache error log are some segmentation faults listed. The allowed memory is 128 MB.I set it to 256 MB, without luck. @AD7six, Mark: Thanks for the link, unfortunately I still get the same result with xdebug 2.10dev... -- Daniel Hofstetter http://cakebaker.42dh.com

Re: getting mysql error 1064 when use execute(), but syntax is right!

2008-11-07 Thread Daniel Hofstetter
no longer exists in Cake 1.2. You have to use the query() method instead, or in your example you could also use $this-Section-find('all'); Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you

Re: How to write a test case ?

2008-11-07 Thread Daniel Hofstetter
. Where do I go to learn about writing a test case for CakePHP? There is a section about testing in the manual: http://book.cakephp.org/view/160/Testing Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message

Re: Enhancements to cakephp testing and code coverage

2008-11-06 Thread Daniel Hofstetter
pointers. It's probably best to open an enhancement ticket for it on https://trac.cakephp.org/timeline Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: How to get code coverage analysis working?

2008-11-06 Thread Daniel Hofstetter
Hi Brett, Anyone get any further with this ? I'm running a LAMP ubuntu install and get the same result either a blank screen or empty test.php. Phpinfo says the xdebug is installas far as I can tell. No, I had no luck so far... -- Daniel Hofstetter http://cakebaker.42dh.com

Re: CakePHP presentation

2008-11-05 Thread Daniel Hofstetter
/, maybe they are helpful for you. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: CakePHP presentation

2008-11-05 Thread Daniel Hofstetter
Hi, unfortunately the PDF files are broken, or at least this is how i see them, and actually thats what i was really looking for in terms of subjects, would you please try them out to assert my claims. Hm, I can read the PDFs without problems (using kpdf). -- Daniel Hofstetter http

How to get code coverage analysis working?

2008-11-05 Thread Daniel Hofstetter
5.2.6 and xdebug 2.0.3 on Debian Linux. Anyone an idea what could be the problem and how to make it work? Thanks in advance! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: How to get code coverage analysis working?

2008-11-05 Thread Daniel Hofstetter
=/usr/lib/php5/20060613+lfs/xdebug.so -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: newbie to 1.2

2008-11-01 Thread Daniel Hofstetter
Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: A case study of a real-world migration to CakePHP 1.2

2008-10-25 Thread Daniel Hofstetter
. What I'm missing is something about the Html/Form helpers and about loading external files (vendors() function in 1.1 vs. App::import() in 1.2) Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you

Re: decrypt password

2008-10-25 Thread Daniel Hofstetter
the password? -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: cookie tutorial

2008-10-20 Thread Daniel Hofstetter
Hi, is there any tutorial about cookie component for cakephp? i am having trouble using it. http://book.cakephp.org/view/177/Cookies Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you

Re: newbie to cakePHP

2008-10-20 Thread Daniel Hofstetter
Hi, is this the official discussion forum for cakePHP? Yes. I am going to try it now. Hopefully, i will get support if i need it. Good luck, and happy baking :) -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message

Re: cakeapp.com

2008-10-20 Thread Daniel Hofstetter
: - When creating a new table it is redundant to have both columns modified and updated - I would load the SQL designer in English by default - It would be useful if you could download the generated files/app Hope that's useful for you! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Model-execute custom query (update) in RC3

2008-10-18 Thread Daniel Hofstetter
status='A' where id=1); Model::execute() has been removed, hence it is no longer in the API docs. And as you figured out, you have to use Model::query() now. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you

Re: How to use helpers??

2008-10-16 Thread Daniel Hofstetter
? -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: How to use helpers??

2008-10-16 Thread Daniel Hofstetter
? (see cake/VERSION.txt) And what's the exact error message you get? -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email

Re: How to use helpers??

2008-10-16 Thread Daniel Hofstetter
disappear. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: simple AJAX

2008-10-13 Thread Daniel Hofstetter
Hi, i am very new to cakePHP.i want to implement AJAX in my code so can any one suggest me simple tutorial or from where i have to start. There is something in the manual: http://book.cakephp.org/view/208/AJAX Hope it helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: does not render -?

2008-10-06 Thread Daniel Hofstetter
#444f26b63f2193142b80169b8d04cf95 Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Changelog notes for 1.1.20 missing?

2008-10-03 Thread Daniel Hofstetter
Hi, Is there changelog notes for 1.1.20? like:https://trac.cakephp.org/wiki/changelog/1.1.x.x I'm not aware of a changelog for 1.1, but as there were only a handful of changes the following view might help: https://trac.cakephp.org/log/branches/1.1.x.x -- Daniel Hofstetter http://cakebaker

Re: Outgoing requests for tests?

2008-10-01 Thread Daniel Hofstetter
Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: how to save twice??

2008-09-30 Thread Daniel Hofstetter
seem to work correctly. Does anyone knwo what I'm doing wrong? also, i'm on 1.1x Call $this-Post-create() before the second save() to reset the models state. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received

Re: Print SQL Query String

2008-09-29 Thread Daniel Hofstetter
Hi Paolo, How can I print/display SQL Query String in the view area? Like SELECT `posts`.`id`, `posts`.`title` ... FROM `posts` WHERE ... Thanks In app/config/core.php set debug to 2. -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Simple question about Auth Component

2008-09-29 Thread Daniel Hofstetter
layout. How can I get this John string ? Have a look at the user() method of the AuthComponent. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: Form type='get' and date fields

2008-09-22 Thread Daniel Hofstetter
form to an action which then uses the form data to create the url of the result page and redirects to it. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Image resizing -- point in right direction please :)

2008-09-18 Thread Daniel Hofstetter
(both dimensions and file size) the files on upload before saving them. Could anyone point us in the right direction to do this within cake? Have a look at the bakery, http://bakery.cakephp.org, there are some solutions described (search with resize in the code section). Hope that helps! -- Daniel

Re: Plural name: Emphases - Emphasis

2008-09-17 Thread Daniel Hofstetter
Hi Brenton, Model is 'emphasis', plural is 'emphases'. Yet Cake doesn't seem to like it. libs/controller/inflector.php ... line 89 seems to have what it takes, but no love ... Thoughts? Open a ticket for it on https://trac.cakephp.org so it can get fixed. -- Daniel Hofstetter http

Re: frontend texts spread around the application layers

2008-09-12 Thread Daniel Hofstetter
can use something like: echo $form-input('username', array('error' = array( 'required' = 'Username is required', 'unique' = 'The username is already taken'))); Hope that helps! -- Daniel

Re: for simple example to understand cake

2008-09-11 Thread Daniel Hofstetter
Hi, hai all i am new for cake but i want to learn cake i want some simple example code to understand this can any one help me. The blog tutorial is a good starting point: http://book.cakephp.org/view/219/Blog Good luck! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: the requested address was not found on this server

2008-09-11 Thread Daniel Hofstetter
is, but set debug to 1 to see what error cake reports. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake

Re: migration 1.1 to 1.2 difficulties

2008-09-11 Thread Daniel Hofstetter
and the database. A lot of more  bugs appear. So can you tell here your experience in migration to cake1.2 in order to help me in this hard labor ? Maybe this helps: http://book.cakephp.org/view/411/Migrating-from-CakePHP-1-1-to-1-2 -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Putting models in subdirectories?

2008-09-04 Thread Daniel Hofstetter
). Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Older CakePHP Release Question...

2008-09-02 Thread Daniel Hofstetter
before importing into Excel and stuff. Set debug to 0 in app/config/core.php or remove the respective code snippet at the end of app/webroot/index.php Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message

Re: Trying to set up CakePHP for the first time

2008-09-01 Thread Daniel Hofstetter
/dbo/ dbo_mysql.php, line 130] Cake is NOT able to connect to the database. You either have a typo in database.php or the user you created doesn't have the privilege to access the respective database. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: The best practice for using external APIs

2008-09-01 Thread Daniel Hofstetter
patterns. How should I wrap that API so I can use it in CakePHP? Third-part libraries are usually put to the vendors folder and then included with: App::import('Vendor', 'yourfile'); Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Small CMS from cakephp

2008-08-30 Thread Daniel Hofstetter
they are useful for you. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Removing page execution time from bottom of page

2008-08-24 Thread Daniel Hofstetter
Hi Aaron, At the bottom of every rendered page is an execution time (i.e. !--0.4567s --)  I have views that return json and this breaks the parsing.  How do I remove this? You could remove it from the end of app/webroot/index.php -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Cake sheet

2008-08-24 Thread Daniel Hofstetter
Hi Sam, is controller beforeFilter really a goner? The beforeFilter property is gone, but not the beforeFilter callback method. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: views for shell scripts

2008-08-19 Thread Daniel Hofstetter
? You could try something like: App::import('Core', array('View', 'Controller')); $view = new View(new Controller()); $viewContent = $view-render('/elements/view_name'); Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You

Re: Page Not Found Error In cake_1.2.0.7296-rc2

2008-07-25 Thread Daniel Hofstetter
styles? If no, it is probably an issue with mod_rewrite, see http://book.cakephp.org/view/333/a-note-on-mod_rewrite Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Source code cookbook?

2008-07-23 Thread Daniel Hofstetter
Hi, is bakery code available ? It is available from the repository of http://cakeforge.org/projects/bakery -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: Best way to integrate a factory pattern?

2008-07-20 Thread Daniel Hofstetter
; } // implementation of the methods defined in the abstract class } -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email

Re: Migrate Cake Php 1.1 to 1.2

2008-07-20 Thread Daniel Hofstetter
Hi Jack, I'd like to know the procedure to migrate an application built in cake php 1.1 to 1.2 ? Is there any documentation ? Have a look at http://book.cakephp.org/view/411/migrating-from-cakephp-1-1-to- Good luck with the migration! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: The CSSLayout problem to a newbie of CAKEPHP.

2008-07-19 Thread Daniel Hofstetter
dont know where should I change the Layout or the content in header and footer. app/views/layouts/default.ctp (after you copied it from cake/libs/view/ layouts) Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received

Re: Duplicate a CakePHP project

2008-07-17 Thread Daniel Hofstetter
.42dh.com/2007/11/10/one-application-multiple-configurations/ -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Re: calling helper functions from within the controller

2008-07-11 Thread Daniel Hofstetter
(); // DOES NOT WORK - is it possible in any way ?    } } Just an idea: function index() { $myHelper = new MyHelper(); $myHelper-function_to_call(); $this-set('myHelper', $myHelper); } -- Daniel Hofstetter http://cakebaker.42dh.com

Re: set debug to 2 regarding the user connected otherwise set it to 0

2008-07-07 Thread Daniel Hofstetter
, there is an identification, is there a chance that i can do something like this : if($user == me) { set(debug) to 2 } It maybe an easy question, but I did not find out a way to do that... So if you have an idea, it would be great ! Configure::write('debug', 2); -- Daniel Hofstetter http

Re: cake php 1.1 to 1.2

2008-07-07 Thread Daniel Hofstetter
Hi Jack, This is my first post. I'd like to migrate from cakephp 1.1 to 1.2. Is there any tools or procedures to do that ? Have a look at http://book.cakephp.org/view/411/migrating-from-cakephp-1-1-to- Good luck with your migration! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Can you conduct Unit Testing in Cake?

2008-07-02 Thread Daniel Hofstetter
Hi, I'd like to try extremeprogramming in cake php , but was wondering if anyone has created Unit Testing class for cake? Have a look at the testing chapter of the manual: http://book.cakephp.org/view/160/testing -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Force SSL (HTTPS) Component, Finalization Help

2008-07-01 Thread Daniel Hofstetter
() and startup() methods) and call the redirect method. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Re: The Blog Tutorial

2008-06-28 Thread Daniel Hofstetter
the URL in your case is something like: yourdomain.com/posts/edit/1 (at least if mod_rewrite is working correctly). I don't understand what you mean with another problem are the extension used...? Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: constants or config?

2008-06-27 Thread Daniel Hofstetter
Hi Jonah, Hey guys, do you think it would be better to use a php constant to store my website name?  Over using the config stuff? Because a constant would be way faster right?  I would use it on EVERY page. But where would should I define it? app/config/bootstrap.php -- Daniel

Re: new to cake

2008-06-26 Thread Daniel Hofstetter
Hi, can any one suggest me about the tutors i am new to cake development ... i have knowledge in php+mysql+ajax+javascript... Have a look at the blog tutorial in the manual: http://book.cakephp.org/view/219/blog -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Documentation

2008-06-25 Thread Daniel Hofstetter
Hi John, How are we doing? What is the most confusing? What's most needed and   missing? I have a punchlist of my own, but I'm looking for input from   you guys, especially the new ones. A better search function for the cookbook would be nice. -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Good coding

2008-06-25 Thread Daniel Hofstetter
could use? -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group

Re: How to make submit image button in php?

2008-06-25 Thread Daniel Hofstetter
with image not 'moreBtnBlue' Try: ?php echo $form-submit('/path/to/image.png'); ? Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: Html Helper get wrong!!

2008-06-24 Thread Daniel Hofstetter
functionality is now in the FormHelper, see http://book.cakephp.org/view/182/form Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group

Re: Sub directories within Cake

2008-06-19 Thread Daniel Hofstetter
Hi Drew, I think you are looking for routes: http://book.cakephp.org/view/39/configuration#routes-configuration-46 Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: include model data in other views?

2008-06-18 Thread Daniel Hofstetter
load times/stress on the system/etc? Yes, requestAction is like a second request. If you use it once, it is probably no problem, but it's best if you test it to see whether it has a negative impact on your application. -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Upgrade Instructions ?

2008-06-16 Thread Daniel Hofstetter
file says: Revision: 2477 Quite old version ;-) Maybe this helps: http://book.cakephp.org/view/411/migrating-from-cakephp-1-1-to- Good luck with the migration! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because

Re: include model data in other views?

2008-06-16 Thread Daniel Hofstetter
controller (which also means the view has to be moved away from the pages directory). Hope that's enough to get you started ;-) -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Run bake.php on Linux

2008-06-11 Thread Daniel Hofstetter
Hi Marcos, How can I run bake.php on Ubuntu Linux. I installed php5-cli via apt-get, but can't find the proper command to run it. Any ideas? Try ./cake bake from the cake/console folder. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Model Validation help

2008-06-06 Thread Daniel Hofstetter
to specify the fields which can be written. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Re: One Model .. Three Sites ... How?

2008-06-06 Thread Daniel Hofstetter
in a separate folder and specify the $modelPaths variable in app/config/bootstrap.php in each application. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP

Re: Please include CakeBaker on the blog list

2008-06-04 Thread Daniel Hofstetter
that the other person fails?. [snipped] -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: Please include CakeBaker on the blog list

2008-06-04 Thread Daniel Hofstetter
that the other person fails?. [snipped] -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: how can i download the cakephp cookbook(menu)

2008-06-04 Thread Daniel Hofstetter
that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: Please include CakeBaker on the blog list

2008-06-04 Thread Daniel Hofstetter
to search engines. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Please include CakeBaker on the blog list

2008-06-03 Thread Daniel Hofstetter
Wow, thank you for your support, guys :) -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com

Re: libchart helper

2008-06-02 Thread Daniel Hofstetter
the helper and kindly shared to me what it is? Maybe the following article helps you: http://polywogsys.livejournal.com/211824.html Hope that helps, daniel -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you

Re: libchart helper

2008-06-02 Thread Daniel Hofstetter
have to add the vendors folder to the include path, like: $vendorPath = APP.DS.'vendors'; $includePath = ini_get('include_path'); $includePath = $includePath.PATH_SEPARATOR.$vendorPath; ini_set('include_path', $includePath); Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: undefined variable problem $form

2008-05-19 Thread Daniel Hofstetter
Hi Vishal, you have to add the FormHelper to the $helpers array of your controller resp. AppController with var $helpers = array('Form'); See also the section about helpers in the manual: http://book.cakephp.org/view/98/helpers Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Sharing plugins between several CakePHP websites.

2008-05-03 Thread Daniel Hofstetter
/bootstrap.php and add your plugin directory there. Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Re: CakePHP full example web site?

2008-04-28 Thread Daniel Hofstetter
Hi BeroFX, Does anyone have a link or an example of a Cake site? What I'd like to see is a site with a main page, md5 passwords etc. You may have a look at the source of the bakery: http://cakeforge.org/projects/bakery/ Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com

Re: How to define a global function in bootstap.php?

2008-04-16 Thread Daniel Hofstetter
. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ 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

Re: organizing controlleres into subdirectories

2008-04-09 Thread Daniel Hofstetter
work for views. I suppose I could change the viewpath in the controller but I was wondering if there is a prettier solution to this. I don't know a prettier solution. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message

Re: organizing controlleres into subdirectories

2008-04-09 Thread Daniel Hofstetter
/models resp. app/controllers, cake automatically finds them. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ 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

Re: Test Suite: is there a way to test for expected exception errors?

2008-03-28 Thread Daniel Hofstetter
Hi aranworld, Something like: try { $obj-codeThatShouldThrowMyException(); fail('No exception'); } catch (MyException $e) {} should do the trick. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you

Re: setflash does not work

2008-02-24 Thread Daniel Hofstetter
Hi Tomka, Do you have something like $session-flash(); in your layout/view? Hope that helps, -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: Controller without model/table possible?

2008-02-05 Thread Daniel Hofstetter
. -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ 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

Re: CakePHP guide

2008-02-03 Thread Daniel Hofstetter
Hi Zoe, It would be cool if there is a way to subscribe to this guide, so you automatically get notified if there is an update. Anyway, good luck with this project! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message

Re: Complete source code of any project with cakephp

2008-01-18 Thread Daniel Hofstetter
Hi Kishor, Maybe this article helps you to get started: http://facebook-developer.net/2007/10/18/building-your-first-facebook-application-with-cakephp/ Good luck! -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message

Re: how to find referrer url?

2008-01-04 Thread Daniel Hofstetter
Hi krr, Controller::referer returns the referring url. HTH daniel -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

  1   2   >