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.

General Questions /

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

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

Virtual pages + children


Reply


1292 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'?