Download & Extend

Quotes block - only teaser length

Project:Quotes
Version:5.x-1.7
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

It seems that the text in my quotes block is cut short i.e. only being displayed as teaser length. Is it possible to change this to full length?
Thanks,
Mikkel

Comments

#1

Status:active» postponed (maintainer needs more info)

There is a "Maximum quote length" setting in the block configuration. Have you tried that?

#2

I don't see this setting anywhere when I select 'configure' for the quote block? ..

#3

Look in views

#4

@Lostmonkey: It must just be in the -dev release. It should be stable enough to use.

@brightondesigns: Please don't advocate Views in my module queues.

#5

Hmm .. I just tried changing to the dev-release, but I get errors when I run the update script so maybe it isn't entirely stabel, hope I didn't mess up my installation.

:-(

#6

What errors? It's hard to fix something when it's not described well enough for me to locate.

#7

Just ran update.php and with the Quotes-module I get these errors (have inserted XXX instead of my site address):

* user warning: Duplicate column name 'vid' query: ALTER TABLE quotes ADD vid INTEGER NOT NULL in /var/XXXX/includes/database.mysql.inc on line 174.

* user warning: Duplicate key name 'quotes_nid' query: CREATE INDEX quotes_nid ON quotes (nid) in /var/XXXX/includes/database.mysql.inc on line 174.

* user warning: Duplicate key name 'quotes_promote' query: CREATE INDEX quotes_promote ON quotes (promote) in /var/XXXX/includes/database.mysql.inc on line 174.

* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: ALTER TABLE quotes ADD COLUMN title in /var/XXXX/includes/database.mysql.inc on line 174.

* user warning: Duplicate column name 'citation' query: ALTER TABLE quotes ADD citation VARCHAR(255) in /var/XXXX/includes/database.mysql.inc on line 174.

* user warning: Duplicate column name 'count' query: ALTER TABLE quotes_blocks ADD COLUMN count INTEGER NOT NULL DEFAULT 1 in /var/XXXX/includes/database.mysql.inc on line 174.

* user warning: Duplicate column name 'show_titles' query: ALTER TABLE quotes_blocks ADD COLUMN show_titles INTEGER NOT NULL DEFAULT 0 in /var/XXXX/includes/database.mysql.inc on line 174.

* user warning: Table 'quotes_authors' already exists query: CREATE TABLE quotes_authors ( aid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255) NOT NULL, bio TEXT NULL, UNIQUE (`name`) ) /*!40100 DEFAULT CHARACTER SET utf8 */ in /var/XXXX/includes/database.mysql.inc on line 174.

* user warning: Duplicate column name 'aid' query: ALTER TABLE quotes ADD aid INT UNSIGNED NOT NULL AFTER vid in /var/XXXX/includes/database.mysql.inc on line 174.
   
* Add column "aid" failed.

* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/XXXX/update.php on line 309.

* warning: Invalid argument supplied for foreach() in /var/XXXX/update.php on line 542.

And the summary is:

The following queries were executed
quotes module
Update #1

    * ALTER TABLE {quotes} DEFAULT CHARACTER SET utf8
    * ALTER TABLE {quotes} CHANGE `citation` `citation` blob DEFAULT '' NULL
    * ALTER TABLE {quotes} CHANGE `citation` `citation` text CHARACTER SET utf8 DEFAULT '' NULL
    * ALTER TABLE {quotes_blocks} DEFAULT CHARACTER SET utf8
    * ALTER TABLE {quotes_blocks} CHANGE `name` `name` varbinary(255) DEFAULT '' NOT NULL, CHANGE `nid_filter` `nid_filter` blob DEFAULT '' NOT NULL, CHANGE `rid_filter` `rid_filter` blob DEFAULT '' NOT NULL, CHANGE `uid_filter` `uid_filter` blob DEFAULT '' NOT NULL, CHANGE `tid_filter` `tid_filter` blob DEFAULT '' NOT NULL, CHANGE `view_text` `view_text` varbinary(64) DEFAULT '' NULL, CHANGE `more_text` `more_text` varbinary(64) DEFAULT '' NULL
    * ALTER TABLE {quotes_blocks} CHANGE `name` `name` varchar(255) CHARACTER SET utf8 DEFAULT '' NOT NULL, CHANGE `nid_filter` `nid_filter` text CHARACTER SET utf8 DEFAULT '' NOT NULL, CHANGE `rid_filter` `rid_filter` text CHARACTER SET utf8 DEFAULT '' NOT NULL, CHANGE `uid_filter` `uid_filter` text CHARACTER SET utf8 DEFAULT '' NOT NULL, CHANGE `tid_filter` `tid_filter` text CHARACTER SET utf8 DEFAULT '' NOT NULL, CHANGE `view_text` `view_text` varchar(64) CHARACTER SET utf8 DEFAULT '' NULL, CHANGE `more_text` `more_text` varchar(64) CHARACTER SET utf8 DEFAULT '' NULL

Update #2

    * Failed: ALTER TABLE {quotes} ADD vid INTEGER NOT NULL
    * UPDATE {quotes} SET vid = nid
    * ALTER TABLE {quotes} DROP PRIMARY KEY
    * ALTER TABLE {quotes} ADD PRIMARY KEY (nid, vid)

Update #3

    * ALTER TABLE {quotes} DROP PRIMARY KEY
    * ALTER TABLE {quotes} ADD PRIMARY KEY (vid)
    * Failed: CREATE INDEX {quotes}_nid ON {quotes} (nid)
    * Failed: CREATE INDEX {quotes}_promote ON {quotes} (promote)

Update #4

    * Failed: ALTER TABLE {quotes} ADD COLUMN title

Update #5

    * Failed: ALTER TABLE {quotes} ADD citation VARCHAR(255)

Update #6

    * Failed: ALTER TABLE {quotes_blocks} ADD COLUMN count INTEGER NOT NULL DEFAULT 1
    * Failed: ALTER TABLE {quotes_blocks} ADD COLUMN show_titles INTEGER NOT NULL DEFAULT 0

Update #7

I have no idea what the problem is, so I will appreciate any help.

#8

Well, the first thing I see os that you appear to have run the update more than once - that's why all the "duplicates." It does look like there may be a real error there on the 4th one. The last two are probably artifacts of the other failures, but are not part of Quotes.

I will look into the one error and whether or not I can find a way to prevent duplicates.

#9

#336698: Database queries fail during update-process should prevent reruns of the update.

#10

Status:postponed (maintainer needs more info)» fixed

#11

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here