redirect

  • nordstoyn2017
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #91020 by nordstoyn2017
redirect was created by nordstoyn2017
Hi!

There is a small probema. If I am not logged in, and I go into the history of your orders (mysite.ru/ history), then there is a redirect on this page (mysite.ru/ ?option=com_users&view=login&return=aHR0cDovL25vcmRzdG95bi5ydS9ydS9oaXN0b3J5) and this page is not set up a title and so on. But the login page I have another - mysite.ru/ login. It is necessary to redirect it to the page, how can I do it?

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91037 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic redirect
If I understand your requirement correctly, you can get this file, unzip it, upload to components/com_eventbooking/view/history folder

After that, check it again, it should work as expected

Tuan

Please Log in or Create an account to join the conversation.

  • nordstoyn2017
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #91049 by nordstoyn2017
Replied by nordstoyn2017 on topic redirect
They did not understand :)

I configured is order history display options. In line adress bar insert the address mysite.ru/history (this is a page from history), and if I have not logged in, the fire engine or a site of your component and is redirected to the page mysite.ru/?option=com_users&view=login&return=aHR0cDovL25vcmRzdG95bi5ydS9ydS9oaXN0b3J5. What is not very correct, as 1) the address is not SEF 2) in tag <title> is mysite.ru, but need Login

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91054 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic redirect
Did you try the file I sent you before? If it still doesn't work, you can submit a support ticket sending us super admin account of your site so that we can check it directly on the site for you

Tuan

Please Log in or Create an account to join the conversation.

  • nordstoyn2017
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #91062 by nordstoyn2017
Replied by nordstoyn2017 on topic redirect
I tried, but to no avail. But you gave me the solution to the problem :) I changed the line:

JFactory::getApplication()->redirect('index.php?option=com_users&view=login&return=' . base64_encode(JUri::getInstance()->toString()));

on:

JFactory::getApplication()->redirect('login?return=' . base64_encode(JUri::getInstance()->toString()));

After updating html.php does not change?

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91081 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic redirect
Hi

If you implement custom change, it will be lost when you update to future releases of the extension. So each time you update, you would have to re-do the change

Could you please try to use this code instead?
Code:
$redirectUrl = JRoute::_('index.php?option=com_users&view=login&return=' . base64_encode(JUri::getInstance()->toString()); JFactory::getApplication()->redirect($redirectUrl);

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • nordstoyn2017
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago - 9 years 3 months ago #91108 by nordstoyn2017
Replied by nordstoyn2017 on topic redirect
Hi

And there is no option to not constantly make changes when upgrading?

Your code does not work, then there is no redirection.


You can not have one more question on the subject? I activated the "User registration integration", and if the user is not logged on when you order there are two options "Existing user? Sign" and "New user? Registered" and select a payment method and click "Confirm Registration" button. If you do not enter, and do not enter a new account, and then click "Confirm Registration", then there is a registration for the event. But registration goes nowhere (I hope the translator correctly translate the expression :)), that is, out of the cart is removed, and in the administrative panel, it does not appear that it is logical, because the system knows how to identify the user. I somehow did not set up correctly? In theory, it should be checked during the ordering process whether a new account if the user entered or created, and only then you can allow the action "Confirm Registration".
Last edit: 9 years 3 months ago by nordstoyn2017.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91123 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic redirect
Your last issue looks strange to me. Could you please send me the link to the page which events are being displayed on your site so that I can try to check to understand the issue you describe? Sound like there is javascript conflict on your site but I will have to check it directly on your site before confirming

Tuan

Please Log in or Create an account to join the conversation.

  • nordstoyn2017
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #91193 by nordstoyn2017
Replied by nordstoyn2017 on topic redirect
I can send him a personal message or e-mail? And by the way, the site is in Russian :)

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91221 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic redirect
Hello

Please go here joomdonation.com/support-tickets.html to submit a support ticket

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc