Hello guys,
I am facing the following issue:
I have added new text in Terms of Use but cannot be fitted, a lot of text is missing since I saved it.
Please advise what to do in order to solve my issue.
Thank you and regards
Do You have enough rights ?
Do You use any special editor that strips the text ?
Jörgen @ Kreativ Fotografi
Note that because text cannot be fitted to the width I have created a table of 3 columns and I have added text in the middle column. In that way the text at the end of the text is dissappering after save
Hello Jorgen,
I think so TinyMCE :)
I have permissions because the text is saved but not all the text I am adding
without a live url I doubt anyone can help you
URL: https://www.doitliketakemoney.gr
With that link we can see your workaround, but not the original problem. (I suppose it's a problem with your T3 template).
Thank you for your replies.
The question is: is there a limitation on how much characters can be fitted in the Terms and Services? or it is a problem on my website? Normaly had you tested to add a long text in the Terms and it worked?
I have not tested this, I use include_content_item to include a Joomla article into the TOS field. This way I can have the same text available on the website through a menu item for the customer to view.
Include a numbered amount of characters and see when they are not stored any more. Then You will discover if there is a limit.
Jörgen @ Kreativ Fotografi
Quote from: dhatzi on November 27, 2019, 10:23:39 AM
The question is: is there a limitation on how much characters can be fitted in the Terms and Services? or it is a problem on my website? Normaly had you tested to add a long text in the Terms and it worked?
In the database the data object vendor_terms_of_service is set to TEXT = 65,535 characters - 64 KB
Thank you Jorgen and jjk.
I will test both and let you know.
Jörgen thanks for the tip about using include_content_item. I have always used the "Articles Anywhere" plugin from Regular Labs, but include_content_item seems to offer additional functionality.
Hello Jenkins
I have contributed to the code a couple of times. The last contribution, multi language, has only been implemented in my personal code. If You are interested I would gladly send You a copy.
Jörgen @ Kreativ Fotografi
Thanks, Jörgen, but I don't need multi-language. We make it a policy to only work on sites in English, not out of any prejudice, but because we now only have clients from UK and USA.
That is understandable. Have a Nice Day.
Jörgen @ kreativ fotografi
Hello guys,
I have applied jjk solution and it worked, I have changed database field type of vendor_terms_of_service from text to longtext and I fixed my issue.
Thank you very much
You have to be aware that this will revert on the next upgrade of VM.
Jörgen @ Kreativ Fotografi
Do you mean this plugin? https://www.kksou.com/php-gtk2/Joomla/Include-Content-Item-plugin.php?
I added mediumtext now to the core
Quote from: Milbo on December 11, 2019, 09:23:00 AM
Do you mean this plugin? https://www.kksou.com/php-gtk2/Joomla/Include-Content-Item-plugin.php?
I added mediumtext now to the core
Yes, I mean this plugin. I have also added multilanguage support to the plugin. That is, You have to make the connection between the different languages in the normal Joomla way to make it work. Makes good reuse of articles, for example TOS.
Jörgen @ Kreativ Fotografi