CodeFest - Online Coding Festival by Department of Computer Engineering, IT-BHU

2011-01-17 Thread vishal kumar rai
Hello, We are delighted to inform you that *CodeFest* * *, the annual *International online coding festival* of *Computer Engineering Society, IT-BHU*, has been unveiled. CodeFest is a unique fest wherein concepts of mathema

CodeFest - Online Coding Festival by Computer Engineering Society, IT-BHU

2011-01-17 Thread vishal kumar rai
Hello, We are delighted to inform you that *CodeFest* * *, the annual *International online coding festival* of *Computer Engineering Society, IT-BHU*, has been unveiled. CodeFest is a unique fest wherein concepts of mathematics,

isAuthorized not called and Multiple sessions

2009-09-17 Thread Vishal
of setFlash it creates another session and when I try to write something to it using $this->Session->write('style', 'main'); it creates another. Experts out there pls help! Thanks Vishal --~--~-~--~~~---~--~~ You received this message bec

Re: Problem with find condition and array

2009-08-28 Thread Vishal G
Hi, yes, you are on right track... this is how you should do it $audios = $this->Audioplaylist->Audio->find('all', array('conditions' => array('Audio.id' => $audioIds) ) ); This will translate to Audio.id IN (1, 2, 3) Your problem might be because of your array. Make sure your array $audi

Pagination Complex Query

2009-08-28 Thread Vishal
Hi Guys, I think I got interesting question for you all. I have to paginate this query and since I am using paginate in this controller in several actions I can't even override paginate method in my model class. I have to achieve this using bindModel kinda methods. Simple Many-to-Many relation

fill dropdown by cake from database model???

2008-05-23 Thread vishal
$this->set('Message', $this->Message->read()); } function delete($id) { $this->Message->del($id); $this->flash('The message with id: '.$id.' has been deleted.', 'http:// 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/index

Help me friends(dropdown issue)

2008-05-23 Thread vishal
$this->set('Message', $this->Message->read()); } function delete($id) { $this->Message->del($id); $this->flash('The message with id: '.$id.' has been deleted.', 'http:// 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/index

tiny MCE editor issue

2008-05-21 Thread vishal
the editor. thanks always in advance..!! vishal --~--~-~--~~~---~--~~ 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,

Drop down values problem

2008-05-21 Thread vishal
user table) i.e i want to fill it dynamically from database table. The controller page is : data)) { if ($this->Message->save($this->data)) { $this->flash('Your Message has been saved.','http://192.168.0.

can anybody help me for paging

2008-05-20 Thread vishal
Hi, I am new on this community..can any body help me for paging. this is my file: Admin Panel link('Add User', 'http:// 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/users/add'); ?> Name Address Phone

Help me please for flash(swf file) handling

2008-05-20 Thread vishal
link('User', 'http:// 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/users/index'); ?> link('Messages', 'http://192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/ index'); ?>

Re: Layout change in edit case(help me please)

2008-05-20 Thread vishal
s->set('users', $this->User->find('all')); $data = $this->paginate('User'); $this->set(compact('data')); } function view($id) { $this->User->id = $id; $this->set('user', $this-

Layout change in edit case(help me please)

2008-05-20 Thread vishal
Hi, Myself vishal facing a problem while editing.when i edit the layout changes. so anybody help me please.. But in case of add it look well. This is the details of the file: Layout file: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/19

How display & stored images

2008-05-20 Thread vishal
Hi, Myself vishal facing a problem while uploading the image.Actually the image path stored in the database.I want to dispaly that uploaded image on front. This is my code : add.ctp file Add User create('User', array('action' => ''); echo $form->input

setting path in app/webroot/index.php

2008-05-19 Thread vishal
Hi All, I am New user on this community..can any body help me please ! I have problem in setting the path in app/webrot/index.php My cake is installed in: X:\small_projects\vishal if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR);

undefined variable problem $form

2008-05-19 Thread vishal
#x27;limit' => 4, 'order' => array( 'User.name' => 'asc' ) ); function index() { //$this->set('users', $this->User->find('all')); //$data = $this->paginate('User

List of ACO's for a given user (ARO)

2007-06-05 Thread Vishal
Hi there, I have been looking for a way to get a list of the available ACO's for a given ARO/user. There does not appear to be a simple method of any of the ACL objects to get the list. Can someone point me in the right direction? Thank you. --~--~-~--~~~---~--~--

Ajax + CakePHP + Tree Menu (Ver Urgent)

2007-05-23 Thread Vishal
Hi Guys, I have search the WWW like anything... I have the basic knowledge of Ajax, javascript and cakePHP... I am trying to create a dynamic tree view of data entries using cakePHP and Ajax... Something like this:- Book1 Title Author Book2... where book information is in book table, title i

Re: Unary M-M Realationship

2007-04-25 Thread Vishal
Hi john, Can you explain why you think it is. I dont think its HABTM case but I am not sure may be it is. Thanks Vishal On Apr 26, 2:10 pm, "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > On Apr 25, 2007, at 9:42 PM, Vishal wrote: > > > > > Any

Re: Unary M-M Realationship

2007-04-25 Thread Vishal
ossible by setting the $parimary_key variable. Let me know if I am moving in reight direction. Thanks Vishal On Apr 26, 2:06 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > If you need answers fast then email lists are not your best bet use > the irc channel info on the

Re: Unary M-M Realationship

2007-04-25 Thread Vishal
Hi john, Can you explain why you think it is. I dont think its HABTM case but I am not sure may be it is. Thanks Vishal On Apr 26, 2:10 pm, "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > On Apr 25, 2007, at 9:42 PM, Vishal wrote: > > > > >

Re: Unary M-M Realationship

2007-04-25 Thread Vishal
Anyone? Please I need the answer ASAP. On Apr 26, 1:36 pm, Vishal <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I am new with CakePHP as everyone is. What I want to know that how to > use the associations to handle the Unary M-M relationship. I am > working on university databas

Unary M-M Realationship

2007-04-25 Thread Vishal
where the table will have subject_id refer to subject(id) and prerequisite_subject_id which also refer to subject(id). Combination of both these id's is the primary key. I dont know how to show this in terms of association in CakePHP. Anyone who knows how to do this. Pls answer. Thanks V

mod_rewrite Problem

2007-04-16 Thread Vishal
tutorial and change their permission but still I can't access the files... I am trying www.**.com/cake/posts but the web server simply shows the 404 not found page. Is it because of mod_rewrite or something else... Please Help! Vishal --~--~-~--~~~---~--~