- Posts: 19
- Thank you received: 0
OS Property support center
How to add text after extra field?
- Ivan
- Topic Author
- Offline
- New Member
-
Less
More
9 years 9 months ago #67291
by Ivan
How to add text after extra field? was created by Ivan
View please screenshot
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 9 months ago #67300
by Mr. Dam
Replied by Mr. Dam on topic How to add text after extra field?
Hi Ivan
In this case, we only the solution is hard code to add text beside the extra field value.
Thanks
Dam
In this case, we only the solution is hard code to add text beside the extra field value.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Ivan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
9 years 9 months ago #67392
by Ivan
Replied by Ivan on topic How to add text after extra field?
But still it can be done? remove from the array?
If you need to add something to the template file is not that hard
example -
echo $extra->value[1].'m2';
or not?
If you need to add something to the template file is not that hard
example -
echo $extra->value[1].'m2';
or not?

Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 8 months ago #67427
by Mr. Dam
Replied by Mr. Dam on topic How to add text after extra field?
Hi Ivan,
In file: components > com_osproperty > templates > your_current_template > listing.html.tpl.php and result.html.tpl.php
Find
Above code is used to show value of extra field in Properties listing page, you can hard code to show m2 as below:
999 is ID number of extra field, you can find it at Back-end > OS Property > Manage Extra fields
Good luck
Dam
In file: components > com_osproperty > templates > your_current_template > listing.html.tpl.php and result.html.tpl.php
Find
Code:
<?php echo $field->fieldvalue;?>
Code:
<?php echo $field->fieldvalue;
if($field->id = 999){
echo "m2";
}
?>
999 is ID number of extra field, you can find it at Back-end > OS Property > Manage Extra fields
Good luck
Dam
Please Log in or Create an account to join the conversation.
- ahmed
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
9 years 8 months ago #67479
by ahmed
Replied by ahmed on topic How to add text after extra field?
when i add an extra field , it doesn't show up in the form when add a new property , i added extra field group called " client info " and created extra fields inside it , but the "client info tab" only appears but extra fields insides doesn't appear , can u please advise why ?
thanks
thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 8 months ago #67482
by Mr. Dam
Replied by Mr. Dam on topic How to add text after extra field?
Hi,
You need to select Property type before the extra fields of chosen property type are shown
Thanks
Dam
You need to select Property type before the extra fields of chosen property type are shown
Thanks
Dam
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.