OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Remove link from agent's name (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Remove link from agent's name

user11224767 (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Remove link from agent's name 6 Years, 2 Months 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.
admin (Admin)
Admin
Posts: 8367
graph
User Online Now Click here to see the profile of this user
Re:Remove link from agent's name 6 Years, 2 Months ago
Karma: 102  
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.
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 6 Years, 2 Months 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.
admin (Admin)
Admin
Posts: 8367
graph
User Online Now Click here to see the profile of this user
Re:Remove link from agent's name 6 Years, 2 Months ago
Karma: 102  
sorry

modules/mod_simplemembership_user_profile

Regards
Andrew
Ordasoft team
Logged Logged
The administrator has disabled public write access.
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 6 Years, 2 Months ago
Karma: 0  
Perfect! Thank you very much!
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Online Now Click here to see the profile of this user
Re:Remove link from agent's name 6 Years, 2 Months ago
Karma: 102  
You are welcome!

Regards
Andrew
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»