Registration button
Start-up Joomla template with amazing CSS3 animated icons, price tables and parallax effect background.
Rate this topic: 




1.00 out of 6 based on 1 vote(s)
- GK User
- Thu Jan 22, 2015 10:10 am
- Reply with quote
- Report this post
Hi!
I can not find how add registration button in login form.
I have enabled user registration in the global configuration, but the "Register" button dont appear in my login module.
http://derka.pickupguild.ru/
Regards, Peter.
I can not find how add registration button in login form.
I have enabled user registration in the global configuration, but the "Register" button dont appear in my login module.
http://derka.pickupguild.ru/
Regards, Peter.
-

- Expert Boarder
- GK User
- Thu Jan 22, 2015 1:33 pm
- Reply with quote
- Report this post
Hi,
it means that probably login module was overridden by template.
SO you have to add link to registration manually here:
templates\gk_simplicity\html\mod_login\default.php
easy, you have to know basic of HTML only.
it means that probably login module was overridden by template.
SO you have to add link to registration manually here:
templates\gk_simplicity\html\mod_login\default.php
easy, you have to know basic of HTML only.
-

- Platinum Boarder
- GK User
- Fri Jan 23, 2015 7:32 am
- Reply with quote
- Report this post
Oscar, could you write what I have to add.
I know html not very good and there is php code. And I even do not know where take registration link.
I know html not very good and there is php code. And I even do not know where take registration link.
-

- Expert Boarder
- GK User
- Fri Jan 23, 2015 8:32 am
- Reply with quote
- Report this post
"I know html not very good..."
Congratulations. Maybe it's time buy a book ? Before your clients ask you about more advance task.
----
1) In HTML editor open: templates\gk_simplicity\html\mod_login\default.php
2) After line 60, please add
- Code: Select all
<button>
<a href="<?php echo JRoute::_('index.php?option=com_users&view=registration&Itemid=' . UsersHelperRoute::getRegistrationRoute()); ?>">
<?php echo JText::_('MOD_LOGIN_REGISTER'); ?> </a> </button>
3) Save changes, and upload changed file
-

- Platinum Boarder
- GK User
- Fri Jan 23, 2015 2:18 pm
- Reply with quote
- Report this post
Oscar, I am not freelancer and I do not take money for this, I haven't clients. We make it free for our community.
This code does not work, it is crashing the site.
How site looks you can see at 1.png.
This code does not work, it is crashing the site.
How site looks you can see at 1.png.
-

- Expert Boarder
- GK User
- Fri Jan 23, 2015 6:33 pm
- Reply with quote
- Report this post
so remove only <button> </button> tag and check again.
Are you sure that you add in that file which I shown you ?
Are you sure that you add in that file which I shown you ?
-

- Platinum Boarder
- GK User
- Fri Jan 23, 2015 6:37 pm
- Reply with quote
- Report this post
or you can also use this code:
<a href="index.php?option=com_users&view=registration" class="button">create an account</a>
it also should work
<a href="index.php?option=com_users&view=registration" class="button">create an account</a>
it also should work
-

- Platinum Boarder
- GK User
- Sun Jan 25, 2015 4:09 am
- Reply with quote
- Report this post
Oscar E wrote:so remove only <button> </button> tag and check again.
Are you sure that you add in that file which I shown you ?
Of course, that's why I've made 2.png to show you.
Removing <button> tag does not work.
REPORT THIS POST
REPLY WITH QUOTE
or you can also use this code:
<a href="index.php?option=com_users&view=registration" class="button">create an account</a>
it also should work
Yes, it's working, but looks very ugly. Registration button should look like login button.
-

- Expert Boarder
- GK User
- Sun Jan 25, 2015 7:34 am
- Reply with quote
- Report this post
I told how to add link not how to make them beauty.
SO now it's your turn to use your CSS skills.
SO now it's your turn to use your CSS skills.
-

- Platinum Boarder
- GK User
- Sun Jan 25, 2015 1:48 pm
- Reply with quote
- Report this post
Oscar E wrote:I told how to add link not how to make them beauty.
SO now it's your turn to use your CSS skills.
I made it another way. Added <input type="submit" name="Submit" class="button" value="<?php echo JText::_('JREGISTER') ?>" />
Looks good. Could you tell me how I can change width login form. I want to have to buttons in one line. I need to change width for login form, not for all menu.
-

- Expert Boarder
- GK User
- Sun Jan 25, 2015 7:06 pm
- Reply with quote
- Report this post
Check in template settings, Menu tab --> Menu column width
-

- Platinum Boarder
12 posts
• Page 1 of 1
