Page 1 of 1

[Solved] Home page as a landing page

Posted: Mon Nov 09, 2015 9:57 am
by ColonelBlimp
Using 2.0.1.1 with wampserver 2.5

I would like to have a homepage that is simply a landing page with links to pages that have content? For example, the homepage could have a summary of a 'featured' news item with a 'Read more...' link. Then below this there could be various menu items linked to other articles.

I tried to use create a template based on Core::Generic, but I cannot set this as the default page. I was forced to use Core::Page (which must contain the {content} tag and then had to link and empty content item to it to get my page to render. Ideally, I don't want the {content} tag rather a {news} tag?

I am a new to CMSMS, so have I misunderstood something there?

Thanks.

Re: Home page as a landing page

Posted: Mon Nov 09, 2015 12:10 pm
by velden
You must have a Content Page to set as default. A Page must have a Page Template and a Page Template must have a default content block {content}.

That said, you don't have to use that content block in your template, it just have to exist. Hence, it will show up in the page edit area.

Code: Select all

{content oneline=true assign=dummy}
You must type something in the content area when submitting this page.

Further, you can use the permissions system to prevent regular editors from changing the page.

Re: Home page as a landing page

Posted: Wed Nov 11, 2015 11:00 am
by ColonelBlimp
Many thanks for the help!

Re: [Solved] Home page as a landing page

Posted: Tue Jan 05, 2016 7:49 pm
by Dr.CSS
Of course you could have put the {news} tag in a pages {content} edit box...