How can i extra an extra field item based on the name if gave it when i created it. I am new to K2 and php but what i have figured out so that the the extra field group is and array. this is also the additional info block on the standard k2 templateit looks like thisArray
(
[0] => stdClass Object
(
[id] => 1
[name] => RapidShare Link
[value] => Rapid Share
[type] => link
[group] => 1
[published] => 1
[ordering] => 1
)
[1] => stdClass Object
(
[id] => 2
[name] => authour
[value] => me
[type] => textfield
[group] => 1
[published] => 1
[ordering] => 2
)
[2] => stdClass Object
(
[id] => 3
[name] => Version
[value] => 45
[type] => textfield
[group] => 1
[published] => 1
[ordering] => 3
)
)
i need to just get the first one but based on the name but it may not always be the first on and display it in my template so that when there is a extra field called RapidShare Link it will show.
(
[0] => stdClass Object
(
[id] => 1
[name] => RapidShare Link
[value] => Rapid Share
[type] => link
[group] => 1
[published] => 1
[ordering] => 1
)
[1] => stdClass Object
(
[id] => 2
[name] => authour
[value] => me
[type] => textfield
[group] => 1
[published] => 1
[ordering] => 2
)
[2] => stdClass Object
(
[id] => 3
[name] => Version
[value] => 45
[type] => textfield
[group] => 1
[published] => 1
[ordering] => 3
)
)
i need to just get the first one but based on the name but it may not always be the first on and display it in my template so that when there is a extra field called RapidShare Link it will show.