-
AuthorPosts
-
gineczka Friend
gineczka
- Join date:
- June 2013
- Posts:
- 5
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
June 14, 2014 at 3:42 pm #198831Hi, this is my first time reaching out for help in an environment such as this, so I am not too sure what to expect.
If anyone can offer their assistance it would be greatly appreciated.
___________________
I have spent the past 3 hours attempting to solve this problem.
My situation:
– I am using template ja_mendozite with Joomla 3.2.
– I am using the ja_login module, positioned at the top right hand side of the screen.
– I want the “Create an account” link to open a url once it is clicked as opposed to opening a popup. In other words, I do want the current button to execute the onClick=”showBox..” command within /modules/ja_login/tmpl/default.phpWhat I have done:
– I have gone to /modules/ja_login/tmpl/default.php and replaced<a class="register-switch" href="<?php /*echo JRoute::_("index.php?option=com_users&task=registration");*/?>" onclick="showBox('ja-user-register','namemsg',this, window.event || event);return false;" >
with my desired link location (removing the onclick command in the process):
<a class="register-switch" href="<?php echo JRoute::_("/index.php/using-joomla/extensions/components/users-component/registration-form");?>">
I assumed, logically, this would fix the problem. It did not change a thing. So I inspected the “register-switch” link element on firefox using inspector, looked at the html and noticed that the html had not updated… (In other words it seemed my changes to default.php had no affect and essentially made me believe default.php is not the reference for ja_login to function correctly).
The next step I took was to delete default.php temporarily to confirm whether ja_login module refers to it. It appears it does not because the module worked fine.
PLEASE NOTE: I cleared the site cache tens of times over 3 hours, after every modification, and used 3 different browsers to confirm my changes. Each time the html for ja_login module stayed consistent (without changes) and seems to have been referenced elsewhere, allowing it to execute normally. Hence, I do not believe it is a cache issue.
In summary, I need to know which file is responsible for controlling the popup/linking attribute of “register-switch” “Create an Account” link in ja_login module so that I can hard-code a redirect to my desired page.
Please help!
_____________
Quick heads up – my problem/challenge is similar to this thread, however none of their proposed solutions have worked for my module and Joomla version:
http://www.joomlart.com/forums/topic/modify-ja-login-to-direct-new-registrations-to-jomsocial/gineczka Friendgineczka
- Join date:
- June 2013
- Posts:
- 5
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
June 15, 2014 at 2:18 am #538920It appears my suspicions were correct.
The default.php file that was being referenced by the module was not the default.php file I was making changes in.If anyone encounters this same problem, you need to make the proposed changes to your default.php file in:
/templates/*YOURTEMPLATENAME*/html/mod_jalogin/
It appears the joomlaart thread I referenced had this information within it, but I missed it completely.
Cheers
1 user says Thank You to gineczka for this useful post
-
AuthorPosts
This topic contains 2 replies, has 1 voice, and was last updated by gineczka 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum