# |
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 |
# |
Aug 7th 2008, 08:35 |
florent |
in other words, does validation works on a field that is not defined in the schema? |
# |
Aug 7th 2008, 08:33 |
stevieboy |
ACTION votes for ~logs for the whole life - replaying is better then reminding |
# |
Aug 7th 2008, 08:33 |
florent |
when I set a validation rule for a password confirm field for example, is it mandatory that this field also exists in the table? |
# |
Aug 7th 2008, 08:32 |
pgcd |
nilsel: i don't know the name, but it's a very very common (over-exposure, methinks) way to go from thumbnails to fullsize images |
# |
Aug 7th 2008, 08:31 |
depinko |
hello, how could I determine if I'm on a homepage? I need pass some ID to body, so I can use different stylig based on where I am |
# |
Aug 7th 2008, 08:29 |
nilsel |
pgcd: are you talking about lightbox? there's a helper for that |
# |
Aug 7th 2008, 08:25 |
pgcd |
anybody knows what the name of the much-overrated image display thingy is (i mean the one with the layer that dims the rest of the page) and if there's a ready-made solution for cake? |
# |
Aug 7th 2008, 08:23 |
Coenraad |
•altos• i really like tinymce, its really easy to set up too |
# |
Aug 7th 2008, 08:23 |
fourcs |
that code works in one view to get radio buttons but not in another view. |
# |
Aug 7th 2008, 08:22 |
fourcs |
thx, url: 3911123 |
# |
Aug 7th 2008, 08:21 |
altos |
Keep getting JSController errors |
# |
Aug 7th 2008, 08:21 |
altos |
Man... Setting up fckeditor out of the box in cakephp is being a pita |
# |
Aug 7th 2008, 08:19 |
pgcd |
sokar =) |
# |
Aug 7th 2008, 08:19 |
sokar007 |
pgcd: i see what is cousing problem i have two forms one in other |