Re: Farcry 6.08 with FarcryCMS plugin

chris <[email protected]> Mon, 27 Dec 2010 12:06:16 -0800 (PST)
Newsgroups gmane.comp.cms.farcry.user
Message-ID <09354e7d-7de0-4102-8928-e8f2a04908cc@c39g2000yqi.googlegroups.com>
That would be great if a subnavigation on the left is not needed, but
in my case i have one.
Speaking about the navigation. in some cases the submenu doesnt show
because there are no children.
only in my case i use a div around the subnavigation. But i dont want
the div in the lay-out if there are no children. what is the best way
to hide the div. For de subnavigation i use:

<div id=3D"leftmenuNavigation">
      <skin:genericNav foo=3Dbar>
</div>

I thought i could make an includes directory in de webskin folder of
my project and than put a file in it with the code
<cfsavecontent variable=3D"leftMenu">
   <cfoutput>
       <skin:genericNav foo=3Dbar>
  </cfoutput>
</cfsavecontent>

And then in the displayPageStandard:

<include template=3D"/farcry/projects/[applicationname]/webskins/
includes/include_leftmenu.cfm">
<cfif len(leftMenu) gt 0>
  <div id=3D"leftmenuNavigation">
      #leftMenu#
 </div>
</cfif>
But that doesnt give any output and isnt very clean either. is there a
better way?

Thank you so much for the support ones again.

Chris van der Poel (The Netherlands)



On 27 dec, 17:14, Sean Coyne <[email protected]> wrote:
> In addition to AJ's response, ideally in your displayPageStandard webskin=
s
> you will only have the design code relative the target content types. =A0=
The
> generic design aspects should be in displayHeaderStandard and
> displayFooterStandard webskins that can be shared by all content types.

--=20
You received this message because you are subscribed to the Google Groups "=
farcry-user" group.
To post to this group, send email to farcry-user-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To unsubscribe from this group, send email to farcry-user+unsubscribe@googl=
egroups.com.
For more options, visit this group at http://groups.google.com/group/farcry=
-user?hl=3Den.