Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
that does not work.
When the code is inserted once, it alsoways sends messages to user "1":
Example:
Now I inserted only:
$onclick = CMessaging::getPopup($row-id);
echo '<a onclick="'.$onclick.'" href="javascript:void(0)">Nachricht senden (in Entwicklung)</a>';
Thus, the code "$onclick = CMessaging::getPopup($row-id);
echo '<a onclick="'.$onclick.'" href="javascript:void(0)">Nachricht senden (in Entwicklung)</a>';" just does not return the correct recipient. Therefor I added the other snippet with "#" to show you what both types of code return in source code.
The code:
$onclick = CMessaging::getPopup($row-id);
echo '<a onclick="'.$onclick.'" href="#">Nachricht senden (in Entwicklung)</a>';
does in fact return the correct recipient, but does not work for other reasons (keeps loading the page "domain.com/#".
You can check again. There is only code:
$onclick = CMessaging::getPopup($row-id);
echo '<a onclick="'.$onclick.'" href="javascript:void(0)">Nachricht senden (in Entwicklung)</a>';
At the moment.
Regards,
Daniel
our you can create your own languange string, and put it on override joomla language, since this is not jomsocial page so you cant use jomsocial string... but well you can try use jomsocial lang if you want but not sure it will work or not :)