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.

General Questions /

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

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

Using "dummy" nodes


Go to End


2 Posts   1682 Views

Avatar
pingu

Community Member, 75 Posts

10 May 2009 at 4:12am

Edited: 10/05/2009 4:13am

Hi,

I'm just wondering what the best way to create "dummy" nodes in the site-tree is? I would be using these nodes purely to organise pages in the back-end, so the nodes themselves would not be pages, but contain pages underneath them.

For example, let's say I have a node called "Products". Underneath it, I have "Books, Pencils, Chairs". Products itself is not a page, but it's used to organise the product categories, as well as generate a menu which displays the product categories.

Currently I'm using redirector pages that aren't visible in the menu and search, and redirect the dummy node to the homepage.
I'm wondering if there's a better way to do this, or if anyone has any other ideas?

Avatar
bummzack

Community Member, 904 Posts

10 May 2009 at 6:58pm

Hi

I think using Redirector Pages is a good approach for that. Instead of redirecting to the homepage, I would suggest to redirect to the first child of the dummy node.