Default page of a branch only

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Nicosmos
New Member
New Member
Posts: 4
Joined: Thu Jul 29, 2010 1:23 pm

Default page of a branch only

Post by Nicosmos »

Hi :D

I'm making a website with CMSms, and there is a lot of pages in the hierarchy. For various reasons, I use in several place a section header with pages as children. One of these pages can be considered as a first/main/defaut page of the section. But technically, this is not the case.

For instance, I have a section about 'things'. So, I create a 'things' section header and place pages in it : 'things-about', 'things-links', 'things-etc...'. Let's image that I consider 'things-about' as the main page of 'thing'. I can consider that but not set it in the CMS (I think).

So to give the link to somebody, I can't say 'go to site.org/things' but only 'go to site.org/things/things-about' or 'site.org/things-about' directly. What I would like is to be able to say « 'things-about' is the main page of the section 'things', so when I go just to 'things', I'm redirected automatically to 'things-about' » (instead of a 404 page).

A section header have an alias, but not an URL. The alias should correspond to a URL (like pages), and be a shortcut towards the appropriate subpage.

A workaround could have been to name the subpage 'things' and the section header (which doesn't correspond to an URL anyway) something like 'things-section'. However, when you browse through menus, you will see the complete URL : site.org/things-section/things.

So, this would be a nice and handy little feature. But maybe it is already implemented in something like if I entitle a subpage things-index (or something predetermined like that), it will automatically be a 'local' main page of the branch ?

I originally thought that the intern page link content status will work like that (using it instead of section header and specifying the page you want as main of the section as link), but this doesn't work either (so, by the way, what is the purpose of this status if you can't access it with the url ?)

Does someone know about that ?
Thanks ! :)
Nicolas.
Last edited by Nicosmos on Fri Jul 30, 2010 1:36 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Default page of a branch only

Post by Dr.CSS »

You need to...

1) make the section header...
2) make child under it...
3) go back to section header and make it an internal link to first child under it...

If you want it to go to the first child under it...
Post Reply

Return to “CMSMS Core”