- Posts: 69
- Thank you received: 1
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
Top-Menu
- DThx
-
Topic Author
- Offline
- Senior Member
-
Less
More
11 years 10 months ago #54566
by DThx
Top-Menu was created by DThx
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
-
Less
More
- Posts: 13804
- Thank you received: 1816
11 years 10 months ago #54582
by Mr. Dam
Replied by Mr. Dam on topic Top-Menu
Hi Didier,
In latest OS Property version, we have removed the top menu of component. Do you want to hide it also?
Thanks
Dam
In latest OS Property version, we have removed the top menu of component. Do you want to hide it also?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- DThx
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 69
- Thank you received: 1
11 years 10 months ago #54585
by DThx
Replied by DThx on topic Top-Menu
Not really, just "register agent"
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
-
Less
More
- Posts: 13804
- Thank you received: 1816
11 years 10 months ago #54594
by Mr. Dam
Replied by Mr. Dam on topic Top-Menu
Hi,
To disable Agent register link, please follow these steps
- Open file: components > com_osproperty > helpers > common.php
find:
if($configClass==1){
$needs = array();
$needs[] = "agent_register";
$needs[] = "aagentregistration";
$itemid = OSPRoute::getItemid($needs);
$itemid = OSPRoute::confirmItemid($itemid,'aagentregistration');
if($itemid == 0){
$itemid = OSPRoute::confirmItemid($itemid,'agent_register');
}
$html .= '<a href="'.JRoute::_('index.php?option=com_osproperty&task=agent_register&Itemid='.$itemid).'" class="hasTip" title="'.JText::_('OS_AGENT_REG').' :: '.JText::_('OS_REGISTER_AGENT').'">'.JText::_('OS_AGENT_REG').'</a>';
}
and remove it
Good luck
Dam
To disable Agent register link, please follow these steps
- Open file: components > com_osproperty > helpers > common.php
find:
if($configClass==1){
$needs = array();
$needs[] = "agent_register";
$needs[] = "aagentregistration";
$itemid = OSPRoute::getItemid($needs);
$itemid = OSPRoute::confirmItemid($itemid,'aagentregistration');
if($itemid == 0){
$itemid = OSPRoute::confirmItemid($itemid,'agent_register');
}
$html .= '<a href="'.JRoute::_('index.php?option=com_osproperty&task=agent_register&Itemid='.$itemid).'" class="hasTip" title="'.JText::_('OS_AGENT_REG').' :: '.JText::_('OS_REGISTER_AGENT').'">'.JText::_('OS_AGENT_REG').'</a>';
}
and remove it
Good luck
Dam
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
-
Less
More
- Posts: 13804
- Thank you received: 1816
11 years 10 months ago #54596
by Mr. Dam
Replied by Mr. Dam on topic Top-Menu
Sorry, here is the code
Code:
if($configClass['allow_agent_registration']==1){
$needs = array();
$needs[] = "agent_register";
$needs[] = "aagentregistration";
$itemid = OSPRoute::getItemid($needs);
$itemid = OSPRoute::confirmItemid($itemid,'aagentregistration');
if($itemid == 0){
$itemid = OSPRoute::confirmItemid($itemid,'agent_register');
}
$html .= '<a href="'.JRoute::_('index.php?option=com_osproperty&task=agent_register&Itemid='.$itemid).'" class="hasTip" title="'.JText::_('OS_AGENT_REG').' :: '.JText::_('OS_REGISTER_AGENT').'">'.JText::_('OS_AGENT_REG').'</a>';
}
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2026 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.