OS Property support center

Comapany Profile Timing Out

  • Jason Wagner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #32770 by Jason Wagner
Comapany Profile Timing Out was created by Jason Wagner
When I go to the listings layout page and click on the agent link, the agent profile page is displayed. From here you can see all of the agent's contact information that is set in the global configuration file. When I click on the "company" link the server times out. This is happening on two separate sites that are on two different servers.

I either need to remove the "company" link on the agent profile page or fix the time out issue. I see where to remove the link in agent.php, but it still has the label "Company:". I need to find where to remove that label as well so that the company is not visible for the agent. They all work for the same company.

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

More
10 years 10 months ago #32776 by Mr. Dam
Replied by Mr. Dam on topic Re: Comapany Profile Timing Out
Hi Jason,
You want to remove the company url in agent profile, right?
Thanks
Dam

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

  • Jason Wagner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #32793 by Jason Wagner
Replied by Jason Wagner on topic Re: Comapany Profile Timing Out
Yes Dam,
How do I remove the URL and the "company:" label in the agent profile?

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

More
10 years 10 months ago #32838 by Mr. Dam
Replied by Mr. Dam on topic Re: Comapany Profile Timing Out
Hi Jason,
To remove the company information in agent profile, pleae follow these step
1. Open file : components > com_osproperty > classes > agent.html.php
2. find
<?php echo JText::_('OS_COMPANY');?>: &nbsp;
<a href="<?php echo JRoute::_('index.php?option=com_osproperty&task=company_info&id='.$agent->company_id.'&Itemid='.JRequest::getVar('Itemid'))?>">
<?php echo $agent->company_name;?>
</a>
<BR /><BR />

and

<?php
echo "<B>".JText::_('OS_COMPANY').": </B>";
$link = JRoute::_('index.php?option=com_osproperty&task=company_info&id='.$agent->company_id);
echo "<a href='".$link."' title='".$agent->company_name."'>".$agent->company_name."</a>";
echo "<BR />";
echo $agent->company_description;
?>

and remove it
Good luck
Dam

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

Moderators: Mr. DamNguyen Phu Quan