View more context

 

wmk

I did it once vice versa. I have a "AccommodationHolder" with a lot of "AccommodationPages" and wanted to inject the town of each accommodation. It took some time until it worked - and it's not very elegant code.

wmk

but with xdebug and a bit of digging around you can surely inject some kind of "FolderPages". I'd suggest the customer to use SiteTree's table view and search functionality, in combinatino with Lumberjack for Holder/Page patterns

sorokin

@wmk so its not entirely impossible but it sounds at least as frustrating as i had suspected, thanks for sharing your experience. @Firesphere not sure who you're asking that question.

Firesphere

@sorokin At you, wondering why they have the nesting levels if they don't want the URL that way

sorokin

I don't know, i guess they just want to organize the pages into groups. Their reasoning isn't part of the change request I got.

Firesphere

Hmmm, GroupedPages sounds like a viable module actually 😉

Firesphere

Although, if you look at it very technically, all children of a page are already a group... but it adds the URL segment

Firesphere

A think to look out for, the URL Segment will often need some appending of ID or something, because if multiple groups have "contact us" as page, that would clash