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:

Themes /

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Including Gallery Page in Template


Go to End


1337 Views

Avatar
pixelhorse

Community Member, 3 Posts

21 November 2009 at 2:35am

In my Page.ss I include Pages directly.

One of the Pages is a Gallery Page ... including it this way shows only the text. Selected in the menu it shows the gallery, too.

----------------
<div class="start">$Layout
</div>
<div>$Page(Aktion).Content</div>
<div>$Page(Service).Content</div>
</div>
<div id="middle">
<div>$Page(Apetithaeppchen).Content</div>
<div>$Page(Oeffnungszeiten).Content</div>
-------------------

Is it possible to show a gallery page in this way?