I download mIRC, how could I join into cakephp IRC ?
irc://irc.freenode.net/cakephp
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To u
I try on magento, which is pretty good,
I wonder does cake have similar completed cart ?
coz, i perfer cake rather than zf framework.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
I create the following structure of the data,
I am able to save Order Table, however I m still unable to save
Orderdetail
---
Array
(
[Order] => Array
(
[customer_id] => 1
[user_id] => 11
)
[Orderdetail] => Array
(
Yep, I try to register to bakery
but never got any activiation email
:(
so no way to login into bakery
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@
5 steps to make it works :)
1. Download log4php http://www.vxr.it/log4php/download.html
2. Extract and copy log4php directory into app/vendors
3. create a log4php config file (I put it under app/vendors/log4php/
config/MyLogger.xml )
-File Start [MyLogger.xml ]
ht
I create a LOG components, it works fine (i believe)
only it won't work in beforeFilter (so-far).
I found some post, it mentions, thats no component load up in
beforeFilter ,
then what should I do now?
--~--~-~--~~~---~--~~
You received this message because you a
if i use LOG_DEBUG , can I stop it once in production machine ?
or I HAVE to remove all the $this->log(xx, LOG_DEBUG) ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send e
I want to create a reusable component in the View . e.g. Menu Bar,
login box,
should it be the 'Component' or Helper ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send e
$this->view->viewVars['test']
it works now
:)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send em
Thx for reply.
I tried,
but its NOT working :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send em
I set a variable in controller page
$this->set('test', 'test');
In View , i can get the variable
but
in custom helper page
I try to get to do
print $test. which is not working
any idea how can i get it ?
or I MUST pass it through parameter ?
in View
$myHelper->link($test, );
Helper
func
i still can't find the way to get the ACO corresponding ARO
any help ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
in your provided code,
we might to update helper.php
var $tags = array('link' => '%s',
'mailto' => 'mailto:%s"; %s>%s',
'form' => '',
I cant generate this kind of format ['model'][0]['Name'], ['model'][1]
['Name]
but I m trying to put the id into tag name
$html->input("product/qty".$product['Product']['id']);
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
I know how to do in PHP,
but I have no idea how to work it on cakePHP
e.g.
I have a table of products,
and I will list all the products in one form , one page,
-Name, Desc, Qty, Price, Total
-Name, Desc, Qty, Price, Total
-Name, Desc, Qty, Price, Total
-Name, Desc, Qty, Price, Total
user will i
$tmp = $this->Acl->getAco('users.7');
users.7 is Aro ID
I try to use getAco, but it didnt get what I want
any idea how to getAco object ?
aco Object
(
[useDbConfig] => default
[cacheQueries] =>
[_log] =>
[useTable] =>
[displayField] => id
[id] =>
[data] => Array
it seems the helper is outdated, YUI came with new version, I cant
make it works
I m still trying,
anyone implemented already ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this grou
Finally, i go through all the basic ACL setup,
I try to use your provided code.
it seems , i have to pass $actionAcoList from my controller
$actionAcoList is array of the Aco list,
does Aco provide that method ? (I can't find it)
or I have to open db table and loop all result into array ?
2nd m
$this->Session->read('User') is the object of the User ,
should I only pass user->id into it ?
2nd, i forgot which version I downloaded , how could I check it ?
Thanks
Calvin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
I just did a simple test on ACL , but i m not sure which part that I
did wrong,
it always points to "access denied" for me once, (i m testing on
single action, instead of do beforeFilter() )
ARO tree
group.all
|-group.0
|-user.root
I login as root user
Acl->allow('group.all', '/users'); //Mak
I used command line to create a group in aro
php acl.php create aro 0 0 user.all
php acl.php create aro 0 0 user.general
php acl.php create aro 0 0 user.sales
I would like the tree like
user.all
|- user.general
|- user.sales
I try to use setParent(), which is not working
>>php acl.php setPare
Thanks pointing me to the direction,
I read ACL , and I understand that ACL can control the action,
but how about group can edit certain fields
e.g.
product table.
id, Name, QTY, SalePrice
-Admin Can edit all the fields above
-Saleman, only can edit on "SalePrice" field ONLY
it means, admin hav
we have 3 different groups
- User
- Salesman
- Admin
In product table,
- User can view the product info
- Salesman can update/edit some (not all) fields
- Admin can add/delete/edit
in this scenario,
should I create "action" for all of them in product controller,
- user_view
- salesman_view
- sa
yes , i set it up already,
in controller i added this variable
$this->set('groupArray', $this->User->Group->generateList());
and the view
selectTag(
'User/group_id',
$groupArray,
null,
array(),
array(),
true
);
?>
now works fine.
one other qu
I have 2 simple tables
Groups [id, name]
Users [id, name, group_id]
when admin create a new user , he has to fill in the group
I try to use selectTag() to build the Group drop down in User page,
but I have no idea how could cake do that for me ?
any snipper code / direction will help
Thanks
25 matches
Mail list logo