1
jfernau
Need to display longer quote in Random Quote
  • 2004/7/22 16:37

  • jfernau

  • Just popping in

  • Posts: 95

  • Since: 2003/12/29


Greetings,

I am trying to use the Random Quote module to display scriptures on my church's website. Some scriptures are too long and are truncated. In the mysql.sql file there were 2 fields defined. I attempted to increase the size of the 'texto' field. I uninstalled and reinstalled, and got this error:

Installing Random Quotes

Too big column length for column 'texto' (max = 255). Use BLOB instead

Unable to install randomquote. Error(s):
Back to Module Administration page

So, I'm guessing I can't do that. Is there another way to increase the quote length, or another module that would serve my purpose better?

Thanks.

John

2
technigrafa
Re: Need to display longer quote in Random Quote

*BUMP*

Anyone got randomquotes to work with longer quotes than 256 characters?

3
technigrafa
Re: Need to display longer quote in Random Quote

Ok, answered by own question. Duh! Use phpmyadmin and look for xoops_citas and change the character length of the "texto" field to 600 or whatever.

Hope this helps someone!

4
McDonald
Re: Need to display longer quote in Random Quote
  • 2006/7/1 12:00

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


You can change this in the database after installation.
Go to the table _citas and change the citas field from VARCHAR to TEXT, length/value: leave empty.

Or for a fresh install change the sql file as follows:
#
# Table structure for table `citas`
#

CREATE TABLE citas (
  
id int(11NOT NULL auto_increment,
  
texto [color=FF0000]text[/colorNOT NULL default '',
  
autor varchar(255NOT NULL default '',
  
PRIMARY KEY  (id),
  
KEY id (id)
TYPE=MyISAM;

Login

Who's Online

218 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits