- Posts: 3
- Thank you received: 0
All questions about EDocman extension
Dokuments Table Layout with option _blank
- Johannes Weninger
- Topic Author
- Offline
- New Member
-
Less
More
6 years 4 months ago #119984
by Johannes Weninger
Dokuments Table Layout with option _blank was created by Johannes Weninger
Hello, is there a way to display documents in the "Documents Table Layout" view in a new tab or page? Many users press X after reading the PDF and the website is completely closed. (no download button, Joomla 3.9.1, Edocman 1.11.1, Hera Template)
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13021
- Thank you received: 1688
6 years 4 months ago #120014
by Mr. Dam
Replied by Mr. Dam on topic Dokuments Table Layout with option _blank
Hi Johannes,
You want to add _blank into the document title in Documents table layout, right?
You can follow below steps to implement it
1. Open file: root -> components -> com_edocman -> view -> common -> documents_table.php
2. Find:
and change to
Thanks
Dam
You want to add _blank into the document title in Documents table layout, right?
You can follow below steps to implement it
1. Open file: root -> components -> com_edocman -> view -> common -> documents_table.php
2. Find:
Code:
if($item->document_url != ""){
if($config->external_download_link == 1){
$target = "_blank";
}else{
$target = "_self";
}
}else{
$target = "_self";
}
Code:
if($item->document_url != ""){
if($config->external_download_link == 1){
$target = "_blank";
}else{
$target = "_self";
}
}else{
$target = "_blank";
}
Dam
Please Log in or Create an account to join the conversation.
- Johannes Weninger
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
6 years 4 months ago #120048
by Johannes Weninger
Replied by Johannes Weninger on topic Dokuments Table Layout with option _blank
Thanks, but unfortunately with this change still the same. The documents will still be opened in the same window. Tested with Chrome, Firefox, Edge. Try switching to Protostar Template no change.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13021
- Thank you received: 1688
6 years 4 months ago #120065
by Mr. Dam
Replied by Mr. Dam on topic Dokuments Table Layout with option _blank
Hi Johannes,
Please submit ticket and send your site url with super admin account. I'll check the problem for you.
Thanks
Dam
Please submit ticket and send your site url with super admin account. I'll check the problem for you.
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 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.