OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Remove link from agent's name
#39690
user11224767 (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Remove link from agent's name 1 Year, 1 Month ago Karma: 0  
Hello,

How can I remove the link from agent's name in the "agent profile" module?
Please find an explaining image attached.

Thank you very much in advance!
 
Logged Logged  
 
Last Edit: 2018/09/20 14:31 By user11224767.
  The administrator has disabled public write access.
#39698
admin (Admin)
Admin
Posts: 6641
graph
User Offline Click here to see the profile of this user
Re:Remove link from agent's name 1 Year, 1 Month ago Karma: 76  
Hi

You need go to module
{site}/modules/mod_user_profile_pro/tmpl/deafult.php

there find code
Code:

   <?php if ($user_id != $my->id) { ?>
            <a href="<?php echo sefRelToAbs('index.php?option=com_simplemembership&Itemid='.
             $Itemid_simp.'&task=showUsersProfile&userId='.$user_id.''); ?>" >
            <?php echo "<b>" . $joom_user->name . "</b>"; ?></a>
  <?php  } else { ?>
          <a href="<?php echo sefRelToAbs('index.php?option=com_simplemembership&view='.
            'my_account&layout=myaccount&Itemid='.$Itemid_simp.''); ?>" >
            <?php echo "<b>" . $joom_user->name . "</b>"; ?></a>
  <?php  } ?>



and replace it to
Code:


   <?php if ($user_id != $my->id) { ?>
            <?php echo "<b>" . $joom_user->name . "</b>"; ?>
  <?php  } else { ?>
            <?php echo "<b>" . $joom_user->name . "</b>"; ?>
  <?php  } ?>



Please backup this file first

Regards
Andrew
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#39713
user11224767 (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Remove link from agent's name 1 Year, 1 Month ago Karma: 0  
Hello,

Thanks for your reply.

Unfortunately the folder "mod_user_profile_pro" doesn't exist on our server.
 
Logged Logged  
  The administrator has disabled public write access.
#39717
admin (Admin)
Admin
Posts: 6641
graph
User Offline Click here to see the profile of this user
Re:Remove link from agent's name 1 Year, 1 Month ago Karma: 76  
sorry

modules/mod_simplemembership_user_profile

Regards
Andrew
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
#39723
user11224767 (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Remove link from agent's name 1 Year, 1 Month ago Karma: 0  
Perfect! Thank you very much!
 
Logged Logged  
  The administrator has disabled public write access.
#39732
admin (Admin)
Admin
Posts: 6641
graph
User Offline Click here to see the profile of this user
Re:Remove link from agent's name 1 Year, 1 Month ago Karma: 76  
You are welcome!

Regards
Andrew
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?