Jump to content

Displaying field labels on a multilang site


Fredrik
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...