Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-04-09 00:59:18

wolfcry911
Member
From: MA, USA
Registered: 2006-06-30
Posts: 51

How do I output the Title of a file?

Hello,
How do I output the Title of a file (under Content/Files)? All I can seem to do is name and description (file size, count, etc) but NOT the title…
TIA

Offline

#2 2011-04-09 01:25:25

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: How do I output the Title of a file?

wolfcry911 wrote:

Hello,
How do I output the Title of a file (under Content/Files)? All I can seem to do is name and description (file size, count, etc) but NOT the title…
TIA

txp:file_download_name has a “title” attribute so it should be:

<txp:file_download_name title="1" />

Last edited by redbot (2011-04-09 01:26:05)

Offline

#3 2011-04-09 01:29:25

wolfcry911
Member
From: MA, USA
Registered: 2006-06-30
Posts: 51

Re: How do I output the Title of a file?

redbot,
Thank-you so much!

Offline

Board footer

Powered by FluxBB