Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Need file name without suffix


Reply

2 Posts   313 Views

Avatar
StefanDpunkt

6 November 2013 at 11:03pm (Last edited: 8 November 2013 5:32am), Community Member, 14 Posts

Hi there,

I need the file name without suffix (for example: .doc, .mp4, . jpg, etc.) in the template
I find nothing!

Thank you!

Avatar
martimiz

8 November 2013 at 4:16am (Last edited: 8 November 2013 4:16am), Forum Moderator, 1091 Posts

You might try the Title property