Gideon So Posted June 20, 2018 Posted June 20, 2018 I have this error when I put __("some string") to a repeater matrix template file. Error: Call to undefined function __() (line 17 of /path/to/site/site/templates/fields/contents/staff.php) Is it not possible to use __( ) function in repeater matrix field?? Gideon
Gideon So Posted June 21, 2018 Author Posted June 21, 2018 No one? If this is a bus then I will open an issue in github. If not allow to use __( ) function then how can I do the translation?? Gideon
Gideon So Posted June 21, 2018 Author Posted June 21, 2018 Oh. No. Let me try and see. But I think the template file is compiled if I don't add Processwire namespace to it? Gideon
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now