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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

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


Go to End


2 Posts   2613 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.