Hello Krileon,
Thank you for the link to the substitution tutorial. I read it a few times, studied the examples and followed the advise of 'There are many more possibilities. It's just a matter of trial and error to see what works for you.'
I must admit after many trials, I still get only errors
May I ask for help with my very concrete example here?
I have a field cb_birthday of type Date, which contains the user's birthdate in format YYYY-MM-DD. The field has a parameter 'Profile View Display' in the parameters tab. One can choose, for example, 'age' or 'Timeago, with ago' etc.
I now want to create another field, where I'd like to concatenate another field value with the bday in age (i.e., years old) and not DDDD-MM-YY via substitution.
I just don't get how I can pass the display choice 'age' to the field cb_birhtday
I tried
[cb:cb_birthday format="Age" /]
[cb:userdata field="cb_birthday" format="Age" /]
[cb:userdata field="cb_birthday" ProvileViewDisplay="Age" /] (I know, quite desperate this last one)
and more variations than I can remember
unfortunately, none worked...
I also found this two year old thread
licenses.joomlapolis.com/forum/153-professional-member-support/218602-solved-how-to-have-more-information-about-http-error-500?limitstart=0
wheresome said using cb:userfield instead of cb:userdata did the trick. But when I do this now, I either get yyyy-mm-dd or nothing and not, for example, '35 years'.
Would really appreciate the solution for what is the correct syntax to pass the parameter to display as Age to the substitution of a Date field.
Thank you so much!