OS Property support center

fiel postcode

More
9 years 2 months ago #77749 by Qtal
fiel postcode was created by Qtal
the "postcode" field can not imported or export with XML

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #77774 by Mr. Dam
Replied by Mr. Dam on topic fiel postcode
Hi,
Thank you for your report, i will consider to add those fields into XML import/export function in future.
Regards,
Dam

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #77785 by Qtal
Replied by Qtal on topic fiel postcode
I've added in administrator\components\com_osproperty\classes\xml.php:
$postcode = $property;
$row->postcode = $postcode;

and in ..\xml.html.php:
<tr>
<td class="key" style="text-align:left;padding:10px;background-color:#efefef;border-bottom:1px solid #CCC;border-right:1px solid #CCC;" width="30%">
<strong><?php echo JText::_('OS_POSTCODE'); ?></strong>
</td>
<td style="text-align:left;padding:10px;border-bottom:1px solid #CCC;" width="70%">
<?php echo $lists;?>
</td>
</tr>

The import was successful.
There must be something else?

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #77788 by Qtal
Replied by Qtal on topic fiel postcode
Sorry, in ...\xml.php lack [ 'postcode'];
Attachments:

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #77804 by Mr. Dam
Replied by Mr. Dam on topic fiel postcode
Hi,
You can download OS Property 2.9.5 and install it to get bug fixed
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan