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, Ed, biapar, Willr, Ingo, swaiba

Need file name without suffix

Go to End

2 Posts   748 Views


Community Member, 14 Posts

6 November 2013 at 11:03pm

Edited: 08/11/2013 5:32am

Hi there,

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

Thank you!


Forum Moderator, 1377 Posts

8 November 2013 at 4:16am

Edited: 08/11/2013 4:16am

You might try the Title property