Kay, > 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?
Usually for something like this I run a getDescendants() query call. Then check it's record count to see if I should bother running the genericNav custom tag. Hope that helps, -- Jeff Coughlin Web Application Developer http://jeffcoughlin.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 -~----------~----~----~----~------~----~------~--~---
