Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
OS Property support center

No Company field on Agent registration

  • Apurv
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 10 months ago #39619 by Apurv
When a new user is registering to become an Agent, I want to hide the company field, how to achieve this ?

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

More
12 years 10 months ago #39621 by Mr. Dam
Replied by Mr. Dam on topic Re: No Company field on Agent registration
Hi,
You can hide the company dropdown list at agent registration (with OS Property 2.5 or lower) page by follow these steps
1. Open file
components > com_osproperty > classes > agent.html.php
2.
find function agentRegisterForm
3. find this code in that function
<div class="control-group">
<label class="control-label" ><?php echo JText::_('OS_COMPANY')?></label>
<div class="controls">
<?php echo $lists?>
</div>
</div>
and remove it
Good luck
Dam

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

  • Apurv
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 10 months ago #39623 by Apurv
Replied by Apurv on topic Re: No Company field on Agent registration
How can you reply with this speed ? Do you any automated AI script ? Thanks a lot for your help !

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

Moderators: Mr. Dam, Nguyen Phu Quan