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

Remove the "m" Parameter in *.css?m=32861239


Reply


2 Posts   2209 Views

Avatar
stefant42

Community Member, 14 Posts

5 January 2010 at 2:47am

Hello Community,

i wish you all an happy new year!

Is it possible to remove die "m" parameter in the href

<link rel="stylesheet" href="layout.css?m=12342832"/>

and the src

<script type="text/javascript"src="layout.css?m=12342832"/>

attribute of the given Elements?

I dont find some static property or method to set this.

Best Regards,

Stefan

Avatar
MateuszU

Community Member, 89 Posts

5 January 2010 at 4:22pm

Edited: 05/01/2010 4:24pm

How about doing this in your _config.php file:

Requirements::set_suffix_requirements(false)

You won't be able to exclude only several files from this behaviour, this is global option.