How to create a Section without content.

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.
Locked
chema

How to create a Section without content.

Post by chema »

Hello,

I have just installed v1.0.4 and i want to create several sections:

Section 1
Section 2
--subsection
Section 3
--subsection
--subsection
....

The problem is when i try to make a new  Parent section (Section 2, 3, etc...) i get an error message: No data included or something similar. I want the Parent section without content and create subsection with content. How to do this ?

Sumary: everytime i try to make a new Parent section it fails.

Thanks
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: How to create a Section without content.

Post by RonnyK »

Chema,

You've two options:

The first is to really have the main-menu blank, with just a code as below.
what I do is create a simple or something similar, so that there is content but basically inactive as there is no content in between to do anything with.

The second method is nicer , create the Content1 as a link in choosing it during "add content" and link it to the first Subsection, this way the hierarchy is available and if someone hits the Section, he goes to the first child of that Section.

So "Add new content" -> "Content type" = "Link".



Ronny
Last edited by RonnyK on Wed Feb 28, 2007 9:31 am, edited 1 time in total.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: How to create a Section without content.

Post by kermit »

you might want to consider at least having *some* content on these "blank" section parents..

as you create these "blank" section parents, they will have active links in the menus;

these links will no doubt get clicked on, and blank content may confuse visitors; and

if you use 'pretty urls' with hierarchy, people can navigate to a parent manually by dropping one level off the address they're at. i.e., go from:
http://www.yourdomain.com/parent/child/
to:
http://www.yourdomain.com/parent/
and actually arrive at something 'logical'....


at the very minimum, how about a menu listing the "blank" section's child pages:

In This Section
{menu start_level='2' number_of_levels='1'}
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
chema

Re: How to create a Section without content.

Post by chema »

RonnyK wrote: Chema,

You've two options:

The first is to really have the main-menu blank, with just a code as below.
what I do is create a simple or something similar, so that there is content but basically inactive as there is no content in between to do anything with.

It works. It's simple and efective ...Uhm, i love simplicity :)

The second method is nicer , create the Content1 as a link in choosing it during "add content" and link it to the first Subsection, this way the hierarchy is available and if someone hits the Section, he goes to the first child of that Section.

So "Add new content" -> "Content type" = "Link".

Uhm,,, very nice. I like two methods. Ronny, thank you very much



Ronny
chema

Re: How to create a Section without content.

Post by chema »

kermit wrote: you might want to consider at least having *some* content on these "blank" section parents..

as you create these "blank" section parents, they will have active links in the menus;

these links will no doubt get clicked on, and blank content may confuse visitors; and

if you use 'pretty urls' with hierarchy, people can navigate to a parent manually by dropping one level off the address they're at. i.e., go from:
http://www.yourdomain.com/parent/child/
to:
http://www.yourdomain.com/parent/
and actually arrive at something 'logical'....


at the very minimum, how about a menu listing the "blank" section's child pages:

In This Section
{menu start_level='2' number_of_levels='1'}



Wow, it really rocks :)  Awesome. Tags are very powerfull

Kermit, many thanks for this trick ;-)
Locked

Return to “CMSMS Core”