Cake consultant wanted

2008-02-03 Thread justradar
i'm not sure if this is the best place to post this? i'm getting started off in cake and have been thru a few tutorials and am on my way to creating a modest app based on the 15 minute blog tutorial. i've posted several times here and have gotten very helpful tips and advice. i'm at the point

Re: Change layouts depending on conditions?

2008-01-26 Thread justradar
thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

Re: Change layouts depending on conditions?

2008-01-25 Thread justradar
i'm trying to use this below code snippet and i'm having trouble ... // this code is located in app/app_controller.php function beforeRender() { if ($isUserLoggedIn){ $this-layout = 'new_layout'; } else { $this-layout = 'default';

Helper - password

2008-01-23 Thread justradar
Newbie question. i haven't quite figured out helpers and could use a hand. i'd like to use the password helper to protect a page view. would someone please point me in the right direction? i've been searching for hours. thanks very much --~--~-~--~~~---~--~~

Re: Helper - password

2008-01-23 Thread justradar
thanks for the links, i'll check those out. maybe i had my terminology wrong ... on this page http://manual.cakephp.org/chapter/helpers if you scroll down and look for password; password * string $fieldName * array $htmlAttributes * boolean $return = false i'm very likely

15 minute blog tutorial

2008-01-23 Thread justradar
i've successfully worked thru the blog tutorial. great. now i'm altering it ... and having a little trouble ... instead of having this blog be on the homepage ... as the tutorial teaches $Route-connect ('/', array('controller'='posts', 'action'='index')); i'd rather insert it into a views /

Re: 15 minute blog tutorial

2008-01-23 Thread justradar
so is it normal to have multiple router::connect... statements if you want to insert it (what your connecting) in different pages? thanks for the help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group.

Re: 15 minute blog tutorial

2008-01-23 Thread justradar
are you supposed to use routes to define which page uses which template?? There are all manor of things you can do with routes --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this

Re: Simple Bog tutorial Sorting question

2008-01-20 Thread justradar
$this-set('posts', $this-Post-findAll(null,null,'id DESC')); that worked beautifully, thanks! where might i have found this topic in the documentation? i spent quite a bit of time searching before i posted here .. .but i guess i was likely searching for the vocabulary ... i mostly looked for

Re: Simple Bog tutorial Sorting question

2008-01-20 Thread justradar
... but i guess i was likely searching for the WRONG vocabulary ... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Simple Bog tutorial Sorting question

2008-01-19 Thread justradar
Hi, i'm new to PHP and to Cake, definitely a newbie. I just went thru the Simple Blog tutorial and successfully created the app. Great. Now i'm trying to customize it and i'd like to change the sorting order, it seems to display by ID ... starting with 1, followed by 2, etc. How do i reverse