# |
Aug 7th 2008, 08:50 |
perilousapricot |
pgcd: IIRC, you don't unless you dont like how it looks by default |
# |
Aug 7th 2008, 08:50 |
lqdice__ |
ever seen anyone do this ? |
# |
Aug 7th 2008, 08:50 |
lqdice__ |
TommyO: have you ever used the tree behavior but limit the items returned by some user access.. basically like I am using the Tree behavior to do a folder like system but i dont want all users to see all folders |
# |
Aug 7th 2008, 08:49 |
pgcd |
perilousapricot: if you've worked with it, maybe you can save me some time - do i have to edit the css? right now it shows the large image at the bottom of the page.. |
# |
Aug 7th 2008, 08:49 |
picca |
Coenraad: And both username and password fields must exist in $this->data to make Auth component hash passwords |
# |
Aug 7th 2008, 08:49 |
Coenraad |
•picca• yea, sounds like a cake-core issue |
# |
Aug 7th 2008, 08:49 |
TommyO |
ACTION looks |
# |
Aug 7th 2008, 08:49 |
TommyO |
much more likely to get help now :) |
# |
Aug 7th 2008, 08:49 |
fourcs |
http://bin.cakephp.org/view/3911123 |
# |
Aug 7th 2008, 08:49 |
Coenraad |
•picca• ah ok.. sucks |
# |
Aug 7th 2008, 08:49 |
picca |
Coenraad: I think it does not accept id field because it is auto_increment |
# |
Aug 7th 2008, 08:48 |
TommyO |
fourcs: if you paste the whole url we'd have something to click rather than the extra work of rebuilding the url |
# |
Aug 7th 2008, 08:48 |
picca |
Coenraad: I know, $this->Auth->fields, but Auth does not accept this field. |
# |
Aug 7th 2008, 08:48 |
fourcs |
Can anyone give me an idea why some radio button code in one view won't work in another view?, url 3911123 |
# |
Aug 7th 2008, 08:47 |
Coenraad |
•picca• yes it is, you can specify the fields yourself |
# |
Aug 7th 2008, 08:47 |
picca |
Is it possible to make Auth component using id as username? |
# |
Aug 7th 2008, 08:46 |
perilousapricot |
just trying to help :) |
# |
Aug 7th 2008, 08:46 |
pgcd |
perilousapricot: thank you anyway - i'm trying to use it right now... |
# |
Aug 7th 2008, 08:45 |
Coenraad |
•lqdice__• somehow it picks the name of a totally different controller to redirect you to |
# |
Aug 7th 2008, 08:45 |
florent |
lqdice__, the validation is indeed working as expected. the error was somewhere else. |
# |
Aug 7th 2008, 08:44 |
KyJace |
$this->Acl->allow('visitors', '/') returns Warning (512): DbAcl::allow() - Invalid node [CORE/cake/libs/controller/components/acl.php, line 367]. I added visitors as a group in ARO and '/' in ACO |
# |
Aug 7th 2008, 08:42 |
Coenraad |
but still it acts weird |
# |
Aug 7th 2008, 08:42 |
perilousapricot |
pgcd: oh, scratch that, I see someone replied down lower |
# |
Aug 7th 2008, 08:42 |
Coenraad |
•lqdice__• i rewrote it to $this->redirect($this->Auth->loginRedirect); |
# |
Aug 7th 2008, 08:42 |
perilousapricot |
pgcd: there's a tutorial somewhere on the internet of integrating it with cake |
# |
Aug 7th 2008, 08:41 |
perilousapricot |
pgcd: it's called lightbox |
# |
Aug 7th 2008, 08:41 |
lqdice__ |
i dont think loginRedirect is a function |
# |
Aug 7th 2008, 08:40 |
Coenraad |
but still the weird redirect.. |
# |
Aug 7th 2008, 08:40 |
Coenraad |
although, i had: $this->redirect($this->Auth->loginRedirect()); |
# |
Aug 7th 2008, 08:40 |
Coenraad |
i already wrote that ^_^ |
# |
Aug 7th 2008, 08:40 |
Coenraad |
oh |
# |
Aug 7th 2008, 08:40 |
Coenraad |
ok, im gonna give it a try |
# |
Aug 7th 2008, 08:38 |
lqdice__ |
Coenraad: i believe it will redirect to the page that sent it there or if no page sent it there then to the one specified in loginRedirect.. but im not 100% sure.. you should be able to force the loginRedirect page by doing a $this->redirect($this->Auth->loginRedirect) in the login() action |
# |
Aug 7th 2008, 08:38 |
fourcs |
Anyone have any words? |
# |
Aug 7th 2008, 08:37 |
Coenraad |
im having a problem with the Auth component, it isnt redirecting me properly after logging in for the first time. I specified the $this->Auth->loginRedirect. Anybody who thinks he can help me out? |
# |
Aug 7th 2008, 08:37 |
KyJace |
hello...anybody familiar with ACL? |
# |
Aug 7th 2008, 08:36 |
florent |
lqdice__, ok |
# |
Aug 7th 2008, 08:35 |
depinko |
any ideas? |
# |
Aug 7th 2008, 08:35 |
lqdice__ |
as in, did not have a column for a field |
# |
Aug 7th 2008, 08:35 |
lqdice__ |
florent: i dont believe so because I have created contact forms that did not follow those rules |
# |
Aug 7th 2008, 08:35 |
pgcd |
nilsel: yep, that's the one |