Topic-icon Default Login with JFBConnect and Yootheme Template

Active Subscriptions:

None
14 years 2 months ago #20702 by parr
Good evening,

I have a very similar problem that Jussmi had in this post:

www.sourcecoast.com/forums/jfbconnect/jf...default-joomla-login

I want to have the Facebook connect button on the Joomla default login page - on a Yootheme Warp6 template (Bigeasy).

I've tried adding "{JFBCLogin}" code to both Joomla's "default_login.php" in "/mydomain.com/components/com_users/views/login/tmpl" as well as (and seperately) amending the "default_login.php" in the template folder "/mydomain.com/templates/yoo_bigeasy/html/com_users/login".

When I add it to default_login.php file in the Yootheme (bigeasy) template folder I can either have it right at the very top of the page (if I simply add it before the rest of the code starts - but this isn't where I want it) or if I try it anywhere else in the php file it breaks the login page. When I add it to the Joomla default_login.php fie, it doesn't seem to make any difference.

This is the code from the default_login.php in the template (yootheme big easy) folder:

==============
path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));
=================

I've checked to see if there's anywhere obvious to place it either in the config.php file that I think it refers to (/mydomain.com/templates/yoo_bigeasy/config.php ??) - but I'm at a lost.

Can you advise if I'm missing anything? The site is currently in maintenance mode.

Thanks in advance.
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20703 by parr
Oh - it seems to strip out the PHP code no matter how I type it.
The topic has been locked.
Support Specialist
14 years 2 months ago #20707 by alzander
Parr,
That's the whole text in that file? Unfortunately, I'm not sure what the answer is. You may need to contact RocketTheme to understand how their template override is working and how you could modify it. Once you find where the 'real' output for the login file is, it should be pretty easy to add the {JFBCLogin} text to that file.

You will need to change the default_login.php file in the templates folder because once a file is there, Joomla will load that and ignore the one in com_users altogether.

Hope that helps get you started. Sorry I don't know RocketTheme's templates better to give you an exact answer.

Alex
The topic has been locked.