how to get a download presented in a seperate window?

Get help with installation and running PivotX 2.0.x here. Please do not post Extension or Theme related questions here.

how to get a download presented in a seperate window?

Postby piotr » Thu Jul 31, 2014 9:38 pm

hi guys,

I hope that someone of you could help me out on this topic.

Thanks to the great flexibility of PivotX, I have been able to perfecty integrate the PivotX weblog into some homepages, check:
http://www.alumnei.nl/alumnei-blogs/index.php and
http://www.tukhut.nl/patrons/patrons-blogs/index.php

As an extra service, I would like to offer the reader the possibility to also download each blog as a PDF-file.
When working with URL-links, it is already possible to open each URL-link in a seperate windows.
That is exactly what I also would like to achive when offering a download-link.

In html language, I am quite familiar with the target="_blank" solution. For example:
<a href="http://www.kakivi.de/downloads/2nd Hand Basar - Flyer - 2014-03-26.pdf" target="_blank" />-- Ein Flyer für Sie</a>.

I have seen some older posts on a similar topic and I followed the suggestions as described overthere,
but that didn't do the trick sofar.

Any suggestions how to achive this? Looking forward to your replies.

Kind regards, Piotr
piotr
 
Posts: 3
Joined: Sat Jul 12, 2014 8:49 pm

Re: how to get a download presented in a seperate window?

Postby Harm10 » Thu Jul 31, 2014 9:48 pm

How about using extension Bonusfields?
That adds extra fields to your entry/page editor.
In your templates you can pick up those values and generate something with it. In this case the link to the pdf file.

You can also create a file with the link in it hard coded and use the [[ include ]] tag to include it in your web page.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)


Return to 2.x Support Forum

Who is online

Users browsing this forum: Bing [Bot] and 12 guests

cron