At present I am
working on a new Farcry site which requires a navigation system similar to
this:
Home
Holidays
++ City
Breaks
++ Great
Outdoors
Offers
++
Accommodation
++
Powerpass
...etc...
I found in the
FarCry Developer Guide reference to Secondary Navigation.
Experimenting with
<skin:secondaryNav dDisplay="true" bIncludeParent"> inside my
_primarynav.cfm I found it to be exactly the kind of navigation required for our
site.
Here comes the 'but'
part, with dDisplay="true" we are stating to use the 'basic navigation'...
however this does not meet our design requirements.
Therefore I opted to
set dDisplay="false" i.e. don't use the basic navigation, result was
a blank area where navigation is supposed to be??
I then thought I'd
need to create a custom template to replace the 'basic navigation' so I began to
look in the FarCry core to see what the custom template should
be.
The documentation
states add the following to allow use of the above
<skin:secondarynav>:
<cfimport
taglib="/farcry/farcry_core/tags/webskin" prefix="skin">
Looking into the
webskin folder I found the secondarynav.cfm and it contains <cfif
attributes.bDisplay> ... show basic navigation ....
</cfif>.
This is where the
problem arises, there doesn't appear to be a <cfelse> on the dDisplay
attribute, i.e. what if you don't want to use the basic
navigation?
Where can I
implement a custom secondary navigation? Do I add an <cfelse> state to the
secondarynav.cfm core file to include a custom navigation?
I am aware that
FarCry ships with 2 navigation files in the application template,
_primarynav.cfm and _secondarynav.cfm, am I supposed to be amending these to
suit our design requirements?
Regards
Mike
Connolly
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
