Topic-icon Social Login Buttons below Jreviews Login in listings

Active Subscriptions:

None
Hi,
wich code I must add into the theme file of jreviews to show the social Button for social login?

Listing


Now.doc
The topic has been locked.
Support Specialist
9 years 5 months ago #52652 by mel
This can be accomplished by adding our JFBCLogin easy-tag {JFBCLogin}.

I'm not exactly sure which view file that is coming from, but I think it is from one of these three places.
* /components/com_jreviews/views/themes/default/reviews/reviews.thtml around line 78
* /components/com_jreviews/views/themes/default/reviews/discussions.thtml around line 142
* /components/com_jreviews/views/themes/default/reviews/user_reviews.thtml around line 85

Can you change the code in the appropriate spot to
<div class="jrLoginBox"><?php echo $this->element('login');?></div>
{JFBCLogin}

There are several options for configuring the Easy-tag, so please see JFBConnect backend > Social > Examples area for more parameters.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi,
Thank you very much for the quick reply.

I've tested the theme files and the best solution ist to add the easy-tag {JFBCLogin} in the "login.thtml" found in.../components/com_jreviews/jreviews/views/themes/default/elements on line 142, because the buttons are only shown if the user click on the login button.

Regards
The topic has been locked.
Support Specialist
9 years 5 months ago #52662 by mel
Yes, I agree that's the better solution so that you only have to change it in one place.

-Melissa
The topic has been locked.