Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - CoolMart (SKU# FLEX-00014)

TOPIC: Redirect url logout

Redirect url logout 8 years 2 months ago #13554

Actually when you are registered if you click logout (salir-desconectarse) you go to this form url

Attachment logout2.jpg not found



but i don´t want to go to this url because i use other system to login logout with an login modulo on top of the web.
I need when i use this buttons go to url www.indumentariamedieval.com that is the home url

Attachment logout1.jpg not found



Attachment logout3.jpg not found





thanks
The topic has been locked.

Redirect url logout 8 years 2 months ago #13560

Hi,

This is related to Core (Joomla & Virtuemart).. Templates can't control it.

But try this: There is a logout redirection URL in this module backend: "mod_login (Login Module)"

Attachment Pasted_Image_1_2_16__9_46_AM.png not found



Regards
Last Edit: 8 years 2 months ago by Support.
The topic has been locked.

Redirect url logout 8 years 2 months ago #13576

Dear support, i do that you says and the problem it´s solved over the first image, but not run over the second image and don´t works for me. You can see my configuration...I think it´s necesary to modify the code to redirect to home web.

I need your help

Attachment Errorlogout.jpg not found

The topic has been locked.

Redirect url logout 8 years 2 months ago #13578

Hi,

I see what you mean.. try this:

1- Open this PHP file:
/templates/flexible_coolmart/html/com_virtuemart/user/login.php

2- Find this line:
<input type="hidden" name="return" value="<?php echo base64_ encode($url) ?>" />

3- Replace it with this:
<input type="hidden" name="return" value="" />

This should fix the logout redirect problem from the "Virtuemart My Account" page.

Regards.
Last Edit: 8 years 2 months ago by Support.
The topic has been locked.

Redirect url logout 8 years 2 months ago #13582

Solved!!!

Good support
The topic has been locked.

Redirect url logout 8 years 2 months ago #13585

I am glad it works out very well.

case solved, topic closed.

regards.
The topic has been locked.
Time to create page: 0.117 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo