Hi,
is it possible to remove the query strings form the combined js and css files (?m=12345678)?
If it's possible, how?
Thx in advance
cSGermany
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Hi,
is it possible to remove the query strings form the combined js and css files (?m=12345678)?
If it's possible, how?
Thx in advance
cSGermany
mysite/_config.php
Requirements::set_suffix_requirements(false);
that was easy :D
Tank you!
Not so easy ;)
This causes the WYSIWYG Editor to disappear ...
That's the console log
Failed to load resource: the server responded with a status of 404 (Not Found) http://domain.de/framework/thirdparty/tinymce/tiny_mce_gzip.…lscreen,inlinepopups&themes=advanced&languages=de&diskcache=true&src=false
Failed to load resource: the server responded with a status of 404 (Not Found) http://domain.de/framework/thirdparty/tinymce/tiny_mce_gzip.…lscreen,inlinepopups&themes=advanced&languages=de&diskcache=true&src=false
any ideas?
Works for me. You're sure both issues are related?
Have a look in your framework/.htaccess file. If there isn't a mention of "tiny_mce_gzip", then you're probably working with an outdated version of SilverStripe 3 and you need to update to ss 3.0.5 or 3.0.6-rc1.
https://github.com/silverstripe/silverstripe-framework/blob/3.0/.htaccess
Hi,
the errors only display if I use
Requirements::set_suffix_requirements(false);
I'm using SS 3.0.5
Ok i'll look it up in the .htaccess and i'll also try it on another installation.
Thx
Sorry, I'm using 3.1 already...
You're right, this doesn't work in 3.0.
You can workaround this issue if you add "HtmlEditorField::$use_gzip = false;" to your _config.php
you do not have to apologize :D thats not your fault :P
Thank you for the solution.