Ive managed to get the navigation to display now. It turned that the
import tablib was originally in the header.cfm file, and when I moved
it to within the dmHTML file, the nav showed.
Strange one as I would have assumed that anything called from the
header.cfm file would automatically be made available to the rest of
the template.
Anyway, now to style up the navigation to fit my layout. Ive found in
the main.css page that there is reference to #nav which styles up the
navigation which relates to this skin:
<skin:genericNav navID="#application.navid.home#"
id="nav"
depth="2"
bActive="true"
bIncludeHome="true">
How can I alter the genericNav skin ?
On Nov 5, 1:16 pm, Scott Talsma <[EMAIL PROTECTED]> wrote:
> A few areas you might check:
> 1) Is your table in cache block, and therefore not executing?
> 2) Can you turn on debugging and see if the nav query is firing at all?
> What is it returning? I have also seen similar issues when
> app.navid.home is no longer defined. An error gets thrown, and the
> query never executes.
> 3) If your tree is corrupted, there may not be any nodes under
> app.navid.home, in which case you need issue a rebuild tree command.
>
> If you are on cf8, stepping through w/the debugger will be a big help.
>
> Scott Talsma
> echoeleven
>
>
>
>
>
> BazD wrote:
> > Hi
>
> > Yep, Ive included the import taglib at the top of the page.
>
> > When I view the page within the browser, and view the source code, I
> > get this:-
>
> > <snip>
> > <table border="0" cellpadding="0" cellspacing="0" width="100%">
> > <tr>
> > <td rowspan="2" valign="top"><div id="leftColumn">
>
> > <skin:genericNav navID="#application.navid.home#"
> > id="nav"
> > depth="2"
> > bActive="true"
> > bIncludeHome="true">
>
> > </snip>
>
> > By seeing the code the pulls in the navigation like this, it would
> > appear that code itself isnt being run as cold fusion code. Any
> > ideas ?
>
> > On Nov 2, 6:29 pm, ""Jørgen M. Skogås"" <[EMAIL PROTECTED]> wrote:
>
> >> Hi BazD,
>
> >> Have you remembered to import the taglib?
>
> >> <cfimport taglib="/farcry/core/tags/webskin" prefix="skin">
>
> >> Jørgen~
>
> >> On Nov 2, 2007, at 5:58 PM, BazD wrote:
>
> >>> Hi folks
>
> >>> Im having a bit of a blonde moment (!) and cant seem to integrate the
> >>> standard site navigation into my V4 template. When using farcry 3, I
> >>> incorporated the main navigation into any site using a file called
> >>> _genericNav.cfm
>
> >>> which was called from a dmHTML page like this:-
>
> >>> <cfmodule template="/farcry/#application.applicationname#/webskin/
> >>> includes/_genericNav.cfm"
> >>> navID="#request.navid#"
> >>> functionMethod="getBloodline"
> >>> functionArgs="jointable=""dmNavigation"",
> >>> status=""#request.mode.lvalidstatus#"""
> >>> id="navSecondary"
> >>> startlevel="2"
> >>> bActive="true"
> >>> bIncludeHome="true">
>
> >>> Ive had a look within the built-in farcry 4 templates and I can see
> >>> the above solution has changed to this:-
>
> >>> <skin:genericNav navID="#application.navid.home#"
> >>> id="nav"
> >>> depth="2"
> >>> bActive="true"
> >>> bIncludeHome="true">
>
> >>> The problem is, when I use the above script, I cant see any of my
> >>> sites navigation (!) Am I missing something?
>
> >>> Thanks in advance
>
> >>> B
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---