Answer the question
In order to leave comments, you need to log in
How to remove the first character from the exported tv field in MODX?
I’ll add to the question in the title that the tv field also needs to remove the spaces between the characters.
Those. tv field contains such +34 999 999 999 , but it is necessary that it be displayed like this 34999999999 .
How to implement this without changing the content in the tv itself?
Answer the question
In order to leave comments, you need to log in
For example, you can create your own modifier:
1) create a snippet called clearNum with the following content
2) when displaying this TV, use the created modifier in this format
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question