Log message #112871

# At Username Text
# Aug 8th 2008, 22:48 M4ngoB00M yeah - big project
# Aug 8th 2008, 22:48 markstory M4ngoB00M: thats a pretty big app :)
# Aug 8th 2008, 22:47 M4ngoB00M yes - from http://book.cakephp.org I have read sections 1, 2 and 3
# Aug 8th 2008, 22:46 markstory book.cakephp.org and api.cakephp.org
# Aug 8th 2008, 22:45 M4ngoB00M yes - i see the docs and have been systematically reading
# Aug 8th 2008, 22:45 M4ngoB00M ahh -- i c
# Aug 8th 2008, 22:45 markstory M4ngoB00M: do you know about the docs and the api?
# Aug 8th 2008, 22:45 markstory that would have a custom message when it failed.
# Aug 8th 2008, 22:45 markstory M4ngoB00M: http://bin.cakephp.org/view/1021569616
# Aug 8th 2008, 22:45 M4ngoB00M i an a newb at cakephp - just started 6 hours ago...
# Aug 8th 2008, 22:44 M4ngoB00M hi yeah that was it
# Aug 8th 2008, 22:44 markstory M4ngoB00M: and the message you got is the default one. you can set a custom one in either the model or the view files.
# Aug 8th 2008, 22:43 markstory M4ngoB00M: you can use VALID_NOT_EMPTY if on the rc2. or notEmpty if using a recent svn build
# Aug 8th 2008, 22:43 freebox =)
# Aug 8th 2008, 22:43 freebox ok
# Aug 8th 2008, 22:42 markstory see app/config/routes.php
# Aug 8th 2008, 22:42 M4ngoB00M ahh - yes - let me test I was using a value like "123 main st."
# Aug 8th 2008, 22:42 markstory sorry home.ctp is not a route, but is a routed page.
# Aug 8th 2008, 22:42 markstory the home.ctp is just a route to the pages controller. you can make / point to whatever you want.
# Aug 8th 2008, 22:41 freebox uhm
# Aug 8th 2008, 22:41 markstory no spaces in alphanumeric.
# Aug 8th 2008, 22:41 markstory did you use spaces?
# Aug 8th 2008, 22:41 markstory M4ngoB00M: and the only field that is cauing the issue is streetaddress1?
# Aug 8th 2008, 22:40 markstory make an action on a controller or a whole new controller and change the route.
# Aug 8th 2008, 22:40 M4ngoB00M here it is http://bin.cakephp.org/view/1021569616 not much to it
# Aug 8th 2008, 22:40 djspark $this->BlogPost->find('all',array('order'=>'BlogPosts.created'))
# Aug 8th 2008, 22:40 djspark is this valid with cakephp 1.2 ?
# Aug 8th 2008, 22:40 markstory and just don't use home.ctp.
# Aug 8th 2008, 22:40 markstory freebox: make an element. find('all') on categories model?
# Aug 8th 2008, 22:39 freebox markstory: you know?
# Aug 8th 2008, 22:38 markstory then I can see the whole model :)
# Aug 8th 2008, 22:38 markstory then paste the url back here.
# Aug 8th 2008, 22:38 M4ngoB00M k
# Aug 8th 2008, 22:38 markstory copy and paste your model. use the link above.
# Aug 8th 2008, 22:37 M4ngoB00M bin my model? I dont understand?
# Aug 8th 2008, 22:37 freebox i need to show all categories in home.ctp
# Aug 8th 2008, 22:36 freebox what is the best to do? an element?
# Aug 8th 2008, 22:35 freebox I have an category controller.. then i need to show all categories in the view
# Aug 8th 2008, 22:35 freebox Hello =)
# Aug 8th 2008, 22:35 markstory actually just bin your model.
# Aug 8th 2008, 22:35 markstory => 'alphanumeric')