i faked the contents of a Page with an Accordion using several Pages and its content. Each Item of the Accordion gets its data from a seperate page. Unfortunately these Pages are also found by google - not just the Page containing the accordion. Now i thought i could just unpublish these pages. But now the content isnÂ´t accessible anymore via <% control AllChildren %>$Content<% end_control %>
Is there some control to access Content of unpublished Pages?
Well, what you could expect if you unpublish them? AllChildren is meant to get all published children, regardless of their Behaviour > Show in menus property. Just tick that off.
If I got you well.
EDIT: I read your message a little less hastily and I guess you are already aware of this Behaviour > Show in menus property. Maybe what you need is to convert those pages, which doesnâ€™t need an URL, into DataObjects.