7 users online. Create an account or sign in to join them.Users

Search

For my extension I'm trying to a add validationfield on the settings page that holds a regular expression. All in all it works but escaped characters get stripped out (I think it's because of Symphony::Configuration() get and set.). I know it is possible on a regular validation field. Is there a possible workaround?

Greetings, Thomas

You could base64_encode your settings when you write those to the config. Or you could save the settings in a separate database table. The URL Router extension might be a place to find some code for the latter.

Thanks, works like a charm.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details