Page 1 of 1

How to create a Section without content.

Posted: Wed Feb 28, 2007 9:16 am
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

Re: How to create a Section without content.

Posted: Wed Feb 28, 2007 9:23 am
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

Re: How to create a Section without content.

Posted: Wed Feb 28, 2007 10:04 am
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'}

Re: How to create a Section without content.

Posted: Wed Feb 28, 2007 10:31 am
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

Re: How to create a Section without content.

Posted: Wed Feb 28, 2007 10:34 am
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 ;-)