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.
[Solved] Home page as a landing page
-
- Forum Members
- Posts: 12
- Joined: Fri Nov 06, 2015 5:06 am
[Solved] Home page as a landing page
Last edited by ColonelBlimp on Fri Dec 11, 2015 2:27 pm, edited 2 times in total.
Re: Home page as a landing page
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.
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.
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}
Further, you can use the permissions system to prevent regular editors from changing the page.
-
- Forum Members
- Posts: 12
- Joined: Fri Nov 06, 2015 5:06 am
Re: Home page as a landing page
Many thanks for the help!
Re: [Solved] Home page as a landing page
Of course you could have put the {news} tag in a pages {content} edit box...