ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Mixed Content - Static and Dynamic

November 05, 2007 7:59pm

Subscribe [1]
  • #1 / Nov 05, 2007 7:59pm

    tmkajk

    6 posts

    I thought I would post this here before embarking on a coding session that someone else may have already developed a solution for.  Here is the problem:

    A client is intent on mixing static and dynamic content, which is no problem until the navigation is considered as it it influenced by the type of content.  As an example consider the following navigation

    Parent 1
    —Child 1.1
    —Child 1.2
    ——Child 1.1.1
    ——Child 1.1.2
    —Child 1.3
    Parent 2
    —Child 2.1
    ——Child 2.1.1
    Parent 3
    etc…

    Were all of these linked to entries using the same fields this would not be a problem.  However, we have two types of entries: listings and pages.  Where a listing has a different set of fields than that of a page and a page is typically more static or treated as a landing or entry page.  So they have two different display templates.  And Parent 1 (or any other nav item) may link to either type of content. 

    I am currently using the catexpand plugin to build the nav and this work well.  I just need a way determine if a nav item should load a page or a listing and then build the link based on the result.  Does this make sense?  Any suggestions or is more information required?

    Regards,
    Todd

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases