• 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: Click to open an excel spreadsheet?

Click to open an excel spreadsheet? 15 years 5 months ago #5673

Hi everyone,

I need to have a button on a form that when clicked will open a certain MS Excel spreadsheet. I have a couple of questions about how to do this.......

1. Where should I put the spreadsheet file so that it can be found?
2. What syntax should I use for the onclick event?

Thanks, in advance, for any help.
Adam
The administrator has disabled public write access.

Re:Click to open an excel spreadsheet? 15 years 5 months ago #5678

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello,

Put this code in the additional attribute field:
onclick=\"location.href='http://www.path.to/your/spreadsheet.xls';\"

You can put the file wherever it is accessible. This depends on your website configuration and server settings. It's probably a good idea to create a folder named 'download' in your Joomla! directory and place the file there. It can then be accessed by entering www.yourdomain.com/download/spreadsheet.xls<br><br>Post edited by: strafe, at: 2008/11/21 13:39
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Click to open an excel spreadsheet? 15 years 5 months ago #5689

Thanks Strafe. Works great.

Adam
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!