WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Converting a Site

<< < (4/5) > >>

pcwacht:

--- Quote ---To recap: The News module is fine (for me) posting pages with 5 or 6 pages of data, but if I try any more, the post simply ends, about halfway through (again, about after 5 or 6 pages worth of data) with no previous error messages in saving, reading, or writing.       
--- End quote ---

The default databasefield for the long content is text, wich ofcourse has a limit.

This is a known problem wich arises every 'n'th user. In 99 percent of the cases the text limit is more then enough. The type Text can hold 65535 characters or 32768 doublebyte characters wich are normally more then enough.
look allso at , https://forum.WebsiteBaker.org/index.php/topic,2387.0.html

If you need more, you need to change a table in wb.
In the table -. news_posts change the field type of content_long from text to textmedium of textlong.
If you need help I can help you.

But, I allso must mention that creating such long pages is not visitor friendly, It is much better to keep scrolling to a limit by building a better menustructure.
Or break a very long page up into seperate shorter pages.

Have fun,
John

Nicky:
Hi John

Thanks. Notably, the text is usually imported from Word (including tables created by Word) which, as you know, have huge amounts of ancillary formatting data.

If you need more, you need to change a table in wb.
In the table -. news_posts change the field type of content_long from text to textmedium of textlong.

Q. Is this via MySql, or by changing the actual news_posts part of the news module, or both?

Hi John, cancel that Q above. It's the database table I need to change. I'll attempt that tomo. and report.Thanks

pcwacht:
Only through mysql

Go to the table {table_prefix}mod_news_posts -> structure -> edit contentlong filed, change text to mediumtext or longtext

Then when everything is working, get rid of msword ;)
and start cleaning things up to server pages faster to your visitors.

Have fun,
John

Nicky:
Thanks John

Totally sorted. I changed text to textlong as you suggested.  :-D

I utterly agree with ditching MSWord but it's local French government issue (literally) so I have to live with it. I'm open to suggestions about a work-around though! Personally, I use OpenOffice.

Proost!

Nicky

Argos:

--- Quote from: Nicky on August 31, 2011, 03:17:55 PM ---I utterly agree with ditching MSWord but it's local French government issue (literally) so I have to live with it. I'm open to suggestions about a work-around though! Personally, I use OpenOffice.

--- End quote ---

I guess he meant "don't paste Word-content into the editor", instead of "don't use Word at all"  :-D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version