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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Organizing the site tree in admin panel


Reply


4 Posts   1259 Views

Avatar
MattKenefick

Community Member, 13 Posts

19 December 2008 at 9:40am

If I want to implement folders in the tree so i can do something like...
- Main Nav
... - Home
... - Section 2
... - Section 3
- Footer Nav
... - Contact
... - Terms and Conditions

Is there like.. a page type I can use? Should I use a virtual page and just not link it or is there a better way ?

Avatar
Liam

Community Member, 470 Posts

19 December 2008 at 7:29pm

I might be misunderstanding your post, but this tutorial/recipe might be what you're after.

http://doc.silverstripe.com/doku.php?id=recipes:page_selection_for_special_menu

Avatar
MattKenefick

Community Member, 13 Posts

20 December 2008 at 5:29am

Kind of but not really.

I want to put items in the site tree that don't actually link to any pages.
When I'm just continually adding pages , it looks unorganized to have like 20 items just hanging there that are uncategorized.

I want to put like..
SiteContent

Login / Registration
--Login Page
--Register Page

Main Nav
--Home
--About Us
--==Contact
--Products
--==Product1

Footer Nav
-- Privacy Policy

Otherwise it'd just be pages uncategorized and hard to read.

Avatar
Liam

Community Member, 470 Posts

20 December 2008 at 8:21am

Well there isn't much you can really do except not put them in the sitetree but make the include files in your template directory, but then obviously you can't edit them online.

If you want the ability to edit them online, then they'll have to show up in the sitetree so you can access them. Best thing to do would be just to put them all as a sub page of one parent and remove the option for 'show in menu' so they don't show up in your navigation.