2012-02-17, 00:52:17
Got a problem with showing text from item on results page.
The following code is my current results page setup:
Before, I had <?php echo $content; ?> where I now try to get my custom field which didn't work. I successfully created the custom field 'im description' which is a WYSIWYG editor field, put it into the results page textfield, but nothing of the description shows up. I double-checked the field name, it's correct.
Screenshot attached to this post. Any hint appreciated.
The following code is my current results page setup:
Code:
<div class="im_item">
<h2 style=""><?php echo $data->title; ?> - <?php echo $data->category; ?> - <a href="<?php echo $url; ?>" View Details</a></h2>
<p><?php getTheField('im_description'); ?>.. <a href="<?php echo $url; ?>">Read more</a></p>
</div>
Before, I had <?php echo $content; ?> where I now try to get my custom field which didn't work. I successfully created the custom field 'im description' which is a WYSIWYG editor field, put it into the results page textfield, but nothing of the description shows up. I double-checked the field name, it's correct.
Screenshot attached to this post. Any hint appreciated.