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.

Aggrivating and Frustrating

August 03, 2007 4:20pm

Subscribe [0]
  • #1 / Aug 03, 2007 4:20pm

    saul

    6 posts

    this is my third post related to a navigational issue - I can’t change the clients needs, I just need to find a way to make this work - if anyone out in EE land wants to consult on this, I’m happy to pay you for your effort..

    here’s the deal

    I have a large site with 7 weblogs - each weblog’s content is divided up categorically and navigation is purely categorical in the sidebar of the site I need to show just a given pages top level parent, and the subcategories

    INTERNET ACCESS
    —- wifi
    ———Access points
    —- ethernet
    —- fiber
    —- P.O.T.S
    COMPUTER SUPPORT
    TECH NUMBERS
    NETWORK PORTS

    so if I was on any of those pages under INTERNET ACCESS I’d get the first level nav if I was on wifi or Access points I’d get Access points - if I’m on INTERNET ACCESS I don’t want ‘COMPUTER SUPPORT’ etc.

    for example let say INTERNET ACCESS has a category id of ‘74’

    <ul id="nav_categories">
    {exp:query sql="select cat_id, cat_name, cat_url_title, cat_order from exp_categories where parent_id='74}' order by cat_order asc"}
    <li><a href="http://{path=school/departments}C{cat_id}">{cat_name}</a></li>
    {/exp:query}

    will give me the
    —- wifi
    —- ethernet
    —- fiber
    —- P.O.T.S

    but nothing I try brings back any sub categories of those 4 items
    don’t be shy - give me your ideas -

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

ExpressionEngine News!

#eecms, #events, #releases