Fredrik Posted September 28, 2013 Share Posted September 28, 2013 Hi! Im new with php and PW but i did get some things done, but now im pretty stuck.I have a contact page that lists simply an address, telephone and e-mail, and theese are as fields in the backend. I managed to display the actual fieldname as: "contact_address:" whereas i gave it a unique name = label on 3 different languages.Is there a way to grab that info and display it? (And i want to have the info as fields.) $fields->contact_address, ": ", "<strong>", $contact->contact_address , "</strong>", "<br>", $fields->contact_e_mail, ": ", "<strong>", $contact->contact_e_mail, "</strong>", "<br>", $fields->contact_phone, ": ", "<strong>", $contact->contact_phone, "</strong>", "<br>", $fields->contact_telefax, ": ", "<strong>", $contact->contact_telefax, "</strong>", "<br>", $page->body; Thanks for any kind of help. Link to comment Share on other sites More sharing options...
Soma Posted September 28, 2013 Share Posted September 28, 2013 We got a thread with this http://processwire.com/talk/topic/3601-field-label-language-problem/?p=42693 Link to comment Share on other sites More sharing options...
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