Skip to Content Skip to Menu

substitution Lastname or Firstname

  • chanteur94
  • chanteur94
  • OFFLINE
  • Posts: 302
  • Thanks: 13
  • Karma: 1
6 years 3 weeks ago #307714 by chanteur94
substitution Lastname or Firstname was created by chanteur94
Hi

When I open an user in a CB LIST, the link contains www.mywebsite/IDUSER-FIRSTNAME-LASTNAME

But FIRSTNAME and LASTNAME looks like lowercase and without accent (I'm french).

So, how can I have the good substitution content to create the same link on a CB CONTENT ?

For example : Id = 523; Fistname = Gérard and Lastname = François , The result link is www.mywebsite.fr/523-gerard-francois ;
I would like the good substitution to have gerard and francois.

Thank you.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
6 years 3 weeks ago - 6 years 3 weeks ago #307738 by krileon
Replied by krileon on topic substitution Lastname or Firstname
The way profile URL SEF works is it needs to match the Username -exactly- or be prefixed with User ID. In your case your username is not URL safe. It's not possible for it to find it in the database because of this. Use the Profile URL field and set it as required to force users to provide a URL save URL alias if you don't like the automated behavior or limit the username field to URL safe characters only. If the username field isn't available and you're just mapping name to it then there's no solution beyond using the Profile URL field. Regarding the missing accent be sure you've enabled unicode aliases within Joomlas SEF configuration.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 6 years 3 weeks ago by krileon.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum