that should work... though adding two id="Nav-secondary" is a CSS no-no :). (both grid:col and skin:genericNav pass those id's along to the underlying div's.
On Wed, Mar 3, 2010 at 4:49 PM, Activant <[email protected]> wrote: > Before I received your note, I made some changes that seemed to work. > Let me tell you what I did so that you can tell me if I did anything > incorrect... > > First, I went to the site tab in the webtop and created a navigation > off of the root. So it was equivalent to the home navigation level. > > I then went to the displayPage3Col.cfm and put the following code > in... > > <grid:col id="nav-secondary" span="5"> > > <skin:genericNav navID="#application.navid.customer_home#" > id="nav- > secondary" depth="2" bActive="true" bIncludeHome="true" > bHideSecuredNodes="true"> > > <con:container label="#stobj.objectID#_nav-secondary" /> > > </grid:col> > > It seems to work, but I want to do things correctly. Can you please > let me know if anything is done incorrectly? > > On Mar 3, 8:47 am, Tomek Kott <[email protected]> wrote: > > you'll probably want to create your own displayPage3Column.cfm in your > > projects /webskin/types/ folder. From there, you can use the farcry tag: > > > > <skin:genericNav navID="#request.navid#" > > functionMethod="getBloodline" > > functionArgs="jointable=""dmNavigation"", > > status=""#request.mode.lvalidstatus#""" > > id="nav-secondary" > > startlevel="3" > > bHideSecuredNodes="true" > > bActive="true"> > > > > which will create the navigation you need. The default CSS has the right > > formatting for the id="nav-secondary". You can obviously change the > styling, > > but check that it works first. If you go to > > /webskin/types/displayHeaderStandard.cfm, you'll see the same tag used. > It's > > a gem. > > > > In general, <skin:genericNav> creates a <ul> or <a> list of links for > your > > navigation starting at the objectID corresponding to a dmNavigation > object > > (that's navID), picking up all dmNavigation objects, with the status > > dependent on whether you are viewing drafts or only approved. > > bHideSecuredNodes checked which role is logged in and shows links only > > allowed to be viewed by that role. I think bActive highlights the current > > link. > > > > Hope that helps, > > > > Tomek > > > > On Tue, Mar 2, 2010 at 11:47 PM, Activant <[email protected]> > wrote: > > > You hit the nail on the head. I want a header, then three columns > > > underneath. One in the middle for main content, then one on the right > > > for related content and the one on the left for some nafigation. > > > > > What I mean by differentiate navigation is that I want main site > > > navigation in the header like the mollio site, but I also want > > > additional navigation on the left that is different than the top > > > navigation. I am looking for the best way to do that within the > > > webtop. > > > > > On Mar 2, 8:39 pm, Tomek Kott <[email protected]> wrote: > > > > i'm a bit confused by this. Do you mean you have three columns in > your > > > > layout, and one of them is the navigation sidebar? (leaving one for > > > content, > > > > one for extras?). > > > > > > I guess the questions that is confusing is: "how did you > differentiate > > > > between > > > > navigations, etc.?" > > > > > > Tomek > > > > > > FYI: here's a good css starter for columns: > > >http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser.. > .. > > > > Haven't used it myself, but looks legit. > > > > > > On Tue, Mar 2, 2010 at 8:32 PM, Activant <[email protected]> > wrote: > > > > > Has anyone out ther worked on creating sidebar navigation for a > three > > > > > column layout for your farcry site? I would be interested in the > > > > > procedures you used to create it....how did you differentiate > between > > > > > navigations, etc.? > > > > > > > Thanks, > > > > > > > ~Clay > > > > > > > -- > > > > > You received this message cos you are subscribed to "farcry-dev" > Google > > > > > group. > > > > > To post, email: [email protected] > > > > > To unsubscribe, email: > > > > > [email protected]<farcry-dev%[email protected]> > <farcry-dev%[email protected]<farcry-dev%[email protected]> > > > > > <farcry-dev%[email protected]<farcry-dev%[email protected]> > <farcry-dev%[email protected]<farcry-dev%[email protected]> > > > > > > > > > For more options:http://groups.google.com/group/farcry-dev > > > > > -------------------------------- > > > > > Follow us on Twitter:http://twitter.com/farcry > > > > > -- > > > You received this message cos you are subscribed to "farcry-dev" Google > > > group. > > > To post, email: [email protected] > > > To unsubscribe, email: > > > [email protected]<farcry-dev%[email protected]> > <farcry-dev%[email protected]<farcry-dev%[email protected]> > > > > > For more options:http://groups.google.com/group/farcry-dev > > > -------------------------------- > > > Follow us on Twitter:http://twitter.com/farcry > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
