Concatenating repeating fields
-
HI
I have a collection of articles. Each has several fields created with Types.
For auhtor I have a repeating field because some articles have more than one author.
I have explored the Types PHP API but cannot figure out to concatenate the fields after they have been put into arrays like this:
$fname= types_render_field(“fname”, array(“output”=>”html”));$lname=types_render_field(“lname”,array(“output”=>”html”));
What comes next?
Example:
I am using the fields Fname and LName. They may, e.g have several entries each if there’s more than one author. I want to match up each pair so that the correct Fname is displayed with its corresponding Lname.Any guidance will be much appreciated. Thanks. (Very useful plugin by the way).
- The topic ‘Concatenating repeating fields’ is closed to new replies.