Thanks for you answer.

In fact, i'm creating a FAQ section with one page for each question.

Problem is that objects titles are long because they are often a question :

ex : Puis-je m'inscrire sans adresse email ?

and url becomes :  puis-je-m'inscrire-sans-adresse-email-

So 2 solutions for me :

1.
Put these lines to fu.cfc in createAll function:

<!--- Replace accentuated characters with the same without accentuation --->
<cfset breadCrumb =
ReplaceList(breadCrumb,"�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,
�","a,a,a,a,a,a,o,o,o,o,o,o,e,e,e,e,c,i,i,i,i,u,u,u,u,y,n")>
<!--- Replace special characters with "-" --->
 <cfset breadCrumb = ReRePlace(breadCrumb,"[^a-zA-Z0-9]","-","All")>

First command is working for me and latin characters, but i don't know if
it's working for the other languages.

2.
Maybe a workaround is to use navalias instead of the object title for
FriendlyURLs  ?


Jiib



"Stephen Milligan" <[EMAIL PROTECTED]> a �crit dans le message de
news:[EMAIL PROTECTED]
>
> For now you will probably have to change the methods in FU.cfc itself, but
> that would break the rules of not changing anything in the core, so maybe
we
> should allow it to be extended the same as types and rules.
>
> I'm not 100% sure what it is that you want to do, but if I understand you
> correctly, I think it should be possible for us to add what you want to
the
> core codebase. Can you give a more detailed explanation of what the issue
is
> and what you want to do about it?
>
> Spike
>
> --------------------------------------------
> Stephen Milligan
> Code poet for hire
> http://www.spike.org.uk
>
> Do you cfeclipse? http://cfeclipse.tigris.org
>
>
>
>
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] On Behalf Of Jiib75
> >Sent: Wednesday, June 02, 2004 5:51 AM
> >To: FarCry Developers
> >Subject: [farcry-dev] Extending FU.cfc ?
> >
> >Hello,
> >
> >I use accentuated characters for several objects titles (for a
> >french site) I'd like to wrap these characters and to trim
> >object title for the friendly urls plugin.
> >
> >Is it necessary to change methods in FU.cfc component or can i
> >extend it like for rules or type cfc ?
> >
> >I'm a newbee with FarCry.
> >
> >Thanks for your support.
> >
> >JB
> >
> >
> >
> >---
> >You are currently subscribed to farcry-dev as:
> >[EMAIL PROTECTED] To unsubscribe send a blank email to
> >[EMAIL PROTECTED]
> >
> >MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> >http://www.mxdu.com/ + 24-25 February, 2004
>
>
>



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to