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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   773 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, 1391 Posts

8 November 2013 at 4:16am

Edited: 08/11/2013 4:16am

You might try the Title property