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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

VirtualPage - How to get the original page ID?

Go to End

3 Posts   1286 Views


Community Member, 607 Posts

19 August 2010 at 10:13pm

Hi all,

VirtualPage Doku section is completely dead so I have to ask here.

I have a bunch of "Tour" pages that are 'duplicated' in other sections using VirtualPages. The trouble I'm having is that each of these Tour pages has a form that posts the Tour ID to the next page.

This works fine for the original Tour pages, but for the VirtualPages that are derived from them, obviously it's sending the new VirtualPage ID.

So, how do I get the original ID of a page that a VirtualPage is derived from?


Community Member, 607 Posts

13 February 2011 at 8:04pm

I thought I had this but it's come back to bite me in the ass.

Can anyone answer this question?


Forum Moderator, 1899 Posts

13 February 2011 at 11:36pm

Out of curiosity I looked at Virtual Page - I'm guessing that the following doesn't work...