WebsiteBaker Community Forum

WebsiteBaker Support (2.10.x) => General Help & Support => Topic started by: contactjw on July 19, 2017, 12:04:24 AM

Title: Css to head and ScriptVars
Post by: contactjw on July 19, 2017, 12:04:24 AM
If I upgrade to 2.10.0 and I don't want to include these filters is there a way to disable them besides renaming the actual files in the filters folder?
Title: Re: Css to head and ScriptVars
Post by: Ruud on July 19, 2017, 10:41:42 AM
No, for now deleting (or renaming) them is the simple way to disable these functions.
Hopefully in a future version it will be possible to configure them through the backend again.
Title: Re: Css to head and ScriptVars
Post by: Gast on July 19, 2017, 12:11:23 PM
go into modules/output_filter/index.php. there is an array. deactivate the filters with a # or // in front of the lines.

ScriptVars is no problem, but if i remember correct, you have possible some negative side effects, if you deactivate the CSStoHead-Filter, the problem comes here from some old modules with a link to a css-file inside
Title: Re: Css to head and ScriptVars
Post by: contactjw on July 21, 2017, 11:55:29 PM
OK. Filters disabled. No problems so far.  :-)