Jump to content
Sign in to follow this  
Chouro

HELP ! How to increase the length of character (65536) for the content CMS ?

Recommended Posts

Dear all,

My terms of use are really big and i cannot insert in my shop due to this limitation.
I try to change this in the class CMS.php at the line 24 :

protected $fieldsSizeLang = array('meta_description' => 255, 'meta_keywords' => 255, 'meta_title' => 128, 'link_rewrite' => 128, 'content' => 65536);

by

protected $fieldsSizeLang = array('meta_description' => 255, 'meta_keywords' => 255, 'meta_title' => 128, 'link_rewrite' => 128, 'content' => 165536);

but nothing to do...

please give me a hand

Thanks

Share this post


Link to post
Share on other sites

did you look in the database table configuration what is the max?

Share this post


Link to post
Share on other sites

yes , in the database is a longText so it can have more than 65536 character

Share this post


Link to post
Share on other sites

I have the same problem, but just in IE8, since both Firefox and Chrome shows the full content of my cms.
Still no solution for it?

Share this post


Link to post
Share on other sites

I haven't resolved this, i did 2 pages, one for Conditions of sales and one for conditions of use.

Would like to know the solution ...

Share this post


Link to post
Share on other sites

Hi,
Had the same problem and i've modified the classes/cms.php on line 24:

protected $fieldsSizeLang = array('meta_description' => 255, 'meta_keywords' => 255, 'meta_title' => 128, 'link_rewrite' => 128, 'content' => 65536);



and put in:

[code]protected $fieldsSizeLang = array('meta_description' => 255, 'meta_keywords' => 255, 'meta_title' => 128, 'link_rewrite' => 128, 'content' => 565536);


[/code]

At first i was trying 165.......than 265.....etc. until i've reached the number bigger than my content. Sorry for my english

hope this will work for you...as it works for me.

Share this post


Link to post
Share on other sites

I did the same, see the first post but didn't work.
I have to double check in case, thanks to share your experience.

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
Sign in to follow this  

×
×
  • Create New...

Important Information

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