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

**SOLVED**Main Nav link to Subpage?


Reply


3 Posts   336 Views

Avatar
ambient

Community Member, 123 Posts

3 December 2013 at 2:13am

Hi all,
I am trying to figure out how to get a section link in the main navigation to open on the first page in that section.

So for instance my 'Our Team' section has three pages, Tom, Dick and Harry. There is no 'Our Team' page, so when Our Team is selected in the Main Nav it automatically goes to Tom's page.

The side navigation should look something like below with the current page and section highlighted.

Our Team
> Tom
> Dick
> Harry

I really thought this would be obvious and maybe it is but not to me :(
Any ideas?

Avatar
martimiz

Forum Moderator, 1106 Posts

3 December 2013 at 6:56am

You could try a redirector page for 'our team'...

Avatar
ambient

Community Member, 123 Posts

3 December 2013 at 10:55pm

Martimiz thank you so much. I knew there had to be an easy solution but I had no idea about redirector pagetypes!
Brilliant and thanks again :)