Thanks a lot Jake....

Its awesome.

Cheers,
Sweta

On Dec 7, 9:07 am, "Jake Churchill" <[EMAIL PROTECTED]> wrote:
> Using a condition that explicitly names an objectid is usually not a good
> idea.  If that objectID ever changed, you'd have to modify the code.  Here
> are a couple things that I've noticed...
>
> You are passing in the functionMethod="getBloodline".  I usually leave that
> off because genericNav defaults to getDescendants which I find more useful.
> If you do that you don't need the functionArgs either.  You also don't need
> to supply the startLevel attribute if it is 2 because that's the default.
> However, there is a depth attribute which is defaulted to 1.  You should set
> that to 2 or 3 to get children.   My recommendation is to get rid of your
> CFIF condition altogether and go with this:
>
> <skin:genericNav     navID="#application.navid.home#"
>         id="nav"
>         depth="2"
>         bActive="true"
>         bIncludeHome="true">
>
> I should probably throw a note in here that the defaults I mentioned were
> from FC3.  There is a chance that they changed but it worked perfectly
> before, I suspect Geoff and the team just moved the file to be central.
>
> -Jake
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Sweta
> Sent: Thursday, December 06, 2007 6:46 PM
> To: farcry-dev
> Subject: [farcry-dev] Re: Navigation Problem on Search page
>
> Thank you so much Jake & Scott. Now it works perfectly.
>
> But now I got another problem that I have sub-navigations too. My menu
> is like
>
> - Home
> - Corporate
>     - Announcements
>     - Corporate Governance
>                   - Trading policy
>                   - Ethic policy
>                   - Audit committee
> - Contact Us
>     - Corporate
>     - Couriers
>     - Taxi Trucks
>     - Parcels
>     - Warehousing & Distribution
>
> If I put #application.navId.home# then it doesn't shows me sub-
> navigations.
>
> I try to solve this by giving condition like
>
> <cfif #request.navid# is "7AE67044-1485-1B8C-A214E270D0D3D5AC">
>        <cfset menu_id=#application.navid.home#>
>  <cfelse>
>       <cfset menu_id=#request.navid#>
> </cfif>
> <skin:genericNav navID="#menu_id#"
> functionMethod="getBloodline"
> functionArgs="jointable=""dmNavigation"",
> status=""#request.mode.lvalidstatus#"""
> id="nav"
> startlevel="2"
> bActive="true"
> bIncludeHome="true">
>
> And now it works perfect. Am I doing right? Or I am on wrong path.
> Please let me know.
>
> Again thank you,
>
> Sweta
>
> -----------------------------------------------------------------------------
> ---------------------------------------------------------------------------
>
> On Dec 6, 9:24 pm, "Jake Churchill" <[EMAIL PROTECTED]> wrote:
> > navID="#request.navid#" is the reason for this.  It's generating your nav
> > from the current page and the search results page is by default outside of
> > home.  You want to change this to the following:
>
> > navID="#application.navid.home#"
>
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED] On
>
> > Behalf Of Sweta
> > Sent: Thursday, December 06, 2007 1:35 AM
> > To: farcry-dev
> > Subject: [farcry-dev] Navigation Problem on Search page
>
> > I know my problem is silly and now this problem is solved. But again
> > got another problem that while i am on Search page, my navigation menu
> > display like
>
> > - Home
> > - Search
> > - Footer
>
> > instead of  my navigation under Home.(i.e.
> > - Home
> > - Corporate
> > - Contact US)
>
> > I think it shows me navigation under utility tab but i always want
> > navigation menu from Home tab.
>
> > I have used navigation code as
>
> > <skin:genericNav navID="#request.navid#"
>
> > functionMethod="getBloodline"
>
> > functionArgs="jointable=""dmNavigation"",
> > status=""#request.mode.lvalidstatus#"""
> >                                                 id="nav"
> >                                                 startlevel="2"
> >                                                 bActive="true"
> >                                                 bIncludeHome="true">
>
> > I am getting perfect result on each page but when i click on search on
> > that page my navigation menu changed.
>
> > What shall i do for that?
>
> > Plz help me out.
>
> > Regards,
> > Sweta
>
> > On Dec 6, 2:44 pm, Sweta <[EMAIL PROTECTED]> wrote:
> > > Hi,
>
> > > I am having problem with search form. I am using FarCry v4.0.9.
>
> > > When I click on search form submit (Go) button, it just refresh the
> > > page. It doesn't show me any error. Search form is exists under
> > > Utility tab in my Admin panel.
>
> > > I have added new navigation under Home tab and named it as Search1 and
> > > in that navigation, I have added Search include. After this my Search
> > > form is not working. Now I have deleted search1 from the Home tab.
> > > But still I am not getting anything.
>
> > > Can anyone help me?
>
> > > Regards,
> > > Sweta
>
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.503 / Virus Database: 269.16.14/1172 - Release Date:
> 12/5/2007
> > 8:41 AM
>
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.503 / Virus Database: 269.16.14/1172 - Release Date:
> 12/5/2007
> > 8:41 AM- Hide quoted text -
>
> > - Show quoted text -
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.15/1174 - Release Date: 12/6/2007
> 10:11 AM
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.15/1174 - Release Date: 12/6/2007
> 10:11 AM- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to