thats4shaw

Just a stab but is it perhaps not liking ‘Content’. I feel like i’ve experienced clashes before.

thats4shaw

I haven’t been following what you are trying to achieve but that error is telling you that you aren’t using the namespaced class for VirtualPage. You’ll need to add

  1. use SilverStripe\CMS\Model\VirtualPage;

👍 (1)
thats4shaw

I haven’t been following what you are trying to achieve but that error is telling you that it can’t find the class that you are trying to extend from. You’ll need to add:

  1. use SilverStripe\CMS\Model\VirtualPage;

thats4shaw

Great, i’ll do a bit more digging. Thanks for reality checking for me!

thats4shaw

Prepended it successfully but still an empty field - must be something else.

thats4shaw

Ah, yes that might be worth a go actually - good thinking.

thats4shaw

If I wasn’t using virtual elements this wouldn’t be a problem as the elements could just be inline edited but unfortunately I know the client leverages the virtuals quite a bit.