Custom HTML module truncated on Apply/Save
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jul 16, 2009 9:16 am
Custom HTML module truncated on Apply/Save
I added a 'Custom HTML' module in one of the pages and am trying to insert/paste some HTML/Javascript code in it (in No Editor mode), but when I click Apply or Save, the code is truncated in what seem to be random places. The code is ~90KB long and is working by itself as a .htm file.
Thanks for any help with this.
Thanks for any help with this.
- ooffick
- Joomla! Master
- Posts: 11616
- Joined: Thu Jul 17, 2008 3:10 pm
- Location: Ireland
- Contact:
Re: Custom HTML module truncated on Apply/Save
Hi, welcome to the forum
Did you check the blacklist setting to include HTML into your Articles:
http://docs.joomla.org/Why_does_some_HT ... n_1.5.8%3F
Olaf
Did you check the blacklist setting to include HTML into your Articles:
http://docs.joomla.org/Why_does_some_HT ... n_1.5.8%3F
Olaf
Olaf Offick - Global Moderator
learnskills.org
learnskills.org
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jul 16, 2009 9:16 am
Re: Custom HTML module truncated on Apply/Save
Yes, I checked that, I am not filtered. I have version 1.5.11 and am an Admin.
Also, I have another 'Custom HTML' module with a much shorter snippet of HTML and it's working properly. Even this truncated module is displayed in distorted form (because it's truncated).
Also, I have another 'Custom HTML' module with a much shorter snippet of HTML and it's working properly. Even this truncated module is displayed in distorted form (because it's truncated).
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jul 16, 2009 9:16 am
Re: Custom HTML module truncated on Apply/Save
...some additional info: I inserted this HTML/JavaScript code in an Article(no Editor mode) and it's not truncated and is working for the most part, some styling and formatting is lost. But I need this code to work in a separate HTML module.
Thanks
Thanks
- ooffick
- Joomla! Master
- Posts: 11616
- Joined: Thu Jul 17, 2008 3:10 pm
- Location: Ireland
- Contact:
Re: Custom HTML module truncated on Apply/Save
I just tried it myself, and it looks like the custom HTML module is truncated at 65535 characters if the Code Cleanup of the TinyMCE Editor is switched on, if it is switched off, I can go over that limit without any problem.
I found that the same limit applies when the WYSIWYG Editor is set to No Editor.
Can you try to switch on the TinyMCE Editor (if possible the one which is included in 1.5.12) and try to disable the Code Cleanup, and tell me if that is working. (you can toggle to html mode, paste it, and then toggle back.)
Olaf
I found that the same limit applies when the WYSIWYG Editor is set to No Editor.
Can you try to switch on the TinyMCE Editor (if possible the one which is included in 1.5.12) and try to disable the Code Cleanup, and tell me if that is working. (you can toggle to html mode, paste it, and then toggle back.)
Olaf
Olaf Offick - Global Moderator
learnskills.org
learnskills.org
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jul 16, 2009 9:16 am
Re: Custom HTML module truncated on Apply/Save
Thank you for your response.
I'll upgrade to 1.5.12 and try your solution. (i won't be at my computer until later today and will post my results then)
I'll upgrade to 1.5.12 and try your solution. (i won't be at my computer until later today and will post my results then)
- ooffick
- Joomla! Master
- Posts: 11616
- Joined: Thu Jul 17, 2008 3:10 pm
- Location: Ireland
- Contact:
Re: Custom HTML module truncated on Apply/Save
To change this behaviour please open phpMyAdmin and change in the table jos_modules the type of the field "content" from text to mediumtext.
This would change the limit from 65535 to 16777215.
If you need even more space you will need to change it to longtext.
Olaf
This would change the limit from 65535 to 16777215.
If you need even more space you will need to change it to longtext.
Olaf
Olaf Offick - Global Moderator
learnskills.org
learnskills.org
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Jul 16, 2009 9:16 am
Re: Custom HTML module truncated on Apply/Save
This solved it!
I didn't even need to upgrade to 1.5.12.
Thank you for all your help!
I didn't even need to upgrade to 1.5.12.
Thank you for all your help!
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Aug 16, 2012 10:36 am
Re: Custom HTML module truncated on Apply/Save
ooffick wrote:To change this behaviour please open phpMyAdmin and change in the table jos_modules the type of the field "content" from text to mediumtext.
This would change the limit from 65535 to 16777215.
If you need even more space you will need to change it to longtext.
Olaf
Hello, I got Access Denied when open phpMyAdmin in localhost with Esyphp.
How to do?
And after I will be able to change the table jos_modules, will I be able to do the same on the remote server or or will not be required there?
Just curious:
why normally are set to "text" and not of "mediumtext"
What happens if I change these parameters?
Everything will be slower?
This is a very serious probblem...
Thank you
- ooffick
- Joomla! Master
- Posts: 11616
- Joined: Thu Jul 17, 2008 3:10 pm
- Location: Ireland
- Contact:
Re: Custom HTML module truncated on Apply/Save
If you cannot open phpmyadmin, please check with your hosting provider to get access.
Kind Regards,
Olaf
Kind Regards,
Olaf
Olaf Offick - Global Moderator
learnskills.org
learnskills.org
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Nov 15, 2009 7:02 pm
Re: Custom HTML module truncated on Apply/Save
How to do this in Joomla 3 please?To change this behaviour please open phpMyAdmin and change in the table jos_modules the type of the field "content" from text to mediumtext.
I am using Kunena latest and could not disable it for a side article (module anywhere) for some reason and want that text for a navigation area.
The data is a little big for the side module area.
How to set to mediumtext in Joomla 3 - I know fairlly little about database in Php my admin and could not find this section in Joomla 3 Php my admin.
Thank you.