21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1091 Views |
-
Select Multiple pages to show on front page

4 February 2011 at 9:02pm
Hi,
I would like to display four pages on home page, those pages must have value in field IsFrontPage=true is there any quick way?
Thank for your help
Bunheng -
Re: Select Multiple pages to show on front page

5 February 2011 at 3:11am
use a new page type, and have a new boolean field called IsFrontPage
then you can add a new checkbox field by extending the getCMSFields method. that will help, and on the home page you can use a DataObject::get('Page', 'IsFrontPage=1'); to grab all the pages
-
Re: Select Multiple pages to show on front page

5 February 2011 at 6:42am
Hi
Thanks for your help it is working now.
Thanks
-
Re: Select Multiple pages to show on front page

8 August 2011 at 9:21pm Last edited: 9 August 2011 7:38pm
Hi Nivanka,
I get the point. However I'm trying to get the layout from the different pages, but thes aren't showing up. What are the possibilities for this? Check also this post.
| 1091 Views | ||
|
Page:
1
|
Go to Top |


