Log message #112883

# At Username Text
# Aug 8th 2008, 22:57 freebox ?
# Aug 8th 2008, 22:57 freebox $categorias = $this->requestAction('categorias/index/sort:nome/order:asc');
# Aug 8th 2008, 22:57 freebox markstory: is this way to get my records in the element
# Aug 8th 2008, 22:51 markstory anytime.
# Aug 8th 2008, 22:51 M4ngoB00M ;)
# Aug 8th 2008, 22:51 M4ngoB00M ok - thanks - i will look at them
# Aug 8th 2008, 22:50 markstory and bake should find them and use them.
# Aug 8th 2008, 22:50 markstory you can place them in vendors/templates/views when you've edited them.
# Aug 8th 2008, 22:50 markstory M4ngoB00M: I would suggest just looking at the stock templates and editing those.
# Aug 8th 2008, 22:49 markstory the templates are a bit tricky to make but you can find the core ones in cake/console/libs/templates/views/
# Aug 8th 2008, 22:49 M4ngoB00M hmm - ok - where do i read about that feature?
# Aug 8th 2008, 22:49 markstory if you want to get really fancy bake can use custom templates. saving you more work :)
# 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?