I fail to see the benefit in that extra overhead, when you can just
use:
$this-Form-input('Model.id');
The default input will be hidden and if you're using the Security
Component (as you should!) it will be protected from tampering. That
way the ID of the editable record is within $this-data,
Neverimind, I realized you have to declar each App::import('Vendor',
'libraryfile') ; separately, I had thought that you could just list
multiple files off in the same ( ) (like when including a component in
CakePHP) but realized you have to make a new line for each new vendor
file you want to
Thank you
did not expect the it is free so take it or leave it speech from
you.
my concern is security. but ofcourse who the heck cares, lets thrash
people.
thank for the help.
On Jun 29, 8:59 pm, AD7six andydawso...@gmail.com wrote:
On Jun 29, 5:01 am,Vangelabhishek.duj...@gmail.com wrote:
On Jun 29, 8:38 pm, Larry E. Masters aka PhpNut php...@gmail.com
wrote:
Sounds like you are not using the proper settings in core.php to set the
cookie name. Look @ the doc comments in the file they should explain how to
do this.
As for the branding override all of the templates from the
Hi seems that the fastest solution - is set FULL_BASE_URL in the cron
dispatcher
if (!defined('FULL_BASE_URL')) {
define('FULL_BASE_URL', 'http://www.mydomain.com');
}
if someone knew better way - please tell me.
Thank you.
Check out the new CakePHP Questions site
UPDATE:
Now I Included
NETWORK:
/requests
/requests/
/requests/*
*/requests/*
requests/
requests
in the file... I don't know which line worked for it but it doesn't
include anything in the cache now. It removes all cached links when
the requested URL is somewhere in the requests controller.
I
Hi,
i am using milesj uploader behaviour (http://www.milesj.me/resources/
script/uploader-plugin)
and it is working fine. However i want to make multiple
thumbnails(multiple resize transforms), something like:
class Upload extends AppModel {
var $actsAs = array(
'Uploader.Attachment'
Hi,
i have
cat.domain.kz
news.domain.kz
laws.domain.kz
how to implement controller name as subdomain
thanks for you answers
Baurzhan
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are
During installation Smarty to my CakePHP 1.3 error occurs:
Undefined property: Configure::$viewPaths [APP/views/smarty.php, line
196].
What is wrong???
smarty.php - http://cakeforge.org/snippet/download.php?type=snippetid=389
Check out the new CakePHP Questions site http://cakeqs.org and help
Hi,
I have a model with many fields and many records in the database. To
avoid clutter, I want users to be able to apply some filters when
viewing all records (ie: model-index()). Let's say I have a model
Song:
id, (fk) artist_id, name, (fk) genre_id, (fk) album_id, (boolean)
has_lyrics
The
Hello,
I am new at CakePhp. I want to create a website that has 3 columns.
One column for latest 20 post, second column for top viewed posts this
week and third column for top viewed posts this month. I succeeded
coding one column but my mind frozen about finding a way to implement
other columns.
Hey guys, I've got a bit of a noob request. What's the easiest way to
upgrade to 1.3.2 stable from the 1.3.0.0 version? I'm also running
svn by the way.
Thanks!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this
Migrating from 1.3 alpha to 1.3.2 should be similiar as 1.2 to 1.3
(probably even easier).
Just follow the migration guide:
http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3
On 3 Lip, 15:31, Warren wcolb...@gmail.com wrote:
Hey guys, I've got a bit of a noob request. What's
You don't need another controller or action if all of this elements
applies to posts.
First prepare 3 column layout:
http://book.cakephp.org/view/1080/Layouts
And then use view elements:
http://book.cakephp.org/view/1081/Elements
One element for latest 20 posts, one for top viewed and one for
Check this filter plugin:
http://github.com/josegonzalez/cakephp-filter-plugin
On 2 Lip, 23:40, Aircule poi...@gmail.com wrote:
Hi,
I have a model with many fields and many records in the database. To
avoid clutter, I want users to be able to apply some filters when
viewing all records
use something like phpthumb and place it in vendors
see
http://bakery.cakephp.org/articles/view/thumbnails-generation-with-phpthumb
- S
On 3 July 2010 12:10, K3 kiril.zvezdako...@gmail.com wrote:
Hi,
i am using milesj uploader behaviour (http://www.milesj.me/resources/
Yup thanks. I was using the migration guide but I did have some
issues. I worked them out though. I should probably post some of my
findings.
On Jul 3, 11:04 am, red mbu...@gmail.com wrote:
Migrating from 1.3 alpha to 1.3.2 should be similiar as 1.2 to 1.3
(probably even easier).
Just follow
TABLES:
User:
id, username, password
Customer:
id, user_id, name, type, city
MODELS:
class Custumer extends AppModel {
var $name = 'Custumer';
var $hasOne = array(
'User' = array(
'className' = 'User',
I found the problem. Tks 4 all
On 3 jul, 19:03, guvilla guvi...@gmail.com wrote:
TABLES:
User:
id, username, password
Customer:
id, user_id, name, type, city
MODELS:
class Custumer extends AppModel {
var $name = 'Custumer';
var $hasOne = array(
In my aros_acos table, I do not want to have records related to Users
of my site, I would prefer to establish access rights using the Groups
for my Users.
In the console I want to setup access rules such as this
cake acl grant Group.1 Widgets/index read;
NOT
cake acl grant User.23
You might want to take a look at the 960 grid bake template, found in
the Bakery a few weeks back:
http://bakery.cakephp.org/articles/view/960-fluid-grid-system-bake-templates
On Jul 3, 6:24 am, Ahmet Kemal ahmetkemala...@gmail.com wrote:
Hello,
I am new at CakePhp. I want to create a website
Sounds like the code is using methods that have been deprecated/
removed in the version of cake you are using. You'll probably need to
update the SmartyView to use the new methods.
-Mark
On Jul 2, 1:58 pm, zoran lu...@lupusart.net wrote:
During installation Smarty to my CakePHP 1.3 error
22 matches
Mail list logo