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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Virtual pages + children


Go to End


1742 Views

Avatar
Martiman

Community Member, 7 Posts

6 August 2009 at 10:00pm

Hi,

In the site-tree of my site is a page, let's call it 'parent', with some children. The 'parent' page contains some links to the children.

I'm trying to get a virtual copy of this 'subtree' somewhere else in the sitetree, so that there are two locations with exactly the same subtree, without the need of changing everything 2 times when changes are needed.
So I made a virtual page in the second location of the subtree referring to 'parent'. But, when you click in this virtual page on a link to some of the children, the site jumps to the first location of the subtree and the site-viewer thinks he's at the wrong place in the site.

Has anyone any clue on getting a 'virtual page with children'?