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 -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---