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

tutorial 5 include sidebar, sidebar was never built


Go to End


4 Posts   1701 Views

Avatar
quicked

Community Member, 32 Posts

13 December 2007 at 2:40am

Edited: 13/12/2007 2:41am

The example says:

<div class="typography">
    <% if Menu(2) %>
        <% include SideBar %>
        <div id="Content">
    <% end_if %>
 

but there is no include called SideBar (we did not create one in an earlier tutorial)

Let me know if I am missing something.

Avatar
Tim

Community Member, 201 Posts

13 December 2007 at 9:39am

Tutorial 5 is still in development so its likely this is something which hasn't been written yet. Feel free to edit the Wiki if you think you can contribute somthing here.

Avatar
quicked

Community Member, 32 Posts

13 December 2007 at 4:47pm

OK I put in some code for SideBar (from Include/Menu2.ss) which should work for now.

Avatar
Sigurd

Forum Moderator, 628 Posts

17 December 2007 at 11:38am

Thanks! :)