Jump to content

Display plan details in custom theme


Portsmouth

Recommended Posts

Please can you explain how to display the following in a custom theme (Jreviews 3)

Listing Type

Pricing Plan name

Plan Expiry date

Claim status

 

I am trying to display these in the detail header for admins only with the following;

<!--If Admin show the following --><?php if($this->auth->admin):?>
<b><?php echo 'Administrator notes for: ' ?><?php echo $listing['Listing']['title'];?></b><br>
<?php echo 'Listing Type:  ' ?><?php echo $listing['Criteria']['title'];?><br>
<?php echo 'Claim Status:  ' ?><?php echo $listing['Claim']['approved'];?><br>
<b><?php echo 'Created: ' ?></b><?php echo $Time->nice($listing['Listing']['created']);?><b><?php echo 'Last updated: ' ?></b><?php echo $Time->nice($listing['Listing']['modified']);?><br>
<?php echo $CustomFields->field('jr_notes',$listing); ?><br>
<?php endif;?>
<!-- end If Admin show the following -->

On the output Listing Type and Claim Status are always empty, and I can't find how to add Expiry date and Pricing Plan name

 

 

Regards,

Andrew

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...