Commit graph

265 commits

Author SHA1 Message Date
gwoo
e712f87fc0 fixing displayFields in formHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4031 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 21:37:54 +00:00
gwoo
8657757bde fix form helper, bake, refactor Controller::_selectedArray to just take the association name and checks Controller::data, also made Controller::_selectedArray work for submitted form data and returned model data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4029 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 10:21:22 +00:00
gwoo
79e93c180e fix form helper notice with empty options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4028 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 08:14:55 +00:00
gwoo
e2614e5140 updating bake and form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4027 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:58:35 +00:00
phpnut
dc90e5f749 Renaming _viewVars to viewVars in ThemeView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4026 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:32:14 +00:00
phpnut
5a74812c7b Adding fix for Ticket #1661
Fixed same issue in function cache() in basics.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4014 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:34:28 +00:00
gwoo
32cca7345e updating css in 1.2, error_message is now error-message, form-error added for input fields, altRow changed to altrow. Cake conventions are CamelCased for DOM id, dashed-words for css classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4011 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 21:14:28 +00:00
phpnut
2e8730e543 Merging fixes from 1.1.x.x into 1.2.x.x
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4010 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 11:18:05 +00:00
gwoo
083a3bf990 fix for FormHelper:create()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3997 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 19:56:06 +00:00
nate
bce8e016d2 Adding to last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3987 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:25 +00:00
nate
1e5dbe0e69 Adding to last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3986 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:00 +00:00
nate
c4bee9b414 Fixing validationErrors, and updating ClassRegistry alias for View
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3985 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:45:03 +00:00
gwoo
dfcc29f6bf refactoring scaffold, scaffodl views, generateFieldNames, FormHelper, ClassRegistry, missingView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3983 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 01:04:19 +00:00
nate
890c0125c8 Adding model-based form creation to FormHelper, deprecating old methods, and fixing issue where using $uses in AppController overwrites existing models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3982 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 20:43:54 +00:00
gwoo
59049a0fa8 refactoring scaffold and generateFieldNames
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3980 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 06:15:30 +00:00
phpnut
ccfd962f98 Renaming core view templates with the new CakePHP extension .ctp
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3978 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 03:22:02 +00:00
gwoo
3bcf9e6044 fix for thtml custom missingView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3976 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 00:10:59 +00:00
gwoo
9ad12b1f4e removed errant echo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3975 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 00:06:20 +00:00
gwoo
9e404b3ce3 refactor of view paths
refactor theme view paths
fix cleanUpFields error, changed ext in controller to ctp, fix for paginate conditions and scope

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3970 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 22:04:43 +00:00
gwoo
4320acdb96 1.2: continue refactor of view files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3969 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 21:27:34 +00:00
phpnut
76394b643f Refactoring loading plugin views and layouts.
Plugin templates can be overridden in the app/views/plugins/$plugin/$viewPath directory
If template is not found in this directory or the app/plugins/$plugin/views/$viewPath a missing 
view error will be rendered

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3966 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 19:58:16 +00:00
phpnut
0c0ba050cb Cleaning up core views/caching.php
Removing unused files in app/webroot/css/

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3965 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 18:23:53 +00:00
dho
3682fff468 Replacing deprecated $html->formTag with $form->create
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3964 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 17:33:42 +00:00
phpnut
e0096f0528 Fixing CacheHelper after removal of controller from View
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3962 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 09:27:13 +00:00
nate
b7e8551143 Updating AjaxHelper docblocks to remove references to deprecated methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3960 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:57:27 +00:00
nate
41c79da1c3 Removing direct reference between View and helpers, and explicitly defining all Helper object properties
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3959 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:55:16 +00:00
phpnut
1fa21aa551 Refactoring session classes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3958 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:43:17 +00:00
nate
11d5b0fa7b Removing extra directory separators in uses() paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3953 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 04:31:26 +00:00
phpnut
c308326555 SessionComponent and SessionHelper to extend CakeSession.
Refactored both classes and added doc comments

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3952 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 04:15:08 +00:00
dho
50a8925070 Replacing wiki link with link to the bakery
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3950 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 12:30:59 +00:00
phpnut
54f770ae53 Refactoring fix for Ticket #1648
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3949 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 04:41:56 +00:00
phpnut
e42df60a24 Adding fix for Ticket #1648
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3948 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 03:53:44 +00:00
nate
00741f0ca6 Adding default overload methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3946 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 22:48:47 +00:00
dho
ac310dbabe Typo (ticket #1416)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3942 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 17:07:28 +00:00
phpnut
c41db64070 Adding fix for Ticket #1527
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3937 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:17:05 +00:00
phpnut
984ceb3b51 Adding fix for Ticket #1629
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3935 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:06:49 +00:00
phpnut
2d83d125e4 Updating core views to render better notices
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3934 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 09:50:20 +00:00
phpnut
9703a90937 Merging fix from [3228]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3933 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 07:51:13 +00:00
phpnut
3343368dde Adding loadModels() to cached views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3897 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 17:54:22 +00:00
phpnut
2ab7e5120d Removing Helper::readConfigFile().
tags.ini.php will not be used as of 1.2
file should be changed to tags.php and use php arrays.
$tags['tagname'] = 'value';

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3893 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 04:27:23 +00:00
phpnut
056bda7e4b Moving all tags from Helper to child classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3892 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:51:21 +00:00
phpnut
22588729d4 Moving helper tags to specific helper classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3891 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:32:58 +00:00
phpnut
204ff6bcbb Refactoring Helper class and adding tags.php as a var.
Removing old /config/tags.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3890 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:16:34 +00:00
phpnut
95c919a7a5 Updating changes made to the core files that are loaded
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3889 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:47:42 +00:00
phpnut
30cf172bbc Refactoring helper tags
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3880 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:05:57 +00:00
gwoo
8b88865c29 1.2 RssHelper: fixing enclosure bug
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3876 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-18 22:58:29 +00:00
gwoo
d31434336b fix for enclosures in rss helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3871 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 16:33:57 +00:00
phpnut
f95285d75f Starting to change all core code that uses $this->params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3859 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 00:12:34 +00:00
nate
99a420c8ef Refactoring code, adding error message to deprecated method (View::setLayout), and updating method references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3858 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-11 21:05:00 +00:00
nate
31623de654 Adding $scripts_for_layout to default template
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3856 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:41:35 +00:00