Log message #1383162

# At Username Text
# Mar 6th 2010, 02:47 badzkun2 but when i try to call it manually like this $this->data['Message']['tag'] and find the tag value in database .. giving that errro
# Mar 6th 2010, 02:46 badzkun2 Array ( [Message] => Array ( [tag] => 11 [text] => test test test ) )
# Mar 6th 2010, 02:46 badzkun2 hiromicahn: i got the value in the array
# Mar 6th 2010, 02:43 hiromicahn when if(!empty($this->data))
# Mar 6th 2010, 02:43 hiromicahn try in controller
# Mar 6th 2010, 02:42 badzkun2 where should i put debug code? is it in the controller
# Mar 6th 2010, 02:39 badzkun2 and this is the controller file http://snipt.org/ygt
# Mar 6th 2010, 02:38 badzkun2 this is the view file http://snipt.org/ygs
# Mar 6th 2010, 02:38 hiromicahn debug($this->data) to make sure post data
# Mar 6th 2010, 02:37 badzkun2 hiromicahn this tag is field name in my form
# Mar 6th 2010, 02:36 hiromicahn if it is, youcan find id arrays in data[Tag][Tag]
# Mar 6th 2010, 02:35 hiromicahn badzkun2, Tag hadAndBelongsToMany Message?
# Mar 6th 2010, 02:32 badzkun2 in my controller i' try to call $this->data['Message']['tag']
# Mar 6th 2010, 02:31 badzkun2 to find some info in db.. but it return this error Undefined index: tag
# Mar 6th 2010, 02:29 badzkun2 how can i call data that i pass from view to controller using form
# Mar 6th 2010, 02:29 badzkun2 hi
# Mar 6th 2010, 01:46 androm cool, thanks man... will give that a try :)
# Mar 6th 2010, 01:30 Know1edge I meant redirect
# Mar 6th 2010, 01:30 Know1edge $this->Auth->loginRedirect = array('controller' => 'members', 'action' => 'home');
# Mar 6th 2010, 01:30 Know1edge oh sorry 1 sec
# Mar 6th 2010, 01:30 Know1edge $this->Auth->loginAction = array('admin' => false, 'controller' => 'members', 'action' => 'login');
# Mar 6th 2010, 01:30 Know1edge $this->Auth->LoginAction
# Mar 6th 2010, 01:28 androm Q: i'm trying to do the login thing with the Auth component. all is working, but once i login i want to get redirected to an account management area instead of the home page... how do i control that?
# Mar 6th 2010, 00:57 petteyg http://bakery.cakephp.org/articles/view/automatically-load-all-controllers-and-actions-into-aco-tables-for-acl-with-a-cakephp-task#comment-7226 - 3 spam comments. Since there's no report button, and nobody to notify, I keep posting them here. Unless somebody actually wants Bakery to be over-run by spam links, considering two of the comments have been there for over two weeks.
# Mar 6th 2010, 00:57 Know1edge Anyone have a facebook datasource?
# Mar 6th 2010, 00:27 hiromicahn *a way
# Mar 6th 2010, 00:27 hiromicahn I think if there is away to define like AppTimeHelper
# Mar 6th 2010, 00:24 hiromicahn either your own library or overriding core would work
# Mar 6th 2010, 00:23 DiegoMax that would work
# Mar 6th 2010, 00:23 DiegoMax but yah
# Mar 6th 2010, 00:23 DiegoMax p
# Mar 6th 2010, 00:23 DiegoMax i was actually going to copy the hlper and rename it to myTime or whatever
# Mar 6th 2010, 00:23 DiegoMax hah
# Mar 6th 2010, 00:23 hiromicahn and rewrite the method
# Mar 6th 2010, 00:23 hiromicahn copy core timehelper to app/libs/view/helpers/time.php
# Mar 6th 2010, 00:22 hiromicahn there is a way that is not recommended
# Mar 6th 2010, 00:22 DiegoMax ACTION blames
# Mar 6th 2010, 00:22 DiegoMax but i guess i will have to write my own function
# Mar 6th 2010, 00:22 DiegoMax niceShort() was nice because it resolved all the "x days ago" thing
# Mar 6th 2010, 00:21 DiegoMax yah, i guess
# Mar 6th 2010, 00:21 hiromicahn use format() to solve your issue