Tanker Posted October 11, 2018 Share Posted October 11, 2018 On section features for products I was able to change from text input to textarea with Tynimce, the problem I have is that when I try to save the value it return an error input value not valid which I think is when it validates the value, but I can't find where this validation occur so that I can change from accepting only string to accept html ... any hint on this would greatly appreciated. Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted October 11, 2018 Share Posted October 11, 2018 3 hours ago, Tanker said: On section features for products I was able to change from text input to textarea with Tynimce, the problem I have is that when I try to save the value it return an error input value not valid which I think is when it validates the value, but I can't find where this validation occur so that I can change from accepting only string to accept html ... any hint on this would greatly appreciated. Hi... you need also change the class file of "FeatureValue.php" and also see the "Feature.php" which is locate in "classes" folder. there is database validation "isGenericName" name. Thanks Link to comment Share on other sites More sharing options...
Tanker Posted October 11, 2018 Author Share Posted October 11, 2018 Thank you, I manage to change that to TYPE_HTML and isCleanHTML plus the size 255 to something else, by doing so, the table has to be change as well, from varchart(255) to midtext since we storing HTML we need more "space"... Thank you, that helped... Link to comment Share on other sites More sharing options...
alexe.nastase Posted October 25, 2018 Share Posted October 25, 2018 Hello. I need help to save html tags in features section from the create/edit product page. I have changed TYPE_HTML and isCleanHTML in classes/FeatureValue.php, but the data still ignores html tags. Can anyone help me, pls? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now