Can you disable the Send private message link that comes up in the profile or no?
Thanks, Kelli
I'm sure that you can if you edit the proper layout file's html or php code, but I can't tell you which file!
If you poke around you should be able to figure it out or wait for Robbie to tell you which one.
Jeff
it seems the code is located in
components/com_joocm/views/profile/tmpl/joocm_profile.php
(I'm a bit confused about templating in joocm)
Code
<fieldset>
<a href="/<?php echo JoocmHelper::getLink('sendmessage', '&id='.$this->joocmUserView->get('id')); ?>">
<?php echo JText::_('CM_SENDPRIVMESSAGE'); ?>
</a>
</fieldset>
I definitely have private messaging turned off in the backend but that link keeps showing. Thanks for letting me know where that code lives.
Kelli
yes, my comment was just a note to robbie, of course the current code will always display the pm link.
Regards
Very nice that Ramses was able to help out so quickly!
He is obviously an experienced coder, where I can write some basic bash scripting in Linux or very basic PHP, I'm not very deep with the other stuff.
Community makes this project stronger!
Jeff
Hi,
Thank you Ramses. That's right, there should be an if-clause whether the link is published or not. Will be done.
Quote by jhetrick62:He is obviously an experienced coder...
Oh yes, Ramses is very expreienced... He is a member of the Joo!BB Project Team for a couple of days and already made many improvments to Joo!CM/BB. I didn't made an announce until now.
Robbie