Re: Send SMS in Bulk

2011-10-20 Thread andy_the ultimate baker
How does it work? Please clarify this.. On Oct 20, 3:39 pm, euromark wrote: > you can combine a queue plugin with a sms lib > > for instance:https://github.com/MSeven/cakephp_queue > > On 20 Okt., 12:36, andy_the ultimate baker > > > > > > > > wrote: >

Send SMS in Bulk

2011-10-20 Thread andy_the ultimate baker
Hello friends I have one project where i need to send sms in bulk i.e 1000 sms in single instance. Can anybody provide me any reference this. Please give me any link to refer please -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the

Re: Select box broken after upgrade

2011-06-20 Thread andy_the ultimate baker
u should check the relation of album and music and while $this->set(compact('musicsList')); use this $this->set(compact('musicsList', $musicsList)); and u will collect them in ur view Regards Anand On Jun 20, 11:07 am, madusanka hettiarachchi wrote: > hi guys, > > Hi CRUSH, Did you get solve

problem in pagination

2011-06-07 Thread andy_the ultimate baker
hi all, i m working on one page where i need to paginate data. but the model has no relation with any other model in database. i want set paginate on that model but in regular way its showing error. my model name is : BackupTable i have tried $this->paginate(); but this doesn't work. is there any

Re: How to cake bake in Linux environment - Cakephp?

2011-05-18 Thread andy_the ultimate baker
U no need to bake like windows in linux. just extract the file from zip and copy it to the "htdocs" folder, create database for trial application like blogs and take trial. U will get that definitely. Do me one faver will u please mail me details of baking cake in windows? please. my email id joy.a

Re: deleteAll() things

2011-05-09 Thread andy_the ultimate baker
i think u r not giving the relation of associate model take this example to reffer $this->PatientClinicalDetail->PatientClinicalDetailChemotherapy- >deleteAll(array('PatientClinicalDetailChemotherapy.patient_clinical_detail_id' => $this->data['PatientClinicalDetail']['id'])); here code indicates

Re: 404 error

2011-05-02 Thread andy_the ultimate baker
ks > Jyothi > > On Mon, May 2, 2011 at 5:36 PM, andy_the ultimate baker < > > > > > > > > > > anandghaywankar...@gmail.com> wrote: > > first write the name of controller before helper > > then ur punching index in url where as there is

Re: 404 error

2011-05-02 Thread andy_the ultimate baker
first write the name of controller before helper then ur punching index in url where as there is no need, just punch posts then in ur action on controller write print_r($this->data);exit; and see waht u get, if nothing then check action of the ctp by Anand On May 2, 4:43 pm, jyoti bhandari wrot

Re: convert to javascript to cake

2011-04-06 Thread andy_the ultimate baker
what exaxtly u wants to do? javascript is good for that. On Apr 7, 10:17 am, Master Ram wrote: > Hi to all > > onmouseout="MM_swapImgRestore()" > onmouseover="MM_swapImage('Apply','','images/adminControls/ > button_apply_hover.jpg',1)"> > > > > how to write this thing in CakePHP -- Our newes

set min date in jquery date picker

2011-03-31 Thread andy_the ultimate baker
hi friends, i have a issue which is other than CAKE, i hope some on group will definitely help me, Issue: i have two date picker in on form, one is "START" and another is "END". in date picker the min date i have given is current date. now i want to set the min date of "END" date picker as per "S

Re: Please help:Country and its state in index

2011-03-18 Thread andy_the ultimate baker
s entry?', $state['State']['id']),false);?> =>now with this what should i do to get desired. will u please suggest logic for this. On Mar 18, 12:16 pm, Ryan Schmidt wrote: > On Mar 18, 2011, at 02:04, andy

Please help:Country and its state in index

2011-03-18 Thread andy_the ultimate baker
hi, i m trying to display states with respect to country in index. but country is displaying each time for each state. i want to get all the state for under its respective country for each time. eg. if i have india as country having many sates then all states belongs to india will come under one i

importing data from excel file to mysql database in receptive field

2011-03-17 Thread andy_the ultimate baker
hi, I m trying to import my data from excel file to data base. in my excel file there are some rows which contain some element and now i want to get this element directly in to db field. can anyone suggest any suggestion on this andy http://www.anshusys.com -- Our newest site for the community

on edit password is coming encrypted

2011-03-16 Thread andy_the ultimate baker
hi friends i m trying to get my actual password on edit but its coming hash encoded, please tell me any solluton. andy -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with the

pop up window on one of two buttons in one form

2011-03-14 Thread andy_the ultimate baker
hi friends i m trying to pop up a new window in click but there are two submit button on my form. on one of them i want to give popup name of my buttons are"Respond", and "Submit". on click i could open an new window but form is also get submitted. can any one suggest me how to restrict form from

help me in jqury validation.

2011-02-22 Thread andy_the ultimate baker
hi, friends, i m working on form where i need to give jquery validation. i googled all the possible searches but not getting. can any one suggest any link for jquery validation for specific element. *note: i m not giving validations to element like 'name','email', etc. these are the quantity based

Re: Preview Data before submission into db

2011-02-21 Thread andy_the ultimate baker
when u submit the form post all data to nex form with action preview. there u will get data with respective field. then set variable for each field and then display it where u want. and submit of "preview " action save all data in db. hope this logic will work Anand (cake backer) www.oncosys.com

Re: date time calendar picker

2011-02-21 Thread andy_the ultimate baker
wrote: > I have seen this web site but i think your suggested calendar does not > provide seconds in calendar. Does it? > > Regards > Tapan Thapa > India > > On Tue, Feb 22, 2011 at 12:25 PM, andy_the ultimate baker < > > anandghaywankar...@gmail.com> wrote: >

Re: date time calendar picker

2011-02-21 Thread andy_the ultimate baker
hi tapan, this is the most light weight date picker with variety of option. get this link http://jqueryui.com/demos/datepicker hope this may help u. regards Anand cake developer www.anshusys.com. On Feb 22, 11:18 am, Walther wrote: > This is the one I use:http://tinyurl.com/6g2xokx > > It is

Re: Auth component question

2011-02-20 Thread andy_the ultimate baker
will u please tell what error is coming out? On Feb 21, 12:12 pm, Tapan Kumar Thapa wrote: > Hello Community, > > I am using auth component in my code and while retrieving first_name from > session ($this->Session->read('Auth.User.first_name')) on my development > machine(windows with wamp), it i

redirecting page if if two submit buttons are given.

2011-02-17 Thread andy_the ultimate baker
hi, i m working on one form. in that form i have two submit button. one is for SUBMIT and another is ORDER. i want to redirect my form to ORDER view if user clicks on ORDER. but i m not getting how. my code is in simple HTML not in Cake HTML is as fallows tr>

Re: reading new cake book is painful than the old one.

2011-02-13 Thread andy_the ultimate baker
wrote: > There is a tree structure and search on the left sidebar. > > It requires JS enabled to work correctly. > > On Feb 13, 10:36 pm, andy_the ultimate baker > > wrote: > > hi, > > i am very sory to say that the new cake book is not helping as it was > &

reading new cake book is painful than the old one.

2011-02-13 Thread andy_the ultimate baker
hi, i am very sory to say that the new cake book is not helping as it was before, so many issues, its not even user friendy. it sah no proper search box, no tree structure index fo containts, and not even eye catching view. what u say gyes?? -- Our newest site for the community: CakePHP Video Tut

Re: Is there anyway to add Auth authentication on each and every views into a built application?

2011-02-13 Thread andy_the ultimate baker
reading cake book is now become a headache, no index, no proper search, it has nothing like to get help, irritating, tedious, and painfull, what u say krissy! On Feb 14, 11:25 am, "Krissy Masters" wrote: > Yes. > > http://book.cakephp.org/#!/view/1250/Authentication > > Did you even look at t

Re: Is there anyway to add Auth authentication on each and every views into a built application?

2011-02-13 Thread andy_the ultimate baker
hi, for that u need to use condition, $user=$this->Session->read('Auth.user'); if($user=='username here'){ ( remaining code) } i am not sure that it 100 perfect but u should go through this way, or try to give a unique id to each action and then use it in action,if condition true show the form e

sving values of check boxes

2011-02-09 Thread andy_the ultimate baker
hoi i m trying to save values of check boxes which has property tinyint(1) but its going 0 even in $this->data has the values 1 my controller is as fallows function procedures() { if(!empty($this->data)){ //print_r($this->data);exit; $this->TreatmentProcedure->create(); if ($

Re: Cannot get Auth component loginAction to work

2011-02-07 Thread andy_the ultimate baker
hi, have u given the login action in ur controller? On Feb 7, 4:35 pm, WhyNotSmile wrote: > Thanks. > > I've done that now, and it's still not working.  I'm not even getting > auth error messages - it's just taking me back to the login form. > > Any ideas what could be going wrong? > > Thanks, >

Re: Forum Is A Free For All?

2011-02-04 Thread andy_the ultimate baker
The forum is all about to promote innovative thoughts and sharing knowledge. but just for the sake of "please" u just cat stop yourself by giving an answer for it becouse it is not only the person who is reffering you answer but everyone who googled it for the same. and believe me u cant c the expr

Re: how decrypt password in view?

2011-02-04 Thread andy_the ultimate baker
ya its write the same i was thinking because security point of view its not good to show password to user On Feb 4, 4:46 pm, Matt Murphy wrote: > There are other better solutions :)  But my hope is to discourage another > from doing far worse. > > MM > > On Fri, Feb 4, 2011 at 6:35 AM, AD7six wr

how to get validation messages next to text field?

2011-02-04 Thread andy_the ultimate baker
hi, i trying to get the validation messages at the right side of tex field but in cant getting it? can any one suggest any way to get them right, even in css, -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://as

Re: how decrypt password in view?

2011-02-04 Thread andy_the ultimate baker
m > > On 4 Feb 2011, at 10:50, andy_the ultimate baker wrote: > > > i have made all validations but when user view he/her profile the > > password get encrypted in view, there is not any way to fix it, > > > can i convert that encrypted password in actual one?

Re: how decrypt password in view?

2011-02-04 Thread andy_the ultimate baker
s the most secure way. > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > On 4 Feb 2011, at 10:36, andy_the ultimate baker wrote: > > > hi, > > friends i want to show the password in view to user but its coming > >

how decrypt password in view?

2011-02-04 Thread andy_the ultimate baker
hi, friends i want to show the password in view to user but its coming hash encoded, can any one tell me how to display password decrypted in view? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org

confused! need urgent help.

2011-02-03 Thread andy_the ultimate baker
hi, good morning, since i morning i am working on one index view where i want to display the country. ithe the view i m getting sate and city with its respective code properly, but the country is not displaying here is my code Html->link($city['Country']['title'], array('controller' => 'countries

Re: Understanding the "M" in MVC?

2011-02-03 Thread andy_the ultimate baker
will u please make it short and approachable to ur point, becouse no one is having to read a long theses of ur query on the work so please make it shor and come in pints, so it would be fine to give u answer regards andy On Feb 3, 7:12 pm, Michael Carriere wrote: > Hello everyone! > > When recen

Re: How to learn CakePHP please guide me

2011-02-03 Thread andy_the ultimate baker
hi, welcome to cake php! first u need to learn the basics of php, without it u can move? i f u are well in php basics then first u need too read the manual of cake php. here is the link http://book.cakephp.org/view/875/x1-3-Collection#!/view/875/x1-3-Collection then just try t buit a simple blo

how to validation messages next to the text field?

2011-02-03 Thread andy_the ultimate baker
hi, good evening, i am trying to get error messages next to my text field, they are coming bellow text field and hence the view looks disturb, can any one suggest how to get the error messages next to text field please! best regards andy (my bakery needs help) -- Our newest site for the comm

Re: Great Job on The Cookbook

2011-02-03 Thread andy_the ultimate baker
ome people but blue is a very > >>> exhausting color for the human eye. The receptors for blue color are > >>> the smallest group in the human eye and tehrefore looking at blue > >>> backgrounds and colors is exhausting. Not the way to go for a "book".

Re: Great Job on The Cookbook

2011-02-03 Thread andy_the ultimate baker
he human eye and tehrefore looking at blue > > backgrounds and colors is exhausting. Not the way to go for a "book". > > > On 3 Feb., 07:50, andy_the ultimate baker > > wrote: > >> no maharj > >> i m not happy with new cake book, > >> the t

Re: Great Job on The Cookbook

2011-02-02 Thread andy_the ultimate baker
no maharj i m not happy with new cake book, the tree structure in manual was very easy to access. its very dull look to On Feb 3, 11:30 am, "Dave Maharaj" wrote: > Nice new look to the cookbook! I think it looks 100% more professional! > > Great job to all who made it possible. > > Dave -- Our

how to set the for of date?

2011-02-02 Thread andy_the ultimate baker
hi, i m working on somthing where i need to display the date and time, i m taking it from the data base but the format differs from the way i want to display it, can any one suggest how to change the format to display on screen the way we want even if it is different in database? currently i show

Re: can any one help in tool tip for icons?

2011-02-02 Thread andy_the ultimate baker
i searched a lot for this, but didnt get the exact answer, On Feb 3, 10:00 am, "Dave Maharaj" wrote: > The Google place has a lot of answers I hear they are a new search > engine...no expert by try typing "jquery tool tip" -- Our newest site for the community: CakePHP Video Tutorials http://t

can any one help in tool tip for icons?

2011-02-02 Thread andy_the ultimate baker
hi, good morning today on the desk i got one new task and that is tool tips for links which describe the purpose. i never had done this, so please please suggest me how to create tool top for icon links. regards andy (trying to start a bakery) -- Our newest site for the community: CakePHP Video

Re: Blog example not working - need edit in View

2011-02-02 Thread andy_the ultimate baker
good for u On Feb 2, 5:58 pm, Huy Nguyen wrote: > I just downloaded and installed fromhttp://cakephp.org/within a few hours > ago. 1.3.7 > > Yeah I tried $html->link instead of $this->Html. It works now. I just > thought someone might clarify and amend the example for those who attempt at > it l

Re: Blog example not working - need edit in View

2011-02-02 Thread andy_the ultimate baker
; > line 27] > > > Here is the line: > > > echo $this->Html->link($post['Post']['title'], array('controller' => > > 'posts', 'action' => 'view', $post['Post']['id'])); > > &g

Re: Blog example not working - need edit in View

2011-02-02 Thread andy_the ultimate baker
clarify ur error clearly On Feb 2, 5:38 pm, Huy Nguyen wrote: > I'm totally new to CakePHP so I followed the Blog example up to this point > and get error because $this->Html not found in > View.http://book.cakephp.org/view/1536/Creating-Post-Views > > I believe the right way is $html instead o

Re: Numeric Keys with Form Select

2011-01-30 Thread andy_the ultimate baker
hi, ur issue is very often, now use echo $this->Form- >input('category_id',array('id'=>'SearchCategories') ); //assuming that ur has category_id as first field but if u have fields id and then category_id then in ur controller u need to fetch the data by following way $this->Categories->find('li

Re: need help

2011-01-30 Thread andy_the ultimate baker
thanks On Jan 29, 7:54 pm, cricket wrote: > On Sat, Jan 29, 2011 at 3:45 AM, andy_the ultimate baker > > > > wrote: > > hi, bakers > > i m working on one drop down list, i m getting all the values but the > > first option is coming blank. i want set this as &

need help

2011-01-29 Thread andy_the ultimate baker
hi, bakers i m working on one drop down list, i m getting all the values but the first option is coming blank. i want set this as "select state" with some value, like we used to in core php. my view code is as fallows select('state_code',array($newStates),null,array('id'=>'select_states')

Re: Is there any way to incldue all models automatically

2011-01-28 Thread andy_the ultimate baker
hi, try this var $uses = array('model associate with controller', 'model u want to include'); it is im to include first model associate with controller' and then other hope this will help u bye On Jan 28, 4:03 am, cake-learner wrote: > Is there any way to include all models by default. I run to t

state and city drop down with ajax

2011-01-28 Thread andy_the ultimate baker
hi, i m working on one project. in that at one form i am trying to get two drop down one is foe state and second is for city. i have two table one is for state and second is for city by ajax i want to make the options of city corresponding to that state selected in first drop down. till now i have

state and city drop down with ajax

2011-01-28 Thread andy_the ultimate baker
hi, i m working on one project. in that at one form i am trying to get two drop down one is foe state and second is for city. by ajax i want to make the options of city corresponding to that state selected in first drop down. till now i have tried so far this is my controller "selects_controller.

Re: getting an error Unknown column 'State.name' in 'order clause'

2011-01-27 Thread andy_the ultimate baker
ing: > > var $displayField = 'title'; > > ...to the top of your model. > > PS: I presume the 'name' field exists in the table? > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > On 28 Jan 2011, at 0

getting an error Unknown column 'State.name' in 'order clause'

2011-01-27 Thread andy_the ultimate baker
hi bakers, good morning to all but it is not going good for me, since morning i m trying to resolve one error "Unknown column 'State.name' in 'order clause'" but i m not getting where exactly i m wrong, can anyone suggest me the solution on it, a query is coming out in error is as fallows Query

need help in javascript dropdown,

2011-01-26 Thread andy_the ultimate baker
hi, good morning, i m working on project where i want create two drop down, in first i will choose "state" so that the next drop down should how the cities with respect to the state selected in first. all that i want to create in javascript, for that i have collected all state_code and its cities

Re: How to make random user names out of list of a list of names in a text file, I can not complete my php script

2011-01-25 Thread andy_the ultimate baker
hi, first thing is u r very much confusing about ur sayings. do seprate the things u want to do, rather to to solve entire problem at a time, u need to devide it and then go step by step. second thing in ur code u have forgot to close curly braes. take a look of it. now post the ur issue once aga

Re: Changing the layout and appearance

2011-01-25 Thread andy_the ultimate baker
hi kid, u wont be kid for longer, don't worry. now first u need to find out the layout. the layout is created by default.ctp the path is as fallows cakephp/app/view/layout/default.ctp hope u r using cakephp 1.3. there u will get every aspect of layout. go and try. hope u got it. On Jan 25, 5:16 

saving data in file without upload

2011-01-25 Thread andy_the ultimate baker
hi, i m on one script where i want to store data of one variable in to the file by creating in in script itself. i have collected data as fallows in $stateJs variable. State->find('all', array('order' => array('State.created DESC'))); // print_r($states);exit;

Re: Need Ajax Help

2011-01-24 Thread andy_the ultimate baker
thanks ShadowCross i was looking for the same, thank u, by, Andy On Jan 25, 3:49 am, ShadowCross wrote: > I'm not seeing anything in your code that would produce a confirmation > request.  Your delete link in your view is > >      echo $html->link('Delete',array('action'=>'delete', > $user['Use

Re: $this->Form->select(...) creates HTML tag with ID, but with empty name! --psybear

2011-01-24 Thread andy_the ultimate baker
hi, i have tested ur code and it is giving me output as bellow which showing that the name of tag is not empty. this may ur misconception but it is working fine. ok bye On Jan 24, 2:12 pm, psybear83 wrote: > Hey everybody > > I wish you all a good start into the new week. :-) > > Sad

Re: Need Ajax Help

2011-01-24 Thread andy_the ultimate baker
// set flash message & redirect $this->Session->setFlash($msg,'default',array('class'=>$class)); $this->redirect(array('action'=>'user')); } i have added required .js files in Js folder of webroot. but when i click on del

Re: Need Ajax Help

2011-01-24 Thread andy_the ultimate baker
// set flash message & redirect $this->Session->setFlash($msg,'default',array('class'=>$class)); $this->redirect(array('action'=>'user')); } i have added required .js files in Js folder of webroot. but when i click on del

Need Ajax Help

2011-01-23 Thread andy_the ultimate baker
hi, i m new with ajax. i am trying to delete item using ajax, can any one help me regarding ajax, this would be the great help for me thank u andy -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.or

Re: login/logout Issue with acl tutorial

2011-01-20 Thread andy_the ultimate baker
hi, to go back to login page after logoutt all u need to sett that logoutt redirect action. like bellow function logout() { $this->Session->setFlash('You have successfully logged out'); $this->Auth->logout(); $this->redirect(array('action'=>'login')); //$thi

Re: image upload issue

2011-01-20 Thread andy_the ultimate baker
hi, thanks, On Jan 20, 11:55 pm, cricket wrote: > On Thu, Jan 20, 2011 at 3:26 AM, andy_the ultimate baker > > wrote: > > this is my view > > what changes should i do with this? > > It looks like you're using an old syntax. I think it may have been > depreca

Re: image upload issue

2011-01-20 Thread andy_the ultimate baker
> application (http://book.cakephp.org/view/1528/Blog). > > Amit Badkas > > PHP Applications for E-Biz:http://www.sanisoft.com > > On Thu, Jan 20, 2011 at 1:56 PM, andy_the ultimate baker < > > anandghaywankar...@gmail.com> wrote: > > this is my view > > wh

Re: image upload issue

2011-01-20 Thread andy_the ultimate baker
e: > Hi, > > Have you corrected field names in view (e.g., 'filedata' instead > of 'Image/filedata')? > > Also provide 'type' as 'file' to Form->create(). For example, $this->Form->create('Image', array('action'=>'

Re: image upload issue

2011-01-19 Thread andy_the ultimate baker
the code in controller's action is > > $file = $this->data['Image']['images']; > > but it should be > > $file = $this->data['Image']['filedata']; > > as the file upload field's name is 'filedata', not 'im

Re: image upload issue

2011-01-19 Thread andy_the ultimate baker
Badkas wrote: > Hi, > > What is the error you are facing? > > Amit Badkas > > PHP Applications for E-Biz:http://www.sanisoft.com > > On Thu, Jan 20, 2011 at 11:17 AM, andy_the ultimate baker < > > anandghaywankar...@gmail.com> wrote: > > hi there, > &

urgently needed a help:image upload error

2011-01-19 Thread andy_the ultimate baker
hi, while uploading image i m getting an error like bellow Undefined index: filedata [APP/controllers/images_controller.php, line 19] and Cannot modify header information - headers already sent by (output started at /home/satish/anand/cakephp/cake/libs/debugger.php:673) //this is my controller

image upload issue

2011-01-19 Thread andy_the ultimate baker
hi there, i working on image uploading, but i m facing an error, can any one solve the issue, //this is my controller file image_controller.php data)) { $this->render(); } else { //$this->cleanUpFields(); //

auth component issue

2011-01-18 Thread andy_the ultimate baker
hi, i m working on auth component in cake. the login is working but log out is not secured. when user logged out he should not move forward without login but still he can can any one tel me hoe to restrict user form moving forward without login. this is my app controller Auth->allow('admin_add

need urgent help

2011-01-18 Thread andy_the ultimate baker
hi, i m trying to redirect the action on a controller but it is redirecting to another controller action. //users_controller.php function admin_add(){ if(!empty($this->data)){ if($this->save($this->data)){ $this->Session->setFl