cakephp-2.1 Questions

1

Solved

I get an int value to the controller and I would like to send it to the according view, but i am either passing or accesing it wrong. Here is what I am trying to do: Controller: function send($in...
Ommatophore asked 10/1, 2013 at 9:41

1

Solved

I wonder if it is possible with CakePHP validation rules to validate a field depending on another. I have been reading the documentation about custom validation rules but the $check param only con...
Compony asked 8/1, 2013 at 14:43

1

Solved

I am using the CakePHP framework. When returning the results of a query, the framework calls the "experimental" PDOStatement::getColumnMeta to "arrayify" the data when it comes back from the databa...
Monohydric asked 1/4, 2012 at 5:33

5

Solved

I have a Cake website and it needs to have two separate logins, each one will have their own login form and see different pages, it would be nice to have two different tables because there are no s...
Tribunal asked 21/6, 2012 at 9:17

1

Solved

Whilst creating an OwnableBehavior I decided to use the $mapMethods property that is available. It is to map any method called isOwnedByXXX() to isOwnedBy() (The link for the documentation on this ...
Kenric asked 22/11, 2012 at 18:30

1

Solved

I am moving from CakePHP 1.3 to CakePHP 2.2.2 and want to use Basic Http authentication for a simple admin area. I am just not able to make it work and I am thinking that I understood something wro...
Incapacitate asked 25/9, 2012 at 15:13

4

Solved

Bounty: +500 rep bounty to a GOOD solution. I've seriously banged my head against this wall for 2 weeks now, and am ready for help. Tables/Models (simplified to show associations) nodes id nam...

3

Solved

I have to run my CakePHP 2.1 application in an environment with CGI-PHP and without the ability to declare apache aliases. I want to redirect requests to a subdomain to CakePHP with mod_rewrite, bu...
Greengrocery asked 22/8, 2012 at 20:26

2

Solved

I have used this item and get this error : Missing Helper Error: JavascriptHelper could not be found. Error: Create the class JavascriptHelper below in file: app/View/Helper/JavascriptHelper.php &l...
Bowery asked 21/8, 2012 at 8:48

1

Solved

Good afternoon. I have a Model that has a field called "percentage". All similar Models cannot have their percentages add up to more than 100%. Checking for this is handled during validation. I n...
Counterstamp asked 17/8, 2012 at 23:48

1

Solved

I stuck in a situation. I am using JS Helper. I used the following code. <?php $this->Js->get('#client_id') ->event('change', $this->Js->request(array('action' => '../ajax/ge...
Uri asked 3/7, 2012 at 6:29

2

Solved

Is it possible to turn of all CakePHP security features for only 1 particular form in a view? So I don't get any hidden fields (tokens) in that form. Thank you, Bart
Concordant asked 12/6, 2012 at 19:11

2

Solved

With the new validator object - is it possible to replace the validation error inside the validation rule triggered? to not only return the static error message but maybe some dynamically genereted...
Haag asked 15/7, 2012 at 19:12

2

Solved

I want to include Google API in my app. I want to Define Outh2 Key, Secret Key and Developer Keys as Constants which i can call and use in the App controller. Which is the best place to define the...
Mating asked 6/6, 2012 at 14:52

1

Solved

I have a question about the way view caching and browser caching work together in CakePHP 2.1. I've just upgraded my app to CakePHP 2.1, and set up HTTP caching using the new $this->response-&g...
Tewell asked 16/3, 2012 at 14:58

1

Solved

I am trying to build a simple app with CakePHP 2.1.1 using SQLite3 as the database. To save time I tried to use the bake tool to create a model for the following table: CREATE TABLE animals ( id ...
Balanced asked 29/4, 2012 at 8:27

2

Solved

I'm using the new CakePHP 2.1 and would like to use the JsonView to make my controller respond on an ajax request created by JQuery on client side. However this should be done automatically with th...
Rotatory asked 24/3, 2012 at 13:34

1

In cakephp 2.1 whats the difference between $this->data and $this->request->data?
Drain asked 15/4, 2012 at 17:9

2

Solved

I use <?php echo __("this is my string"); ?> inside my views to display text in multiple languages. I created a .po-file directory for german: => app/Locale/ger/LC_MESSAGES/defau...
Earthlight asked 6/4, 2012 at 21:51

2

Solved

I have just installed CakePHP 2.1. And just see that the naming convention of its is just change lot from the older version which making me crazy. Like it was app/controllers while now it is app/C...
Pouched asked 15/3, 2012 at 7:27

© 2022 - 2024 — McMap. All rights reserved.