Blog to discuss cakePHP issues

2010-04-05 Thread bhushan A
My blog CakePHP issues: http://bhooshanahirrao.wordpress.com/2010/04/05/cakephp-problems/ Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group.

Re: Validation for FCK Editors field

2009-09-04 Thread bhushan A
ould ask in a Javascript forum unless you're mixing up your PHP > > and Javascript, which would be bad. > > > On Sep 4, 12:18 pm, bhushan A wrote: > > > Hi All, > > > >    I have integrated fck editor in cakephp. But unable to apply JS > > >

Validation for FCK Editors field

2009-09-04 Thread bhushan A
Hi All, I have integrated fck editor in cakephp. But unable to apply JS validation for that field. I have tried with " document.getElementById('').value". But it is showing blank value though i have entered sometext in it. Please help. You can mail me on bhushanahir...@gmail.com --~--~---

Final solution for Autocomplete In cake1.2

2009-07-06 Thread bhushan A
Hi all, i have read too many posts for Autocomplete In cake1.2 . Discussion was too long but problem remains unresolved. Can anyone tell me exact solution for this. I have gone through "http://bakery.cakephp.org/ articles/view/autocomplete". But its for 1.1. I have added component in controlle

File Upload validation in cakephp 1.2

2009-06-30 Thread bhushan A
Hi All, I have done with file uploading functionality in cakephp. But i want to apply validation (i.e. Please upload file.. ) . How to actieve this. I have created $validate array in model. waiting for reply. Please guide me. --~--~-~--~~~---~--~~ You received th

Re: Issue in validation

2009-06-29 Thread bhushan A
ctp file then use that line of code > every where in the code at the top. > > > > On Mon, Jun 29, 2009 at 6:00 PM, bhushan A wrote: > > > Hi  all, > > >  I am facing issue in displaying error message for validation. > > I have added following code in model >

Issue in validation

2009-06-29 Thread bhushan A
Hi all, I am facing issue in displaying error message for validation. I have added following code in model var $validate = array( 'product_name' => VALID_NOT_EMPTY ); and following code in view file i.e. add.thtml input('product_name', array('size' => '15',

Paypal Integration

2009-06-28 Thread bhushan A
Hi All, Can anybody tell me any link which guides me how to implement payment gateway in cake? Please mail me on bhushanahir...@gmail.com. Thanks Bhushan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" gro

Re: Bootstrap variable

2009-06-21 Thread bhushan A
I am setting variable like- "Configure::write('site_new','/'.$_SERVER ["HTTP_HOST"].'/abc');" in bootstrap.php.. and accessing it in view as - "echo $site_new". please reply On Jun 19, 8:49 am, Stu wrote: > Well, it seems that yourvariableisn't defined. > > Could you post yourbootstrapcode along

Bootstrap variable

2009-06-19 Thread bhushan A
I have problem in accessing variable which is set in config/ bootstrap.php. I have set 2 variables using Configure::write(). I can access one variable in views/ folder but unable to get other in views folder .. it giving "Notice (8) . Undefined Variable" error. Can you please suggest, what can

Bootstrap variable

2009-06-19 Thread bhushan A
I have problem in accessing variable which is set in config/ bootstrap.php. I have set 2 variables using Configure::write(). I can access one variable in views/ folder but unable to get other in views folder .. it giving --~--~-~--~~~---~--~~ You received this mess

testing in cakephp 1.2-Bug- Database table user_tests for model UserTest was not found

2008-04-18 Thread bhushan A
I have followed the steps mentioned 'http://bakery.cakephp.org/ articles/view/testing-models-with-cakephp-1-2-test-suite' LINK. I am putting my user.test.php's code here. Please let me know what i am missing. UserTest =& new UserTest (); $result = $this->UserTest ->inactive(array('id', 'name'))

Re: testing in cakephp 1.2-Bug-Class 'Usel' Not found

2008-04-18 Thread bhushan A
hey thanks amit... it worked but not its giving following error. Error: Database table user_tests for model SiteTest was not found. what to do? please help On Apr 18, 10:45 am, "Amit Badkas" <[EMAIL PROTECTED]> wrote: > On Fri, Apr 18, 2008 at 10:54 AM, bhushan A <[EMA

testing in cakephp 1.2-Bug-Class 'Usel' Not found

2008-04-17 Thread bhushan A
I have followed the steps given in "http://bakery.cakephp.org/ articles/view/testing-models-with-cakephp-1-2-test-suite" link. But still I am gettng 'Fatal error: Class 'User' not found in /tests/cases/ models/user.test.php' I am putting my user.test.php's code here. Please let me know what i am

Notice (8): Undefined index: in cakephp 1.2

2008-04-03 Thread bhushan A
Hi all, I am upgrading my cakephp 1.1 application to cakephp 1.2 . But i am getting error "Notice (8): Undefined index:xyz in app/controllers/ abc_controller.php" "Notice (8): Undefined variable:xyz in app/controllers/ abc_controller.php" Can anybody tell me which changes i have to do an

Re: Unit Testing of cakephp 1.1 (not cakephp 1.2)

2008-04-01 Thread bhushan A
xtures. I use Selenium then to test my controllers indirectly through the > UI. > Let me know if you need more help. > Might not be able to reply till Monday though. > > Cheers, > > Sonic > > On Thu, Mar 27, 2008 at 6:55 AM, bhushan A <[EMAIL PROTECTED]> wrote: > >

Unit Testing of cakephp 1.1 (not cakephp 1.2)

2008-03-26 Thread bhushan A
Can anybody help me how to do unit testing of cakephp 1.1.. i ahve gone though this link - http://cakebaker.42dh.com/2006/12/18/testing-with-cakephp-12-a-preview/ . But its only for 1.2 version. how can i achieve this.? --~--~-~--~~~---~--~~ You received this messa

validation issue

2008-02-21 Thread bhushan A
Hi all there is one variable set as follows define('abc', 0.05); in core.php. This value of abc is for users login. i want to make it 0.01 for admin login. how can i achieve this. Please help Bhushan --~--~-~--~~~---~--~~ You received this message because you are

Re: Validation of one field for two different pages in cakephp.

2008-02-21 Thread bhushan A
please share the link if u have . thanks bhushan On Feb 21, 3:40 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > Try searching the group, also the bakery. This has been answered before. > > On Thu, Feb 21, 2008 at 3:01 AM, bhushan A <[EMAIL PROTECTED]> wr

Validation of one field for two different pages in cakephp.

2008-02-20 Thread bhushan A
Hi all, i have one field 'abc'(numeric) in 'xyz' table .i want to provide validation for two different logins.. i.e for users login, this field should not exceed '5' and for admin's login this should not exceed '1' . How to achieve this. Should i change Model or view.? Please help. Bhushan

Re: Pagination and search.

2008-01-28 Thread bhushan A
Jeba Anbiah" <[EMAIL PROTECTED]> wrote: > On Jan 28, 10:56 am, bhushan A <[EMAIL PROTECTED]> wrote: > > > I have achieved 'pagination' and 'search' differently. Means when i > > am putting my search criteria in text field then records are gettin

Pagination and search.

2008-01-27 Thread bhushan A
Hi all I have achieved 'pagination' and 'search' differently. Means when i am putting my search criteria in text field then records are getting displayed as per search criteria but but pagination is not as per search criteria. How to achieve it? Do i need to change controller? If yes then what

Re: How to implement "Export to CSV" link in cake-php

2008-01-25 Thread bhushan A
hi I got helper class.But i want to put "Export to CSV" link on view page(.thtml page). What changes do i need to do in controller, model and view page? Please explain., On Jan 9, 6:49 pm, nate <[EMAIL PROTECTED]> wrote: > On Jan 9, 1:32 am, bhushan A <[EMAIL PROTECTED

Re: Pagination

2008-01-22 Thread bhushan A
#x27;re looking for can be found > here:http://www.ad7six.com/Pagination/Named > > Use the 'show' param and make sure it's not listed in 'privateParams'. > > HTH > > On 21 Ян, 11:01, bhushan A <[EMAIL PROTECTED]> wrote: > > > I have followed steps as p

Pagination

2008-01-21 Thread bhushan A
I have followed steps as per link http://bakery.cakephp.org/articles/view/pagination. Pagination is achieved but its displying Result per page = 20 by default. I want to take that from user. There is one function resultPerPageSelect() in view/helper/pagination.php . We have to call it in views/el

column sorting...

2008-01-18 Thread bhushan A
Is there any class / library available to acieve column sorting in cake php.? please reply me on [EMAIL PROTECTED] bhushan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send

How to implement "Export to CSV" link in cake-php

2008-01-08 Thread bhushan A
Hi all, Can anybody help me how to write code for "Export to CSV" link? Or there is any provision in cake php for that.? please reply me on [EMAIL PROTECTED] bhushan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Undefined index in app_controller

2007-12-27 Thread bhushan A
I am getting error as Undefined index error in app_controller.php when I am trying to move on page which requires database connection. What configuration do i need to do more? Please reply me on [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message be

update table with text box values..

2007-08-22 Thread bhushan A
can u help me ? how to get values from text box to use them in model or 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.c