how to change the redirect after user upload
-
- Phoca Newbie
- Posts: 3
- Joined: 19 Jan 2010, 02:37
how to change the redirect after user upload
if the user uploads in the frontend, the page redirects to a url that doesn't exist on my site. (probably because i'm using sef urls) either way, how do i adjust the page that phoca redirects to after user upload in the frontend? thank you very much.
-
- Phoca Member
- Posts: 13
- Joined: 15 Dec 2009, 19:27
Re: how to change the redirect after user upload
i have the same problem, i get a 404 page after user upload.
how to fix that?
how to fix that?
-
- Phoca Newbie
- Posts: 3
- Joined: 19 Jan 2010, 02:37
Re: how to change the redirect after user upload
for me, i went to /components/com_phocadownload/user/view.html.php then at line 187 i changed "false" to "true" to redirect back to the user's upload page. ie.
but it is not working for me
. in fact, for some reason i am being redirected to the homepage (with the user upload in a top position) whenever i select the category in the dropdown. 
Code: Select all
$mainframe->redirect(JRoute::_($link, true),


- Jan
- Phoca Hero
- Posts: 49014
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: how to change the redirect after user upload
Hi, I will take a look at it (this should be fixed one month ago, but I need first to answer all the posts in the forum
)
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 19 Jan 2010, 02:37
Re: how to change the redirect after user upload
thank you for taking a look at this problem. if you have any trouble replicating the problem, i would be more than happy to give you access to my site so you can see what it is doing first hand.
- Jan
- Phoca Hero
- Posts: 49014
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: how to change the redirect after user upload
Hi, it is known issue, I know the problem, I only need time to fix it and release it in new version.
Jan

Jan
If you find Phoca extensions useful, please support the project