By Paul on Tuesday, 23 December 2014
Posted in General Issues
Replies 7
Likes 0
Views 774
Votes 0
I'm trying to setup the ES Logbox module using the T3 off canvas position. This works fine with the exception of the facebook login/register. I believe this is because the javascript calls are both (the off canvas call by T3 and then the ES Logbox: facebook) being referred as "void" Facebook feature as you know works with a little popup in both cases.

a href="javascript: void


I believe this would be remedied by just renaming the two facebook links Can you provide some insight into how to customize the calls renaming them to play nice with T3?
Hello Paul,

Hm, I am not really sure why the buttons aren't working but it's meant to be "javascript:void(0);" for those links as those links are actually being picked up by our scripts using events. Not really sure what is going on with "T3's Off Canvas", do you have any example of this?
·
Tuesday, 23 December 2014 11:00
·
0 Likes
·
0 Votes
·
0 Comments
·
can you point me to the code where this is handled? I see the code referencing facebook
$facebook 	= FD::oauth( 'Facebook' );

but I don't find the specific script. I looked under media/foundry/4.0/ but there are dozens of scripts there. The only script under the module doesn't seem to be relevant for this purpose.
·
Tuesday, 23 December 2014 11:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

The file is being rendered from the theme file /components/com_easysocial/themes/wireframe/facebook/button.login.php . We are actually using "event" binding on elements that has the data attribute of data-oauth-facebook-login . For instance, if you add a link anywhere that looks like below on the page,


<a href="javascript:void(0);" data-oauth-facebook-login>Test</a>


Clicking on the link above would open a new popup.
·
Tuesday, 23 December 2014 12:35
·
0 Likes
·
0 Votes
·
0 Comments
·
thank you I will work from that. If I wanted to work with this as an override would it be: /template/html/com_easysocial/styles/button.login.php
or
/html/com_easysocial/styles/facebook/button.login.php
?
·
Tuesday, 23 December 2014 13:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

Sorry for late reply to this,
You can do the template override in JoomlaFolder\templates\protostar\html\com_easysocial\facebook\button.login.php
·
Tuesday, 23 December 2014 16:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Alex, just double checking because this seems to contradict the documentation. shouldn't there be a "/styles" in there before /facebook ?
·
Wednesday, 24 December 2014 03:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Paul,

Sorry for late reply to this,
If I'm not wrong, you would like to override this file right? -> JoomlaFolder/com_easysocial/themes/wireframe/facebook/button.login.php
If yes, there will not have 'style' file before /facebook, because all the styling in under this class :

btn btn-es-social btn-es-facebook
·
Wednesday, 24 December 2014 15:13
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post