Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

bugfix: subsites - preventing dev/build from renaming homepages


Reply

604 Views

Avatar
MattB

28 April 2011 at 10:31pm (Last edited: 28 April 2011 10:33pm), Community Member, 7 Posts

Hi team,

With the Subsites module installed and several subsites present, you'll often find running dev/build marks your '/home' controller pages as 'changed' and sets the top-level URLSegments to home-2, home-3, home-4.

Try this in your _config.php:
SiteTree::set_create_default_pages(FALSE);

See http://open.silverstripe.org/ticket/6251 in TRAC.

Cheers, Matt