Random display of (random) quotation

skizzo - May 23, 2008 - 12:47
Project:Quotes
Version:5.x-1.5
Component:Code
Category:feature request
Priority:minor
Assigned:NancyDru
Status:closed
Description

I would like to add an element of surprise in displaying poetry fragments... Could we have an option for a random empty quote? Say that the real quotes will show up only N times out of 100. Or are there already other ways of achieving that? Thank you.

#1

NancyDru - May 23, 2008 - 13:23
Priority:normal» minor
Assigned to:Anonymous» NancyDru
Status:active» postponed

I'm not sure how many people would want this, but I will look into it when I have some time.

#2

dokumori - May 23, 2008 - 13:30

since quotes are nodes, you can use Views to do this?

#3

skizzo - May 23, 2008 - 14:44

Thank you for your suggestion. I guess with Views I could pick a single node from a (random sorted) list, which I can already do with Quotes. What I mean is to have the quotation show up on a given block but... every now and then.

#4

NancyDru - May 23, 2008 - 19:03

I think I understand what you want. I don't know if Views could do a "sometimes" block. But Views can do the Quotes nicely.

#5

NancyDru - February 10, 2009 - 19:30
Status:postponed» fixed

You must run update.php. There is a new setting on the block configuration for Random blocks.

Committed to both branches.

#6

System Message - February 24, 2009 - 19:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.