Alternate home pages
PermalinkAny ideas or solutions for this.
Could I set a custom page attribute and do a header re-direct to that page attribute or something.
The only reason why I wouldn't agree with multiple page_types is because that could get messy really quick.
If it is only the home page, why not just make multiple themes that all get installed at the same time?
What you could do is create a Select attribute with the appropriate values and then have it redirect based on the selected value. They would be forced to change it from the Sitemap, but they'd have to go the Dashboard either way.
http://www.concrete5.org/marketplace/addons/targeted-content/...
Maybe this is a six in one, half a dozen in the other scenario--or I could just be missing the mark entirely...
You could set up different areas on the home page and pull that content in from the scrapbook.
Different Page Types would allow the different layouts of the content and if you specify those areas where you want you new content, or where you want to hide content(remove the area)
That way you can change the home page layout from the home page and see what it looks like whilst still on the page.
That is if you would like the home page to be the alternate version for everybody and not just user specific
It Looks in the scrapbook for a block, if it does not find it it displays an area. With this I can often add content to areas of my choice of add a global block.
It could be modified further to display the area over the Global block if blocks existed within the area or even based on a user/page attribute
$a = new Area('Slogan'); $block = Block::getByName('Header_Slogan'); if( $block && $block->bID ) $block->display(); else $a->display($c);
hope this makes sense, and helps you out!