× Joomla Facebook Connect support forum

Topic-icon cant move log in function to drop down menu

Active Subscriptions:

None
13 years 2 months ago #8179 by wrrush
now i see it says i can put the blue connect button anywhere, if i implement this into my community builder login at the top of my page will the other user name and password field go away i only want one??? i tried changing the type of the menu button but it wouldnt expand to anything, and i tried turning my login program off and just keeping jfbconnect as my login program and nothing worked, any ideas??
The topic has been locked.
Support Specialist
13 years 2 months ago #8184 by alzander
When you use the { JFBCLogin} tag, it will insert only the Login with Facebook button. It will not insert the whole JFBCLogin module, which includes the Username, Password fields, submit button, register for this site links, etc.

I'm not sure what you mean by "i tried changing the type of the menu button but it wouldnt expand to anything".

Finally, how did you "turn your login program off"? Do you mean you disabled a different login module? When you did this, and used the Login With Facebook button, what happened?

Sorry for the confusion, but we'll get you fixed up. If there's a link you can send to let us see what's happening, we'll gladly help out.

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

None
13 years 2 months ago #8229 by wrrush
What i did was found the login module that i am currently using and dissabled it, then moved the JFBconnect login to the same position which was menu-dropdown-a from a rocket theme template. when i refreshed the front end the login wasnt working anymore it wouldnt even display anything, so i changed the jfbconnect module back to the position it has been on the front page in position sidebar-a and turned the regular module back on. Guess what I need to do is embed the tag into the regular login module because they both go to the community builder registration page. The thing is I have no idea how to do this, I think you sent me a link before about how to do this other than just {jfbclogin}, does that go in my login module or do i have to enter into the server and modify the code?
The topic has been locked.
Support Specialist
13 years 2 months ago #8234 by alzander
To enter the tag, you'll have to modify the template file for the module you want to add the button too. Usually, you can find this file easily and then create a template override for it, which allows you to make changes that won't be erased if you upgrade that module in the future. For information on template overrides, see the bottom post here:
www.sourcecoast.com/extensions/troublesh...ng-joomla-extensions

Hope this helps, but if there's a specific module or component page that you want to add the JFBCLogin tag and you can't figure it out, let us know and we can probably help track it down for you.
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #8608 by wrrush
great idea and good tutorial but i am using the standard login and incorporated it into my theme. My themes login is set to off, here is a pic of my login module i was wondering if there was a way to put the module in the post text???


The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #8612 by wrrush
or should i just wait till next week when 3.2 comes out because it looks like it deals with this issue, im not using the community builder login though will it work on the generic one like i showed you
The topic has been locked.
Support Specialist
13 years 1 month ago #8615 by alzander
If you're just looking to add the Login With Facebook button to that module, you have 2 options:
1) (Easy) - In the Post text, put { JFBCLogin} (no spaces). That will show the Login With Facebook button after normal login form has rendered
2) (Harder) - Create a template override for mod_login. This would be copying the file from /modules/mod_jfbclogin/tmpl/default.php to /templates/<YOUR_TEMPLATE>/html/mod_login/default.php. Once there, edit it and you can add the Login With Facebook button anywhere within the login module. This has more flexibility on where you want to place the button, but is harder overall.

I'm not sure how 3.2 will fix this issue for you, so maybe I'm not understanding what you're looking for. Hopefully, the above helps, but if not, let us know!
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #8657 by wrrush
File Attachment:


all that is showing up on the login section is the {jfbclogin} i took our all spaces like you said, did i miss understand you, i will have to try the other option later because im tethered to a cell and can not get to my secure server
The topic has been locked.
Active Subscriptions:

None
13 years 1 month ago #8661 by wrrush
SOLVED, went through the code and this is what i had to do, in the post text you need to place this code, have to fully test it when i get home but figured other people might want to know so everything is nice and neat, ill have to mess around with the padding but think this might be what you were telling me to do, just had to go through my source code to find the button

Login With Facebook
File Attachment:
The topic has been locked.
Support Specialist
13 years 1 month ago #8662 by alzander
Ahh. Yes, depending on how your drop-down box is working, the System plugin may not fire, which is what replaces the {} tags.

Your solution should be just fine as your skipping the tag replacement step and just jumping to the correct code. However, if you run into issues, let us know.
The topic has been locked.