Welcome, Guest
Username: Password: Remember me

TOPIC: Linking to registration page

Linking to registration page 2 years 5 months ago #2972

  • Stephen Höglund
  • Stephen Höglund's Avatar
  • Offline
  • Senior Boarder
  • Posts: 48
  • Thank you received: 4
  • Karma: 0
Hi
When you click on new ad and you are not logged in it will redirect you to the registration page (Joomla registration page). Is it possible that you can link it to CB registration page instead of the Joomla registration page? The same happens if you are timed out from site, you will be redirected to Joomla log in page.
Since I use CB on my page it is not optimal to let Joomla handle the registration or the log in.
The administrator has disabled public write access.

Linking to registration page 2 years 5 months ago #2973

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2765
  • Thank you received: 292
  • Karma: 40
To redirect Jomclassifieds post ads to CB-profile Login,

Kindly open the jomclassifieds.php from the below path,

Root-->components->com_jomclassifieds-->jomclassifeds.php

In this file, find the below code,
$loginURL = JRoute::_( 'index.php?option=com_users&view=login&return='.base64_encode($uri).'&Itemid='.JRequest::getInt('Itemid') );

And the replace it by the below code,
$loginURL = JRoute::_( 'index.php?option=com_comprofiler&task=login&Itemid='.JRequest::getInt('Itemid') );

That's it. Save it and check your site.

For redirecting to CB login when the session expires, you need to check joomla forum.

Thanks.
The administrator has disabled public write access.
The following user(s) said Thank You: Stephen Höglund

Linking to registration page 2 years 5 months ago #2974

  • Stephen Höglund
  • Stephen Höglund's Avatar
  • Offline
  • Senior Boarder
  • Posts: 48
  • Thank you received: 4
  • Karma: 0
Hi
Thank you very much.
Works great now
The administrator has disabled public write access.

Linking to registration page 2 years 5 months ago #2993

  • Adrian
  • Adrian's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi Guys,
I have a similar problem to the above, When you click on new ad and you are not logged in it will redirect you to the registration page (Joomla registration page) which is okay for me however, once logged in I'm re-directed to edit my account profile! I would like to go straight to post an ad after successfully logging in!

Thanks in advance
W.
The administrator has disabled public write access.

Linking to registration page 2 years 5 months ago #3004

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2765
  • Thank you received: 292
  • Karma: 40
Dear Customer,

Actually the redirection works fine in Joomla 2.5 and it redirects to the profile page only in Joomla 3.x. Anyway kindly send the below details to This email address is being protected from spambots. You need JavaScript enabled to view it. . So that we will try to fix it.

1. Your site URL
2. FTP details.
3. Joomla admin access.

Thanks.
The administrator has disabled public write access.
Time to create page: 0.199 seconds