V
V
Vechkov Alexander2019-06-13 13:54:36
MODX
Vechkov Alexander, 2019-06-13 13:54:36

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

2 answer(s)
P
petyagrill, 2019-06-13
@petyagrill

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 question

Ask a Question

731 491 924 answers to any question