• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Open PDF details link in new browser window?

Open PDF details link in new browser window? 10 years 6 months ago #29047

  • heff66
  • heff66's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Is there any way to have the submissions details PDF link open in a new browser window? (target="_blank")
The administrator has disabled public write access.

Open PDF details link in new browser window? 10 years 1 month ago #30856

  • nshour
  • nshour's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
heff66 wrote:
Is there any way to have the submissions details PDF link open in a new browser window? (target="_blank")

heff66, did you ever get this figured out? thx, neale
The administrator has disabled public write access.

Open PDF details link in new browser window? 10 years 1 month ago #30893

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
Edit the following file:

\components\com_rsform\models\submissions.php

and, in the getTemplate() funnction, replace the following line (303):
'{detailspdf}' => '<a href="'.$pdf_link.'">',

with this one:
'{detailspdf}' => '<a href="'.$pdf_link.'" target="_blank">',

Note that when you update RSForm!Pro these changes will be lost and you will need to modify that line again.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 10 years 1 month ago by silviup.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!