Jump to content
Portsmouth

Display plan details in custom theme

Recommended Posts

Portsmouth

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

 

Share this post


Link to post
Alejandro

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post
Portsmouth

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.