Adam Melcher Posted July 14, 2016 at 04:45 PM Share Posted July 14, 2016 at 04:45 PM I've been able to add the option in other community plugins to hide the plugin from the user's profile page if it's empty, but because I can't really do that in the jReviews plugins since they will be overridden in the next update, I am not sure how to set it up so if there are no listings, it doesn't leave a message, but rather doesn't enable the plugin at all. The way I've done it in the past is find the public function onProfileDisplay() and then for instance in the easyblog community plugin, I would add this : { if (!$this->exists()) { return; } How would you suggest I go about that in the jreviews community plugins? Thanks for your help. Adam Link to comment
Adam Melcher Posted July 14, 2016 at 04:59 PM Author Share Posted July 14, 2016 at 04:59 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts