How to return directly to the home page ?

3 years 8 months ago #1 by Claude Lendrevie
Your plugin works fine with Joomla 3.8.11. Greetings !

I have just a little question : after a count is deleted, you propose to the customer to identify himself again : personally I do not wish it, and I would prefer just a return to the home page.

How can I do that ? Thanks.
3 years 8 months ago #2 by Function90
Hello Claude,

Sorry for delay in reply.
As if now it can only be possible by making change in code. You can do like
at this line number of this file on your site (plugins => system => f90deletemyaccount => tmpl => js =>dma.js), instead of
location.href = '/';

Please let us know if you have any other query.

Thank you
Team Function90
You can share your views regarding our extension at JED ( )

Hire Professional Joomla Developers. ( )
3 years 8 months ago #3 by Claude Lendrevie
Thank you for your technical answer. It's fine.
ps : but the real file to be modified is "plugins => system => f90deletemyaccount => js =>dma.js" (and not "plugins => system => f90deletemyaccount => tmpl => js =>dma.js").

Claude Lendrevie
2 years 2 weeks ago #4 by JE de Sequera
I was hoping this would work, but I made the change to the dma.js file (it is in fact in "plugins => system => f90deletemyaccount => tmpl => js =>dma.js"). But it does not redirect to the home page for me.

This is the section of the code I replaced (in orange):

if(data.error == false){
setTimeout(function(){location.href = '/';}, 3000);

Am I missing something?

Thanks in advance!
Powered by Kunena Forum
Cron Job Starts