This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$id = pods_url_variable ('last'); | |
$params = array( | |
'where' => 'permalink = "' .$id. '"'); | |
echo pods ('commercial_sale') -> find ($params) -> template('commercial_sale_detail'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="comm_sale"> | |
<div> <b>{@name} </b></div> | |
<div>Property Address: {@property_address}</div> | |
<div>Price: {@price}</div> | |
<div>Building Size: {@building_size}</div> | |
<div>Lot Size: {@lot_size}</div> | |
<div>Property Type: {@property_type}</div> | |
<div>Sub-Types: {@sub_type}</div> | |
<div>Property Use: {@property_use}</div> | |
<div>Year Built: {@year_built}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latest update that works for now - | |
<ul><a href="{@detail_url}">{@name}</a> | <?php echo '$' . number_format( $obj->field( 'price' ), 0); ?> | {@123} </ul> |