Search

It seems to be bug or... i want to filter my DS by url param with spaces, e.g. 'symphony rules'. On debug page instead of this value i'm getting 'symphony+rules' and filtering returns 'no records found'. How can i solve the task?

Nick Dunn helped me. I can add the following line into my /workspace/data/data.mydatasource.php:

...
public function grab(&$param_pool=NULL){
  $this->dsParamFILTERS['paramID'] = urldecode($this->dsParamFILTERS['paramID']);
...

The question is: how can i make this change permament? So that next edit of ds won't remove this code.

change

public static function allowEditorToParse(){
    return true;
}

to

public static function allowEditorToParse(){
    return false;
}

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details