2012-05-27, 01:06:16
I need help with custom rendering for a special page. Below is the code for my component named "latest-review"
The special field "review-title" shows up on the page as a "0". The review-title field displays correctly when searched in the default search.
A second issue that I am having with the custom rendering is the spoiler plugin not working.
Here is a link to the page using the custom rendering:
http://thatmovieguy.com/tester
Code:
<div>
<hr />
<h3 class="search-entry-title">
<a href="<?php echo $item->link; ?>">
<?php echo $item->review-title; ?> - <?php echo $item->title; ?>
</a>
</h3>
<div class="search-entry-date">
Posted: <?php echo strftime('%A - %B %d, %Y', $item->creDate); ?>
</div>
<div ><?php echo $item->content; ?></div>
<hr />
The special field "review-title" shows up on the page as a "0". The review-title field displays correctly when searched in the default search.
A second issue that I am having with the custom rendering is the spoiler plugin not working.
Here is a link to the page using the custom rendering:
http://thatmovieguy.com/tester