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
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
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';
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
--~--~-~--~~~---~--~~
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
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 /
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.
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
$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
... 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
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
11 matches
Mail list logo