- Posts: 69
- Thank you received: 1
OS Property support center
Top-Menu
- DThx
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Dang Thuc Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13245
- Thank you received: 1729
10 years 8 months ago #54582
by Dang Thuc Dam
Replied by Dang Thuc 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
10 years 8 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.
- Dang Thuc Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13245
- Thank you received: 1729
10 years 8 months ago #54594
by Dang Thuc Dam
Replied by Dang Thuc 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.
- Dang Thuc Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13245
- Thank you received: 1729
10 years 8 months ago #54596
by Dang Thuc Dam
Replied by Dang Thuc 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: 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.