Problem while replacing the scaffolding layout in Cake PHP?

It doesn't appear so. If you view the source of the page from your browser, you will see? =$html->css('styles');?

To fix this, just replace:? =$html->css('styles');? With?

Php echo $html->css('styles');? Do the same with the $content_for_layout line.

Are PHP short tags. Do you have short tags enabled? It doesn't appear so.

If you view the source of the page from your browser, you will see css('styles');? >. To fix this, just replace: css('styles');?

> with css('styles');? > Do the same with the $content_for_layout line.

Ya...I just figured that out. However, it is still not showing up the posts and test user data. – Learner Aug 8 '09 at 14:39 @Adit Does that mean the above problem is fixed?

Please open a new question or edit this one to specify the "not showing up" problem then. – deceze Aug 10 '09 at 5:02.

This is the code brother of default. Php My Cake Blog Application css('styles');? > keep this in file.

And done.

I have wriTten the related models and controller files for CakePHP. Also, I have been successful in adding a test user to the blog database using Cake's scaffolding feature. So far so good.

However, I am facing problems when getting into the Views part of Cake PHP. I created a "default. Ctp" file and placed it into apps/views/layouts folder.

I have also placed the styles. Css in the app/webroot/css directory. Why is it not displaying the posts as it does using the scaffolding feature.

I know it will be different than scaffolding as I am using my styles. But, why is it showing nothing? What am I missing?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions