Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5428
Closed
Open
Issue created Mar 15, 2017 by bmortier@bmortierMaintainer

Add a substitute placeholder

thanks to https://documentation.fusiondirectory.org/en/documentation/how_to/use/placeholder, FD have a funny account creation tools.

But there is no way to make a simple substitute action like : replace caraters by antother one: ex :

"de la pate feuillete" should be repmace trough the place holder by "de-la-pate-feuillete" or "de_la_pate_feuillete"

maybe remplace the "p" placeholder like %p[" ","-"]|sn% : p as "permute", followed by an array with 2 values ( whatToremplace / newValue) could be a solution

old p place holder could be : %p[" ",""]|sn%

cheers

(from redmine: issue id 5428, created on 2017-03-15, closed on 2017-03-15)

  • Relations:
    • copied_to #5432
  • Changesets:
    • Revision 50461200 by Côme Chilliet on 2017-03-15T08:20:25.000Z:
Fixes #5428 Added parameter to p modifier to be able to do substitutions
  • Custom Fields:
    • Support contract: None
    • Dolibarr project Name: PJ1701-0050
Assignee
Assign to
Time tracking