- Posts: 37
- Thank you received: 0
OS Property support center
Limit words of agent's Bio shown in agent search
- filaretos
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 6 months ago #59301
by filaretos
Limit words of agent's Bio shown in agent search was created by filaretos
Hello,
When an agent writes his bio it is shown in Agent search under his contact information. I want to have a limit to the words shown in tha page cause some of the agents write to much and take a lot of space in Agent Search page.
I want to show the first 5 lines of the agent's Bio and the rest to be shown only in Agent's page.
Thank you.
When an agent writes his bio it is shown in Agent search under his contact information. I want to have a limit to the words shown in tha page cause some of the agents write to much and take a lot of space in Agent Search page.
I want to show the first 5 lines of the agent's Bio and the rest to be shown only in Agent's page.
Thank you.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13249
- Thank you received: 1729
10 years 6 months ago #59402
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Limit words of agent's Bio shown in agent search
Hi,
Unfortunately, OS Property doens't have feature to limit bio value of agent
Thanks
Dam
Unfortunately, OS Property doens't have feature to limit bio value of agent
Thanks
Dam
Please Log in or Create an account to join the conversation.
- filaretos
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
10 years 5 months ago - 10 years 5 months ago #60972
by filaretos
Replied by filaretos on topic Limit words of agent's Bio shown in agent search
Hello again,
I know you told me that there isn't any feature in os property but could you please tell me if there is a way with php to limit the text of agent's bio.
In agent.html.php:
$bio = OSPHelper::getLanguageFieldValue($row,'bio');
if($bio != ""){
echo stripslashes(strip_tags($bio));
What do i have to add?
Thank you
I know you told me that there isn't any feature in os property but could you please tell me if there is a way with php to limit the text of agent's bio.
In agent.html.php:
$bio = OSPHelper::getLanguageFieldValue($row,'bio');
if($bio != ""){
echo stripslashes(strip_tags($bio));
What do i have to add?
Thank you
Last edit: 10 years 5 months ago by filaretos.
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc 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.