Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
Welcome to AspAdvice Sign in | Join | Help

Stealth Pages in Vine Type

  •  11-29-2007, 8:15 PM

    Stealth Pages in Vine Type

    I realized today that I posted something about Vine Type that is contrary to the product's documentation. I wrote that my home page section didn't have an article associated to it.

    That is true -- it does not.  But Vine Type, as we all know, doesn't generate sections unless there is at least one article associated to it. I usually think of it this way: sections don't exist in Vine Type -- they are purely a means of navigation from one group of articles to another.  Put even another way: sections don't exist until you put an article into them and they disappear when all articles are removed from them.

    Okay, I think I've contradicted myself once again just now. How then, can my home page section not have an article associated to it?

    The answer is: my about page.  My about page exists in the section home/about.  There would be no way to navigate to home/about if Vine Type did not generate a home section in the navigation.  I take advantage of this situation by specifying via the $section_priority variable in the vinetype.config file that the home section is the primary section, and I also specify a template for the home section with a $section_template_home variable.  By specifying a template just for the home section, I can have my comments elsewhere appear on the home page (section) but not on other pages since the default template does not contain that ma.gnolia list.

    So there is the exception to the rule.  You can create stealth pages in Vine Type by adding articles to subsections but not to parent sections.

     

     


    Sincerely,

    Carl
    -----
    vine type - content management with standards in mind - vinetype.com
    -----
    Filed under: ,
View Complete Thread