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

Using "dummy" nodes


Reply


2 Posts   1193 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
banal

Community Member, 901 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.