Topic-icon JFBC Login Button in JomSocial Registration Page

Active Subscriptions:

None
12 years 10 months ago #34425 by joewig
Hi there,

maybe i am too stupid today, what is the related php File to integrate the {JFBCLogin} in the JomSocial Registration Page??

Thank u all for serving me :-)

Great Weekend!
The topic has been locked.
Support Specialist
12 years 10 months ago #34431 by alzander
For proper integration with JomSocial, please read our JomSocial Facebook integration guide. The file to edit is /components/com_community/templates/<YOUR JS TEMPLATE>/frontpage.guests.php, but I'd recommend that guide as it describes how to create a template override, which is the proper way to make that change.

Finally, in JomSocial 3.0, coming out soon, we're very excited that there will be a simple "Integrate with JFBConnect" switch in JomSocial that will add the button automatically when JFBConnect is installed.

I hope that helps, but if you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #34432 by joewig
alright, i did it this way:

<li>
<label id="fbmsg" for="jsfb" class="form-label"><?php echo JText::_( 'mit Facebook anmelden' ); ?></label>
<label id="fbmsg" for="jsfb" class="form-label"><?php echo JText::_( ); ?>{JFBCLogin}</label>
</li>

looks pretty cool :-)

kanoon-music.com/index.php/component/community/register

Thanks a lot!
The topic has been locked.
Support Specialist
12 years 10 months ago #34454 by alzander
Looks great! You actually don't need the <?php echo JText::_( ); ?> code before the {JFBCLogin} tag. That's asking Joomla to look for a blank language string, which just returns nothing. Not going to hurt anything, just more code that isn't necessary.

Either way, should you need anything else or have any feedback, let us know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks, and best of luck,
Alex
The topic has been locked.