Unregistered users: redirect to custom page login

Phoca Download - download manager
yae
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Jun 2010, 17:55

Unregistered users: redirect to custom page login

Post 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
emal011
Phoca Member
Phoca Member
Posts: 23
Joined: 11 May 2010, 16:57

Re: Unregistered users: redirect to custom page login

Post 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
yae
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Jun 2010, 17:55

Re: Unregistered users: redirect to custom page login

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unregistered users: redirect to custom page login

Post 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
If you find Phoca extensions useful, please support the project
Post Reply