-
AuthorPosts
-
May 7, 2008 at 9:30 am #128291
Please can you help… On JA Teline II you can register using the nice popup form no problem. but when you try to register with the standard form (which displays after popup registration) it highlights the Verify password field in red and won’t continue.
The problem I have is when you use the Joomla feature that allows you to set read more articles to registered users only as the read more link takes you to the standard registration form…
This can be tested on the JA Teline II demo site. Just do a test register with popup form, then try another registration on the form that then appears…
Thanks…
May 10, 2008 at 2:20 pm #248495Make sure You used JOOMLA quickstart?
Check your module Login Form for the problem!May 10, 2008 at 3:12 pm #248513Thanks paul81, I used the quickstart the problem is also on the joomlart demo site so I can’t see that I have done anything wrong here.
Thanks Again…
producer111 Friendproducer111
- Join date:
- March 2008
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 2
- Thanked:
- 5 times in 1 posts
May 10, 2008 at 3:15 pm #248514This is an obvious bug in the JA login module.
The second registration page has nothing to do there and the Joomlart team has to correct this.
I think the link to the second (fake and not working) page has to be removed somewhere in the code of the module.May 10, 2008 at 3:19 pm #248516Thanks producer111 seems a logical suggestion, I will have a look for the link….
producer111 Friendproducer111
- Join date:
- March 2008
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 2
- Thanked:
- 5 times in 1 posts
May 10, 2008 at 7:35 pm #248563In fact, the problem is maybe in Joomla 1.5 (1.5.3 too) – Joomla unfortunately has many many bugs.
For example, you can find any site made with Joomla 1.5 and add the string “?option=com_user” and you’ll see what is displayed… Example : http://www.ijoomla.com/?option=com_user
And this is exactly the page that registration leads to… (if you make “enter” again after the second registration page displayed).
But maybe Joomlart team can take a look on that…producer111 Friendproducer111
- Join date:
- March 2008
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 2
- Thanked:
- 5 times in 1 posts
May 11, 2008 at 12:41 am #248585I found out a good workaround of that bug in Joomla 1.5 (or in the template, I don’t know).
It will be better to display the login form instead of the register form again.So, the problem can be resolved by changing just ONE WORD in the file “controller.php” :
public_html/components/com_user/controller.phpIn the initial controller.php file you have the word ‘register’ – marked in red below.
You have to replace it by the word ‘login‘ (it is on line 188, I thnik) :—————————————————————————————————————
/**
* Prepares the registration form
* @return void
*/
function register()
{
$usersConfig = &JComponentHelper::getParams( ‘com_users’ );
if (!$usersConfig->get( ‘allowUserRegistration’ )) {
JError::raiseError( 403, JText::_( ‘Access Forbidden’ ));
return;
}JRequest::setVar(‘view’, ‘register’);
—————————————————————————————————————————–producer111 Friendproducer111
- Join date:
- March 2008
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 2
- Thanked:
- 5 times in 1 posts
May 11, 2008 at 12:57 pm #248636After you change the word “register” by “login” as in my previous post, it will be
a good idea to remove the “registration” link that appears below the login form.To do that, you have to edit the file “default_login.php” in the login component :
/public_html/components/com_user/views/login/tmpl/default_login.phpand remove these lines from the code:
<?php
$usersConfig = &JComponentHelper::getParams( ‘com_users’ );
if ($usersConfig->get(‘allowUserRegistration’)) : ?>
<li>
<a href=”<?php echo JRoute::_( ‘index.php?option=com_user&task=register’ ); ?>”>
<?php echo JText::_(‘REGISTER’); ?></a>
</li>
<?php endif; ?> -
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by producer111 16 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum