plainblack.com
Username Password
search
Bookmark and Share
Add a file extension var to attachment loop  (#9668)
Issue

The filename is currently available in the attachment loop and an icon is available, but adding the file extension could be useful in some cases.

Example:

<a href="<tmpl_var url>"><tmpl_var filename> (<tmpl_var extension>)</a>

>>>

<a href="/someFile.pdf">Info (pdf)</a>

Solution Summary
Comments
rogier
4
2/4/2009 5:08 am
Oops, I forgot: and the same for the file asset please.
rogier
0
2/4/2009 9:00 am
And folder template.
JT
0
2/12/2009 5:03 pm
approved
roryzweistra
0
6/22/2011 4:11 am
I'm working on this, hope to have it finished somewhere this week
rogier
0
6/22/2011 2:47 pm
You the man Rory! :-)
zylopfa
0
7/21/2011 2:49 pm
Solved this RFE, updated the following assets to include extension template variable, when dealing with fileloops.

Article.pm    - fixed
Asset/Post.pm - Fixed
Asset/Event.pm - fixed
Folder.pm - fixed
File.pm          - Fixed
Form::Attachments - fixed


Pull request is send to plainblack branch waiting for approval.
zylopfa
0
7/23/2011 11:03 am
Has been merged into beta
Details
Ticket Status Resolved  
Rating4.0 
Submitted By rogier  
Date Submitted2009-02-04 
Assigned To unassigned  
Date Assigned 2019-05-21  
Assigned By  
What to improve? WebGUI 7 Stable  
URLrfe/request-for-enhancement/9668
Karma
Difficulty 1  
Karma So Far5200
Karma Rank5200.00
Keywords
Ticket History
7/28/2011
11:55 PM
Resolved DBell
4/8/2011
8:50 AM
4000 karma transferred rogier
1/18/2010
2:39 PM
400 karma transfered bartjol
11/5/2009
3:11 PM
600 karma transfered rogier
8/20/2009
3:19 PM
200 karma transfered rogier
2/4/2009
10:07 AM
Ticket created rogier
© 2019 Plain Black Corporation | All Rights Reserved