I think you need to step out of ModelBaker and go over the cakephp
docs, specifically the small Blog tutorial.
http://book.cakephp.org/view/219/Blog
hth
jon
Hi Jon,
Thanks, but it doesn't really help, but it seems to be the standard
answer that everyone is rolling out lately :(
On Feb 4, 11:14 am, Chris Mc cmcclel...@yahoo.com.au wrote:
I think you need to step out of ModelBaker and go over the cakephp
docs, specifically the small Blog tutorial.
http://book.cakephp.org/view/219/Blog
hth
jon
Hi Jon,
Thanks, but it doesn't really help, but it seems to be
On Feb 4, 11:41 am, Chris Mc cmcclel...@yahoo.com.au wrote:
waves the don'tknowwhatI'mdoingandI'mjustguessingwhattodo flag rather
clearly.
Which is why I've been admitting that from the start.
You can't admit a problem/failing, ignore what people tell you to do
to address it, and expect
waves the don'tknowwhatI'mdoingandI'mjustguessingwhattodo flag rather
clearly.
Which is why I've been admitting that from the start.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this
OK, I have done the pages_controller work and the views/pages/home.ctp
is there and working but still not producing data and I still can't
figure out what the proper syntax is.
I can understand that the router code is saying that the display
function in restaurants_controller.php should be used
Hi Chris,
OK, I have done the pages_controller work and the views/pages/home.ctp
is there and working but still not producing data and I still can't
figure out what the proper syntax is.
I can understand that the router code is saying that the display
function in
Hi,
I'm stuck :( I have been using ModelBaker to create my app and it went
extremely well until I wanted to start customising the code. I'm
learning CakePHP and MVC at the moment, but I've exceeded my curent
knowledge (which is pretty easy at the moment). Anyway, I've been
trying to customise
Are you getting an empty table? Or, is Cake running into an error and
not continuing to output anything?
If the former, it's likely that you haven't set a var named
'restaurants'. You need $this-set('restaurants', ...); in your
controller action.
On Mon, Feb 2, 2009 at 6:45 AM, Chris Mc
Yes, I'm getting an empty table, the for loop just doesn't execute at
all, but all the other code works (even the stuff after the for)
OK, so $restaurants is empty.
Yes, I understand that bit :)
Yes, I've been trying to do that. The controller action is a function
defined in the
Colour me confused, then. I have no idea how one would get Cake to use
a view file at views/index.ctp short of changing the controller's
$viewPath. Or, maybe this is something new to me.
Mate, it's not you it's me . I'm simply guessing at what's working
here to get my app to work. I just
On Mon, Feb 2, 2009 at 2:45 PM, Chris Mc cmcclel...@yahoo.com.au wrote:
Mate, it's not you it's me . I'm simply guessing at what's working
here to get my app to work. I just assumed that I could get some data
on the homepage by using that file because that file renders the
homepage
On Mon, Feb 2, 2009 at 2:15 PM, Chris Mc cmcclel...@yahoo.com.au wrote:
LOL again. This is where I say I'm a newbie, so I don't know what's
happenning ;). I think this is what I mean (and what you asked) ..
the view is called from /views/index.ctp and I know this is being
picked up
Hi brian,
Are you getting an empty table? Or, is Cake running into an error and
not continuing to output anything?
Yes, I'm getting an empty table, the for loop just doesn't execute at
all, but all the other code works (even the stuff after the for)
If the former, it's likely that you
On Mon, Feb 2, 2009 at 1:47 PM, Chris Mc cmcclel...@yahoo.com.au wrote:
Hi brian,
Are you getting an empty table? Or, is Cake running into an error and
not continuing to output anything?
Yes, I'm getting an empty table, the for loop just doesn't execute at
all, but all the other code
14 matches
Mail list logo