Hi,
is there a way to replace the hard coded english message below by the language string:
COM_COMMUNITY_YOUR_CURRENT_PROFILE_URL in order to have the right translation.
<form name="jsform-profile-ajaxupdateurl" id="jsform-profile-ajaxupdateurl" action="<?php echo CRoute::_('index.php?option=com_community&view=profile&task=updateAlias');?>" method="post">
<div>Current profile url is <?php echo $prefixURL;?></div>
<input type="hidden" name="userid" value="<?php echo $user->id;?>" />
</form>
Cheers,
L
Is there a way to hide this item ("update your url profile") ?
Hi.
Replace:
<div>Current profile url is <?php echo $prefixURL;?></div><div><?php echo JText::_('COM_COMMUNITY_YOUR_CURRENT_PROFILE_URL'); ?> <?php echo $prefixURL;?></div>
OK.
Concerning my last question, not sure i was clear enough.
The hiding was in relation with the "option" link, when you click on it you have several choices and one of them is to change the url profile.
Is there a way to suppress this option "change the url profile"
Hi.
Please, make a printscreen and mar what you want to remove.
Hi.
The easies way is to create empty text for COM_COMMUNITY_PROFILE_CHANGE_ALIAS constant.
Use Joomla! language override feature:
www.inmotionhosting.com/support/edu/joom...ew-language-override
Use this constant: COM_COMMUNITY_PROFILE_CHANGE_ALIAS
Text field should be empty.
fine.
Cheers,
L