$invite_url=urlencode(base64_encode($this->my->getPermalink()));$name=$this->my->getName();$link = "index.php?option=com_invitex&view=invites";
			require_once JPATH_SITE . '/components/com_invitex/helper.php';$this->invhelperObj = new cominvitexHelper();
			$itemid =$this->invhelperObj->getItemId($link);$link .= "&Itemid=".$itemid;
			$link = Route::_($link);$link .= strpos($link,'?')?"&catch_act=":"?catch_act=";$link.="&invite_type=3&invite_anywhere=1&invite_url=".$invite_url."&tag=[name=".$name."]";&lt;a href=&quot;&lt;?php echo $link ;?&gt;&quot;&gt;Invite Anywhere&lt;/a&gt;