Page 1 of 1

Unregistered users: redirect to custom page login

Posted: 11 Jun 2010, 11:40
by yae
Hi:

How I can modify the following thing:

When a unregistered user tries to download file, redirect to a customized page, instead of the page for default of login?

Before to update Phocadownload, I had it like that (because I modified it) but now I have updated and do not remind myself what I did. :?


Thanks in advance

Re: Unregistered users: redirect to custom page login

Posted: 11 Jun 2010, 12:54
by emal011
That´s is just what I search... I have a modified page for login and now with Phoca, it just show me the all page, it´s just make ugly my website... XD

Re: Unregistered users: redirect to custom page login

Posted: 14 Jun 2010, 16:47
by yae
I am searching how to redirect the user to custom page login. I think that I need to modify this file

components/com_phocadownload/models/file.php


but I tried, but continues redirecting to default joomla login page.

Any idea how to solve it?

Re: Unregistered users: redirect to custom page login

Posted: 18 Jun 2010, 12:28
by Jan
Hi, you should find redirect methods in the code and change it to your owns (not only in file file but in category file too - or in modules and controllers of both files)

Somewhere in this forum there are added the places to modify them. :idea:

Jan