- Posts: 6
- Thank you received: 0
Any questions about Documents Sellers, post it here .
Change redirect page after uploading a new doc
- Jaconat
- Topic Author
- Offline
- New Member
Less
More
12 years 3 months ago #18262
by Jaconat
Change redirect page after uploading a new doc was created by Jaconat
Hi
How can I change the redirect page after a new document is added (upload document)? At the moment when I add a new document and click the Save Document button, my document is uploaded and I get redirected to the root of the categories list. I would like the user to be redirected to the their list of uploaded files (My Documents).
Thanks
How can I change the redirect page after a new document is added (upload document)? At the moment when I add a new document and click the Save Document button, my document is uploaded and I get redirected to the root of the categories list. I would like the user to be redirected to the their list of uploaded files (My Documents).
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
12 years 3 months ago #19000
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Change redirect page after uploading a new doc
Hi Jaconat
Please follow the steps below :
1. Open the file components/com_dms/controller.php
2. Find the code below (line 472 if you are using latest version) :
3. Change it to :
After that, it should work as expected .
Tuan
Please follow the steps below :
1. Open the file components/com_dms/controller.php
2. Find the code below (line 472 if you are using latest version) :
Code:
$url = JRoute::_('index.php?option=com_dms&task=user_docs&Itemid='.$Itemid) ;
3. Change it to :
Code:
$url = JRoute::_('index.php?option=com_dms&view=docs&Itemid='.$Itemid) ;
After that, it should work as expected .
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.