Click on the dmHTML object on the site tab.
At the bottom of the page is a list of links including one for friendly
urls, and next to it is an edit link.

Blair

On 1/28/07, Jake Churchill <[EMAIL PROTECTED]> wrote:
>
>  You are going to need to edit your nav.cfm page as well (the one that
> builds your menu).  By default this is genericNav.cfm.  By default it
> creates a link to index.cfm?objectid=some_object_id.  You need to edit
> that to use friendly urls.  You also need to make sure the plugin for
> friendly urls is turned on.  In the nav.cfm page, try this:
>
> <cfif application.config.plugins.fu>
>     <cfset fu =
> createObject("component","#application.packagepath#.farcry.fu")>
> </cfif>
>
> <cfif attributes.diplayStyle EQ "aLink">
> <!--- pipe (|) delimited list of links --->
>     <cfloop query="qNav">
>         <cfif application.config.plugins.fu>
>             <cfset strhref = fu.getFU(qNav.objectid)>
>         <cfelse>
>             <cfset strhref = application.url.conjurer & "?objectid=" &
> qNav.objectid>
>         </cfif>
>         <cfif qNav.currentRow GT 1>
>             <cfoutput> | </cfoutput>
>         </cfif>
>         <cfoutput><a href="#strhref#"
> title="#qNav.objectName#">#qNav.objectName#</a></cfoutput>
>     </cfloop>
>
> <cfelse>
>       <!--- do what you normally do here --->
> </cfif>
>
>
>
> good luck.  I've never actually done this but I worked on a site that
> already had this set up and this is what I noticed about it.
>
> Daniel Niklasson wrote:
>
> Jake Churchill wrote:
>
>    It's in the dmNavigation object corresponding to that dmHTML object.
> Click advanced options.
>
>
>      If I edit the dmNavigation object that is parent to the dmHtml object
> there is no aliases added. If I go to Admin / Manage Friendly urls there
> is an alias which points to an objectid which according to the
> refObjects table is an dmHtml object. It's an user who have added this
> and he dosn't know how it got there and I dosn't know how he did it.
>
> / daniel
>
>
>
>
>
> >
>

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