Memorial Day
Support will be closed on Monday, May 28th, 2012 to enjoy Memorial Day with our friends and families.
   
3 of 3
3
Download Content Plugin
Posted: 11 November 2011 10:48 AM   [ Ignore ]   [ # 37 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002

So you are wanting a file stored on the server to be downloaded via some arbitrary ExpressionEngine URL instead of a traditional link to the file?  If that is correct then I would look at the Downloader plugin or the Download File plugin.  The plugin in this thread is designed to output template content to a file, not to deliver files stored on the server, which both of the aforementioned plugins do.  Hope that helps!

 Signature 
Profile
MSG
 
 
Posted: 11 November 2011 10:51 AM   [ Ignore ]   [ # 38 ]  
Research Assistant
RankRankRank
Total Posts:  432
Joined  09-17-2010
Derek Jones - 11 November 2011 10:48 AM

So you are wanting a file stored on the server to be downloaded via some arbitrary ExpressionEngine URL instead of a traditional link to the file?  If that is correct then I would look at the Downloader plugin or the Download File plugin.  The plugin in this thread is designed to output template content to a file, not to deliver files stored on the server, which both of the aforementioned plugins do.  Hope that helps!

I will try them Derek.  I can easily link direct to the file myself, but the link will be in a navigation bar and my client will have a hard time finding the full file URL if they ever need to change it.  That is why I want to use a template so they can just update the channel entry.  Thanks for your advice.

Profile
 
 
Posted: 11 November 2011 10:52 AM   [ Ignore ]   [ # 39 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002

Sounds like a great idea, bgarrant!  I think either one of those plugins should do fine.

 Signature 
Profile
MSG
 
 
Posted: 11 November 2011 10:53 AM   [ Ignore ]   [ # 40 ]  
Research Assistant
RankRankRank
Total Posts:  432
Joined  09-17-2010
Derek Jones - 11 November 2011 10:48 AM

So you are wanting a file stored on the server to be downloaded via some arbitrary ExpressionEngine URL instead of a traditional link to the file?  If that is correct then I would look at the Downloader plugin or the Download File plugin.  The plugin in this thread is designed to output template content to a file, not to deliver files stored on the server, which both of the aforementioned plugins do.  Hope that helps!

Downloader looks good but I can’t find a place to download it.  Is it just a Beta?

http://duktee.com/addons/downloader

Profile
 
 
Posted: 11 November 2011 10:55 AM   [ Ignore ]   [ # 41 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002

Ah, looks like they’ve taken it down whilst working on it.  You might contact them directly, or just use Download File which is still active on GitHub.

 Signature 
Profile
MSG
 
 
Posted: 11 November 2011 11:11 AM   [ Ignore ]   [ # 42 ]  
Research Assistant
RankRankRank
Total Posts:  432
Joined  09-17-2010
Derek Jones - 11 November 2011 10:55 AM

Ah, looks like they’ve taken it down whilst working on it.  You might contact them directly, or just use Download File which is still active on GitHub.

I will have to wait for it I guess.  The Download File is just for forcing a non-broser opening.  Not for forcing a download of a file.  Do you know of any way for a client to easily see the full path of a file that was uploaded?  If I could display that for them it would be easy as they could copy/paste the URL to the file into NavEE Manual link.

Profile
 
 
Posted: 11 November 2011 11:14 AM   [ Ignore ]   [ # 43 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002

Can you not just output the menu item with the channel entries tag?  That said, I think the Download File plugin can do what you want to, you’d use the :link tag in the menu, and the :serve in the template.

 Signature 
Profile
MSG
 
 
Posted: 02 May 2012 04:33 AM   [ Ignore ]   [ # 44 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  168
Joined  10-26-2007

A very simple alternative to this that is also much more flexible is the HTTP Header plugin:
http://devot-ee.com/add-ons/http-header

Worked much better for me in that it does not terminate parsing.

J

 Signature 

http://www.flashgamer.com
http://twitter.com/jenschr

Profile
 
 
Posted: 02 May 2012 10:14 AM   [ Ignore ]   [ # 45 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002

The two add-ons do not have the same purpose, but I’m glad you found a solution that work for you, Jensa.

 Signature 
Profile
MSG
 
 
   
3 of 3
3