Hello all again.
I still haven't found a solution and i bet most of the readers here have been laughing at my n00bish question.
I'll explain better what i am trying to do:
I need to have the choice to display or not the financial details on a per object basis.
Since ME doesn't give this option i decided to use on of the attributes to set this choice. I easily moved and renamed this attribute in the administrative area, so that it says it is a switch for this task.
The real problem is that i can manage to access that attribute from the details.php in order to use it as a trigger for the financial info to display or not.
Can anyone help me or explain me how can i access this attribute's value from there?
this is a draft of what ideally should look like:
| Code: |
<?php
if $this->dsl = 1 {
?>
<!-- ************* show financial information *************************** -->
<table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr>
<th class="sectiontableentry2"><?php echo _EA_OBJ_PRICES;?> <?php echo $this->mortgagecalc;?></th>
</tr>
<tr>
<td>
<?php
echo $this->financial;
?>
</td>
</tr>
<table>
<?php } ?>
|
Thanks to anyone that will help me.
Cheers,
Simone