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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

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

hide sidebar in only one-page


Go to End


1300 Views

Avatar
bebabeba

Community Member, 193 Posts

12 November 2008 at 6:30am

Hi!
Is it possible hide sidebar in only one-page?I ArticleHolderPage.ss I have all article title and also sidebar that is a repetiton. I create ArticlePage.ss under ArticleHolderPage.ss level but if I choose "not show in menu" I can't able to see article in ArticleHolderPage.ss
I add sidebar in Theme/mytheme/page.ss

<div id="content-wrap"><div id="content">
<% include SideBar %>
<div id="main">
$Layout
</div>