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   354 Views

Avatar
StefanDpunkt

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!

Avatar
martimiz

Forum Moderator, 1105 Posts

8 November 2013 at 4:16am

Edited: 08/11/2013 4:16am

You might try the Title property