All Questions

RSS

0 answers

0 votes

Asked by Muthuvel, 1 day, 8 hours ago in Models

update query

hi i am new to cake.. i need to use update query... i am developing online test application...

so the user submits the answer for the first time the insert query should execute..if the user changes the answer for already answered question the...

0 answers

0 votes

Asked by simon604, 1 day, 10 hours ago in Models

Cake bake all MySQL connection error

Hi Guys, newbie here. I setup MAMP and cakePHP on my mac. I was able to do the blog tutorial and now I am doing the Acl tutorial.

When I run cake bake all, I am getting "Access denied for user 'root@localhost' (using password: YES). I have ensured...

0 answers

0 votes

Asked by manzapanza, 1 day, 14 hours ago in Components

Problem to Login with "Simple Acl controlled Application" tutorial cakephp 1.3

I have already worked with cakephp 1.2 and i have made some applications without problems about the acl but when i decided to use the new cakephp 1.3 i found this problem.

Note: I have triple checked all steps of the tutorial Simple Acl controlled...

0 answers

0 votes

Asked by echochargen, 1 day, 16 hours ago in Controllers

Route top level request

Hi -

I have a 1.2 app that I'm updating to 1.3. I need to send all top level requests like /foo to a controller action (/sites/view/$1) if they are not a valid controller. So in my 1.2 app I had a route like this (incredibly ugly I...

1 answer

0 votes

Asked by shreyas1234, 2 days ago in Controllers

Problem in saving multiple data.

Hi,

I am facing problem while saving multiple data.

I have a text area that accepts multiple names separated by new line. So after I submit i get a string. I have first exploded the string , formed na array and then want to save the newly obtained...

0 answers

0 votes

Asked by lduros, 2 days, 11 hours ago in Models

Simple ACL tutorial with HABTM groups_users

Hello,

I'm new to CakePHP and trying to do the Simple ACL tutorial in the cookbook. But while the tutorial uses a group_id from the users table to map a single group to a user, I've created a HABTM table groups_users to assign multiple groups per...

2 answers

0 votes

Asked by illum, 2 days, 17 hours ago in Helpers

Form Helper: display radios in a list

I need to make the form helper display radio inputs like below. Is this possible? How would you write it?


<label>Vertical radio:</label>
  <div class="inputs">
    <ul class="inline">
      <li><input class="radio" name="" value="" type="radio"...

0 answers

0 votes

Asked by atalon1, 3 days ago in Plugins

render element in a helper in a plugin

Hi,

I found sometime ago how to render an element in a helper:


function addnUploader() {// plugin helper function
    $theView = ClassRegistry::getObject('view');
    return $this->output($theView->renderElement('myElement'));
}

I used the same to...

0 answers

0 votes

Asked by aymanrb, 3 days, 2 hours ago in Installation / Configuration

CakePHP Session Timout Factor

My Application has been behaving in a strange manner recently that the Cake Session is renewed on every page request when using Google Chrome on some machines.

As session is a server side cookie I didn't really know why would it behave so on a per...

0 answers

0 votes

Asked by keresh, 3 days, 4 hours ago in Helpers

Why cakephp forms doesn't work with jquery (mb)menu ?

Hi

In my menu (jquery plugin named (mb)Menu) i wrote a simple login form:


<div id="login" class="mbmenu">
 <a rel="title" >Login panel</a>
 <a rel="separator"> </a>
 <a rel="text" class="rel_text">
  <?php echo $form->create('User', array('action'...
1   2   3   4   5   6   7   8   9

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.