By Mark on Wednesday, 30 October 2013
Posted in Technical Issues
Replies 17
Likes 0
Views 770
Votes 0
I have made it so I have a popup module to log in and out of the site. How can I add a link to the registration page on the easysocial login module, and also of course to disappear once logged in.?

Liking this component VERY much!
Hm, I didn't know that the login module doesn't actually display a registration link (perhaps we missed that). You can add this into the module's theme file which is located in /modules/mod_easysocial_login/tmpl/default.php


<div class="help-block mt-10 small">
<a href="<?php echo FRoute::registration();?>"><?php echo JText::_( 'Register Now' );?></a>
</div>
·
Wednesday, 30 October 2013 23:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Add that code, but link only goes too http://register.html
·
Thursday, 31 October 2013 06:34
·
0 Likes
·
0 Votes
·
0 Comments
·
A just added the full url.

How can I make the link text larger and bold?
·
Thursday, 31 October 2013 06:43
·
0 Likes
·
0 Votes
·
0 Comments
·
OK..made the font bold.. But would also like to make the text a little larger.. not sure what code to include to increase font size.
·
Thursday, 31 October 2013 07:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

I am sorry for the confusions but if you notice there's a / in front. You need to remove that Joomla seems to be adding that slash
·
Thursday, 31 October 2013 17:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark

Can you show me what code I would put to increase the font size a bit more, so it stands out? I worked out the bold font by putting the link between <strong></strong>
·
Thursday, 31 October 2013 21:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

Can you pass me a link to the page?
·
Friday, 01 November 2013 02:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

its 4pawsreviews.com.au

hover over 'Sign in' on the top menu. You will see the popup. Just below the submit button you will see 'Register now'. I want to make that text a little bigger so it stands out
·
Friday, 01 November 2013 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

Ah, try adding this block of css codes into your template's css file:


.module-content .help-block a{
font-size: 20px;
}
·
Friday, 01 November 2013 13:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

I was hoping to increase the size of the 'Register now' font only
·
Friday, 01 November 2013 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

Hm, that code that I have provided should only increase the font size of the "Register Now" text. Am I missing anything here?
·
Friday, 01 November 2013 20:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

That code also increased the font size of 'Forgot my password' and Forgot my username'

Hoping to just increase 'Register now'
·
Saturday, 02 November 2013 06:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

Ah, I see. I was looking at the module after I was signed in rather than signed out. Here's what you can do, replace the codes above with,


.module-content .help-block strong a{
font-size: 16px;
}
·
Saturday, 02 November 2013 13:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Ahhh...GREAT! Thanks

Another question.. how do I get rid of the Register now, once logged in..like you mentioned earlier.
·
Saturday, 02 November 2013 18:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

Use this code instead,


<?php if( !Foundry::user()->id ){?>
<div class="help-block mt-10 small">
<a href="/<?php echo FRoute::registration();?>"><?php echo JText::_( 'Register Now' );?></a>
</div>
<?php } ?>
·
Sunday, 03 November 2013 01:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

Added that code, but the link is still showing when logged in.
·
Sunday, 03 November 2013 07:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you please provide us with the back end and FTP access and we'll help you modify it?
·
Sunday, 03 November 2013 13:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post