- Posts: 11
- Thank you received: 0
OS Property support center
How to add agent email address to print page..
- Anthony Mezas
- Topic Author
- Offline
- New Member
-
Less
More
11 years 2 months ago #42488
by Anthony Mezas
How to add agent email address to print page.. was created by Anthony Mezas
In the propertyprint.php page i have been trying to add the agents email address, can anyone help?
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13059
- Thank you received: 1696
11 years 2 months ago #42496
by Mr. Dam
Replied by Mr. Dam on topic How to add agent email address to print page..
Hi,
In that file, find
<tr>
<td class="key" >
<?php echo JText::_('OS_NAME')?>
</td>
<td>
<strong><?php echo $row->agent->name;?></strong>
</td>
</tr>
and change to
<tr>
<td class="key" >
<?php echo JText::_('OS_NAME')?>
</td>
<td>
<strong><?php echo $row->agent->name;?></strong>
</td>
</tr>
<?php
if(($configClass == 1) and ($row->agent->email != "")){
?>
<tr>
<td class="key" >
<?php echo JText::_('OS_EMAIL')?>
</td>
<td>
<?php echo $row->agent->email;?>
</td>
</tr>
<?php
}
?>
Good luck
Dam
In that file, find
<tr>
<td class="key" >
<?php echo JText::_('OS_NAME')?>
</td>
<td>
<strong><?php echo $row->agent->name;?></strong>
</td>
</tr>
and change to
<tr>
<td class="key" >
<?php echo JText::_('OS_NAME')?>
</td>
<td>
<strong><?php echo $row->agent->name;?></strong>
</td>
</tr>
<?php
if(($configClass == 1) and ($row->agent->email != "")){
?>
<tr>
<td class="key" >
<?php echo JText::_('OS_EMAIL')?>
</td>
<td>
<?php echo $row->agent->email;?>
</td>
</tr>
<?php
}
?>
Good luck
Dam
Please Log in or Create an account to join the conversation.
- Anthony Mezas
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
11 years 2 months ago #42533
by Anthony Mezas
Replied by Anthony Mezas on topic How to add agent email address to print page..
Hi Dam,
Agents email address is not showing:
<tr>
<td class="key" >
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/email.png" />
</td>
<?php
if(($configClass == 1) and ($row->agent->email != "")){
?>
<td><?php echo $row->agent->email;?>
</td>
</tr>
<?php
}
?>
Agents email address is not showing:
<tr>
<td class="key" >
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/email.png" />
</td>
<?php
if(($configClass == 1) and ($row->agent->email != "")){
?>
<td><?php echo $row->agent->email;?>
</td>
</tr>
<?php
}
?>
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.