Date of Birth Core Field

More
1 year 2 months ago #157215 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Date of Birth Core Field
Hello

Just want to update that in latest version of Membership Pro, it is simpler to change the output of certain field types using override. You just need to modify code components/com_osmembership/view/fieldlayout/fieldvalue.php

In that layout file, you can access to 3 variables

$row : The custom field object
$rawValue : The raw value of the field (what's stored in database)
$fieldValue : The current formatted value

You can just override that single file and the change will be applied for every places.

Regards,

Tuan

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