Jump to content
samjouzel

Modification Validate.php possible ?

Recommended Posts

Hi !

i want to change the Validate.php to accept the caracter "#" in my html CMS content.

Why ? ===> to add some smileys !  because the smileys is "😜' and the # is not available, i think i have to modify isValidSearch function and erase the #...

Do you think it's risky ?

Because when i add the html code for the smiley directly inside phpmyadmin, it's ok but if i add inside the html CMS content with the backoffice it's not working...

 

Thanks for advise !!

Share this post


Link to post
Share on other sites

I think you should edit the regex of isCleanHTML for that, I believe it's what the cms content uses for validation

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More