This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

dgawalkiewicz18137
dgawalkiewicz18137

Hey, Im trying to create really simple one page site. But when I use Pages (to use WYSIWYG editor) and I try to apply my layout I get Layouts not found even tho I have layouts at my CMS section. Any clue how to fix it?

Crazymodder
Crazymodder

Did you include the pages component to your layout?

dgawalkiewicz18137
dgawalkiewicz18137

no, how can I do that?

dgawalkiewicz18137
dgawalkiewicz18137

I did it but I get error

"Call to a member function getFields() on a non-object" on line 92 of /mydomain/vendor/october/rain/src/Parse/Syntax/Parser.php It looks like I need to learn a lot to create simple one page WYSIWYG in October. Any nice tutorials?
Crazymodder
Crazymodder

Do you include some Custom page fields in your layout file? Create a simple layout file in CMS and include the component static page. Safe and go to static pages. Create a new page now you can choose your layout file there.

Static Pages has really good Documentation: http://octobercms.com/plugin/rainlab-pages#documentation

Last updated

romangd55759
romangd55759

3 years passed - the problem remained. This error occurs if you leave the layout markup blank.

email59581
email59581

Hey @romangd55759

To work, you need to add Static Page component in your layout.

https://octobercms.com/blog/post/getting-started-static-pages

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.