Questions tagged [cakephp-2.x]

Questions about the 2.x branch of the CakePHP MVC framework. If your question applies to CakePHP in general, use the tag [cakephp].

Use this tag for questions specifically about version 2.x of the CakePHP MVC framework. If your question applies to CakePHP more generally, use the tag .

CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code.

CookBook for CakePHP 2.x

302 questions
2
votes
2 answers

CakePHP 2 Dynamic Tree Categories Menu

For CakePHP 2 I would like to create a categories menu which would list the categories of my products. It's a 3 levels menu. Each category in the menu is a link that opens a page listing all the products that belong to it. So if the category is a…
1
vote
1 answer

What is the purpose of the '.' in a CakePHP file upload form element?

long time reader, with a small question on my hands. I have been working on adding multiple file upload support to a CakePHP 2.x project, I've implemented as such in a view here;
1
vote
0 answers

Cake PHP 2 App::build() load CSS from custom module

I'm working on a Cake PHP 2 project that has a custom module system allowing for a folder within app called modules, and then each module can have Views, Controllers, Models etc... I've extended it to include a webroot directory with a css directory…
Ryan H
  • 2,620
  • 4
  • 37
  • 109
1
vote
1 answer

How to make a custom script tag for Html in Cake Php

I'm trying to import a js file as type module in CakePHP 2.10.22. You can do something like this echo $this->Html->script('test', array('inline' => false, 'type' => 'module')); but that results in the tag being like