Link nd Picture fields not working after update
-
I was using version 1.7.8.11 and upgraded to the latest version 1.9.4.4. After updating the code to read the picture and link fields stopped working like before.
I am reading a picture (Image Upload Field) and link field (Link Field), and before it would pull in the picture as a hyperlink and now it’s only the string. The link field also.
For each I was using this and it worked fine (added your suggestion from other post):
if ( $this->field->name() == 'my_page_url' ) { $myPageURL = $this->field->get_value(); }
if ( $this->field->name() == 'picture' ) { $myPicture= $this->field->get_value(); }
Each of these just returns a string. Picture just the file name, and the link field just the display text.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Link nd Picture fields not working after update’ is closed to new replies.