Passing Variable from View to js

2011-04-12 Thread Shashank
Hey Guys, I wanted to know that how can i pass or set a varibale in a view file to be used in some js file. Thanks -- 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 their

Problem with importing a controller

2011-04-07 Thread Shashank
Hey Guys, I am trying to import a controller into my another controller. Say i am importing controller1 into my controller2 like ds: App::import('Controller', 'Users'); after that when i am trying to instantiate it i am getting an error: Parse error: syntax error, unexpected T_VARIABLE,

Re: Contact us form

2011-04-06 Thread Shashank
CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Shashank Singh B.E.(Computer

Re: Contact us form

2011-04-06 Thread Shashank
CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- Shashank Singh B.E.(Computer

Group Chat in cake

2011-04-06 Thread Shashank
Hi i want to implement a Group chat feature in my cake php. What i want is: 1. A user can initiate a chat and invite some of his friends. 2. The invited friends accept the chat request and join the chat. -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085

Re: Auto complete in Cakephp

2011-04-05 Thread Shashank
helper in my controller. I am really not getting what i am doing wrong in here. On Tue, Apr 5, 2011 at 10:40 AM, Shashank cooldude17202...@gmail.comwrote: Hey guys, i want to know one more thing in autocomplete. I managed to get it working. Now wat i was thnkng is, how can i get multiple

Auto complete in Cakephp

2011-04-04 Thread Shashank
Hi Guys, I am trying to use autocomplete in my cakephp, but getting an error like ds: $(#UserUsername).autocomplete is not a function [Break on this error] $('#UserUsername').autocomplete('/events/ addevent', {}); i have no idea why i am getting this error??. Can anyone suggest me anything??

Re: Auto complete in Cakephp

2011-04-04 Thread Shashank
Hey guys, can anyone plz suggest me what can be done for this?? On Mon, Apr 4, 2011 at 8:31 PM, Shashank cooldude17202...@gmail.com wrote: Hi Guys, I am trying to use autocomplete in my cakephp, but getting an error like ds: $(#UserUsername).autocomplete is not a function [Break

Re: Auto complete in Cakephp

2011-04-04 Thread Shashank
to import jQuery and jQuery UI I use autocomplete too and it works fine. check this tutorial : http://blogfreakz.com/cakephp/cakephp-jquery-autocomplete-tutorial/ On 4 avr, 17:12, Shashank cooldude17202...@gmail.com wrote: Hey guys, can anyone plz suggest me what can be done

How to know if a user has left a particular page

2011-03-31 Thread Shashank
Hi Guys, I want to know is there any way of knowing if a user has left a particular page. What i mean is, suppose a user is on a page game/start, and he just closes his browser without logging out of the game than how do i get to know if he left the game or not?? Thanks in advance!!! -- Our

Chat in Cakephp

2011-03-29 Thread Shashank
Hi, I want to implement chat in my cakephp. I did a search over the net and found only one Ajax Chat Plugin, but i have two issues in it: 1. How to implement it. I am getting problems in that. 2. Is this is the only plugin available for chat in cakephp?? Thanks -- Our newest site for the

Re: Chat in Cakephp

2011-03-29 Thread Shashank
zero myself, so i can also practice my coding experience. tq On Tue, Mar 29, 2011 at 2:12 PM, Shashank cooldude17202...@gmail.comwrote: Hi, I want to implement chat in my cakephp. I did a search over the net and found only one Ajax Chat Plugin, but i have two issues in it: 1. How

Re: Chat in Cakephp

2011-03-29 Thread Shashank
i can see the jquery and chat.js and chat.css loading. But i am not getting it to work. I want to know where i am wrong. On Tue, Mar 29, 2011 at 1:37 PM, Shashank cooldude17202...@gmail.comwrote: Ya i think you are right. Building it from zero will be a gud idea. On Tue, Mar 29, 2011 at 1:31

Re: Chat in Cakephp

2011-03-29 Thread Shashank
I tried to put all the files like controller, model, js,css into the plugin folder. But now when i click on send i get this error *The requested address '/chat/post' was not found on this server.* On Tue, Mar 29, 2011 at 2:59 PM, Shashank cooldude17202...@gmail.comwrote: I tried implementing

Upload Multiple images in Cakephp

2011-03-28 Thread Shashank
Hi Guys, I want to know is there any way so that i can select multiple images and upload them on a single click. I searched for it over internet and i found that Multiple Image Upload by Koa, but that doesnt seem to be good enough for me because it stores all the three names of the uploaded images

Re: Upload Multiple images in Cakephp

2011-03-28 Thread Shashank
Its not working!!! On Mon, Mar 28, 2011 at 2:52 PM, Ryan Snowden sicapi...@gmail.com wrote: Try Jquery FileUpload - http://aquantum-demo.appspot.com/file-upload I went through a lot... and it did the trick without all the fuss. On 28 March 2011 16:43, Shashank cooldude17202...@gmail.com

Re: Upload Multiple images in Cakephp

2011-03-28 Thread Shashank
, visit this group at http://groups.google.com/group/cake-php -- Shashank Singh B.E.(Computer Science) Software Developer +91-9711882054 +91-9560545085 Skype id: shashank.singh87 Email: shashank.si...@sourcefuse.com -- Our newest site for the community: CakePHP Video Tutorials http

Re: Upload Multiple images in Cakephp

2011-03-28 Thread Shashank
to do now??? On Mon, Mar 28, 2011 at 9:36 PM, Shashank cooldude17202...@gmail.comwrote: My mistake. I tried the Jquery FileUpload - http://aquantum-demo.appspot.com/file-upload... but i am not getting how to implement it. I mean i use it into my cakephp installation but i am not getting how

Re: Upload Multiple images in Cakephp

2011-03-28 Thread Shashank
, Mar 28, 2011 at 9:41 PM, Shashank cooldude17202...@gmail.comwrote: Even if i just download the source code, and run the example index.html file, i am getting an error like ds in my firebug *uncaught exception: Invalid JSON: ?php $file = $_FILES['file']; echo {name:'.$file['name'].',type:'.$file

Passing variable From Controller to a View

2011-03-23 Thread Shashank
Hi Guys, This might be a stupid question, but i am really not getting it into play after so many tries. What i have is a left.ctp file in my app/views/elements And what i am trying to do is, i have a function show in my users controller and in that function i am setting a variable to use in view

Getting Error (Call to undefined method UsersController::element())

2011-03-23 Thread Shashank
I am getting this error while using echo $this-element('left', array(b = current)); Error i am getting is: Call to undefined method UsersController::element() Can someone tell me wats the issue here is?? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Re: Getting Error (Call to undefined method UsersController::element())

2011-03-23 Thread Shashank
jeremybu...@classoutfit.com http://www.classoutfit.com On 24 Mar 2011, at 05:31, Shashank wrote: I am getting this error while using echo $this-element('left', array(b = current)); Error i am getting is: Call to undefined method UsersController::element() Can someone tell me

Re: Getting Error (Call to undefined method UsersController::element())

2011-03-23 Thread Shashank
be referenced from anywhere with the following limitations: - Elements = views - Components = controllers - Behaviours = models Jeremy Burns *Class Outfit* * * jeremybu...@classoutfit.com jeremybu...@mac.com http://www.classoutfit.com On 24 Mar 2011, at 05:36, Shashank wrote: i am calling

Re: Getting Error (Call to undefined method UsersController::element())

2011-03-23 Thread Shashank
)); In your element: - echo $abc; Jeremy Burns *Class Outfit* * * jeremybu...@classoutfit.com jeremybu...@mac.com http://www.classoutfit.com On 24 Mar 2011, at 05:43, Shashank wrote: so then tell me one thing... i have a varibale $abc in my controller... How can i get it in my app/views

Re: Problem Using Ajax in Cakephp

2011-03-18 Thread Shashank
based on jquery. On Fri, Mar 18, 2011 at 1:19 AM, Jens Dittrich jdittr...@gmail.com wrote: You should read the book. Especially the section about the JsHelper http://book.cakephp.org/view/1593/Methods The function you might want to use is request(). On 17 Mrz., 09:36, Shashank cooldude17202

Vedio Upload in Cakephp

2011-03-18 Thread Shashank
Hi, I am trying to do something new here. I want a feature something like ds: A user been able to upload a vedio from his local pc, and then he can go over the site to play and watch it. I have no idea how to do ds. But i need to get it done asap. Any helps will be greatly appreciated!!! --

Share You tube Vedios in Cakephp

2011-03-18 Thread Shashank
Hi Guys, I need to know a way that enables the user to share youtube vedios on the site. Thanks -- 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 their CakePHP related

Re: Share You tube Vedios in Cakephp

2011-03-18 Thread Shashank
from youtube eg : iframe title=YouTube video player width=480 height=390 src= http://www.youtube.com/embed/8rluU6BGpKw; frameborder=0 allowfullscreen/iframe ? And then echo that in the view? On 18/03/2011 09:58, Shashank wrote: Hi Guys, I need to know a way that enables the user to share

Re: Vedio Upload in Cakephp

2011-03-18 Thread Shashank
Hmm. Then let me try it through you tube then . On Fri, Mar 18, 2011 at 1:36 PM, mike karthauser mi...@brightstorm.co.ukwrote: On 18 Mar 2011, at 07:30, Shashank wrote: Hi, I am trying to do something new here. I want a feature something like ds: A user been able to upload a vedio from

Problem Using Ajax in Cakephp

2011-03-17 Thread Shashank
Hi, I am badly stuck in a problem here. The situation is something like this, i have some feature of a social networking site in my site that is under development. What i want is that when a user updates his status, the page should not get refreshed, it shud just make and ajax call and return the