Kay,

I'm really new to FarCry, but from what I have seen can you try something
like the following.  It looks like genericNav creates a query variable named
'qNav' with the secondary nav items.  You could check for qNav recordcount
and if there are no records, include custom content or another container in
the webskin.  So that you can apply a rule, leave the <cfif /> block off
exposing the container until you set the rule for what content displays if
there are no sub menu items.

Example code for your nav section:
<skin:genericnav...../>

<cfif qNav.recodcount lte 0>
    <con:container label="#stobj.objectID#_*containerName*" />
</cfif>
I have not tried this as I am away from my dev box, it's just a thought. Let
me know if it works.

Pete Kucera
On Fri, Oct 17, 2008 at 4:33 AM, Kay Smoljak <[EMAIL PROTECTED]> wrote:

> FarCry 4.0.11
> I have a sub-navigation widget being displayed inside some typical markup
> with skin:genericNav. However, I would like to display different markup if
> there IS no sub-navigation items for the current section.
>
> Is there a way to call the getBloodline function first and check if there's
> any items, or is extending the skin to include the markup a better option?
> Or something else I haven't thought of yet at all?
>
> --
> Kay Smoljak
> business: www.cleverstarfish.com
> coldfusion: kay.smoljak.com
> personal: enterthegoatlady.com | heapsbad.com
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to