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.

Template Questions

Show Contents of Unpublished Pages


Reply

2 Posts   1218 Views

Avatar
spierala

15 April 2010 at 4:24am Community Member, 80 Posts

Hell all,

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?

Many thanx in advance,
florian

Avatar
Juanitou

15 April 2010 at 8:38am (Last edited: 15 April 2010 8:41am), Community Member, 323 Posts

Hi Florian.

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.
Juan

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.