Forgot password? | Forgot username? | Register

Player page link?

Player page link?

Hey,

On the joomsport moderator menu, there’s just a link to edit his player and not the possibility to see his homepage, how can we add this!

Thank you

Edited by: Nouhail - Aug-13-19 14:02:40

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Player page link?

Hi Nouhail
We have applied required modificaitons to your website please check.
Please pay your attention that modification will be lost in case of update.
So please save the  instruction so you can aplied modifications after JoomSport update.

File:
/modules/mod_js_moder/helper.php
Add line number 42

Code:

$rows[0]["link2"] = '';

Add line number 46

Code:

$rows[0]["link2"] = JRoute::_("index.php?option=com_joomsport&view=player&sid=1&id=".$player->id."&Itemid=".$cItemId);

File
/modules/mod_js_moder/tmpl/default.php
Add lines number 14-18
i

Code:

f (isset($res["link2"]) && $res["link2"]) {

?>
<li><a href="<?php echo $res["link2"];?>"><?php echo JText::_("JSMM_USERPROFILE");?></a></li>
<?php
}

Kind regards
Irene

Kind Regards, Irene
   BearDev support team

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests and 0 other users also viewing this topic