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.

Themes

Discuss SilverStripe Themes.

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

2 in 1?


Reply

2 Posts   902 Views

Avatar
mommek

15 July 2010 at 7:28pm Community Member, 9 Posts

Hi again.

It is possible to have 2 text-include in 1 page?
I have main div simply for text content and in the same page I have little news box for news :-)

<div id="main" class="typography">
$Layout
    $Content
    $Form
</div>

<div id="news">
????
</div>

I dont know how its explained... (and sorry for my english)
Just...

In my admin I want have in Page Tree -> 2 pages, 1 (classic page text content) and second - hidden - for news...
and this 2 "pages" -> in one "page"

How I can do this?

Avatar
Shauna G

21 July 2010 at 11:36am Community Member, 52 Posts

I recommend looking at the tutorials in the documentation section. One of them shows you how to do pretty much exactly what you're looking for.