Is there any module with which I can do that:

Any member of the group citationAuthors can create an entry into the citations-pool. Each day the citation-of-the-day is shown in a certain area of the website. This could be used for fortunes, tip of the day and so on.

I didn't find a module to realize this yet.

Comments

stephenhendry’s picture

this may help you http://drupal.org/node/12271
--------------------------------------
http://www.stephenhendry.net

Muslim guy’s picture

Quotes is a nice way. Can be configured to tie with author, terms, block display - set to random or most recent. Can mass-import quotations (fortune files). The quotes block can also take HTML code (can display image, logo, ads :)

________________________________________________________________________________
Internet for ISLAM, get to know Islam and Muslims :) May Allah brings you to the Straight Path
http://muslimin.org/Islam
----------------------------

divrom’s picture

Hi Muslimin,

How would one go about doing those things you speak of (e.g. tie with author, terms, block display - set to random or most recent)?

I've not been able to configure this module much at all.

Muslim guy’s picture

Create at least 1 quote block first

Got to your admin/settings/quotes

Quotes is quite quirky to install. But at least it requires a Quote Block to be created. Then after creating 1, you will see the settings for that 1 block.

Note that 1 quote block can be configured differently from another quote block.

******
Home » administer » settings
quotes

* overview
* configure blocks
* add block

You can define any number of blocks that will each display either a randomly-selected quote or the most-recent quote. The quotes displayed in each block can be restricted to certain node IDs, roles, users, or categories. Each block has a name that is used only for identification on the block administration page and a title that is shown when the block is displayed. The block title can contain the variable %title which will be replaced by the selected quote's title.

Namesort icon Title Filters Operations
Tips Tips - %title user configure delete

(I named it `Tips')

*Click `Configure' and you will see as followd:

Home » administer » settings » quotes

configure quote block

Name: *
Enter a unique name for this block. This will identify the block on the block administration page.

Block title:
Enter the title that will be used for this block when displayed. If desired, you can include the string %title which will be replaced by the title of the quote being displayed in the block.

Type: *
Random
Most recent

Node filter:
To restrict this block to display only certain quotes based on node IDs, enter the IDs here separated by commas, spaces, or returns.

Role filter:
To restrict this block to display only quotes submitted by users in specific roles, select the roles here.

User filter:
To restrict this block to display only quotes submitted by specific users, select the users here.

Category filter:
To restrict this block to display only quotes in specific categories, select the categories here.

darumaki’s picture

Quotes doesn't really allow for restricting to role, the block it does but not the quotes,
anyone can see all quotes regardless of the role, is this a bug or the way its suppose to be, my understanding of restrict to role means only that role will see that quote

I just saw in the create content, there's only one check box for show in quotes block, it doesn't list all the blocks defined for the quote which would explain why all quotes are visible, it seems to think there is only a single block for quotes

In reading more, it doesn't make any sense, it allows you to create blocks but whats the point of creating more than one block if there's no option to insert quote A into Block A ? It automatically inserts all quotes into all blocks.

sgomez’s picture

Thank You, Muslim guy, this is exactly what I was looking for.

Are there any good sites where I can downloads quotes from?

Muslim guy’s picture

You mean Quotes.module - or some packaged Quotes for mass import? Cant help with that :)

Maybe search `Book of Quotes'

Quotes.module is always available from Drupal download

*I said it was quirky to install - actually it is easy, only that when you want to have separate types of Quotes, you will need to add
at least 1 Vocabulary - just for Quotes
And then add terms

And go back to admin/settings/quotes and `Configure blocks' - you will see where a quote should appear in quote type block

Example: History - American / Asian / African ... if the quote is only Asian, then choose in the category for that block titled `Asian' to appear only in `Asian' category

*Note that the title of each block and a category (term) can be exactly the same
*And block title can have like : Asian - %title (auto title display for each quote)

Tim99’s picture

Thank you both.

Daily is perhaps not exactly what solves my problem. The users should be able to add a item to a pool and each day one item is chosen by chance. Best would be if an item will be temporary disabled for x days if it has been chosen.

I wasn't able to try out Quotes, because it doesn't seem to be ready for 4.7 yet.

Muslim guy’s picture

Quotes already for 4.7.x - so use it! :)

divrom’s picture

Thanks, Muslimin,

I'll check out those options.

What I'm really trying to do is find a middle road between Quotes and Daily. To be honest, I thought it was gonna be quite straightforward! :)

The thing that seems most lacking in Quotes is that the block doesn't link to the node. It would be great if the title, linked to the quote node, so that folk could comment on it. Then, perhaps 'daily' could be an option alongside 'recent' and 'random', so that a quote is refreshed each day, not each time someone visits the site.

At the moment, I am doing this via the Daily module, with a block that displays the latest post from the 'daily quote' category. It's not ideal, though.

Muslim guy’s picture

I wish that too....

Maybe at least a `read more' link from the quotes block, just like we have for Blogs, Forums, Events, etc that have `read more'

If I knew PHP I would have modified Quotes block - anybody has done this?

theHawke’s picture

But being a complete dummy, I am unsure how to create a block that will show the random quotes. Can someone walk me thru this?

Muslim guy’s picture

Quotes block is available for each `Quotes category' you created

You will go to admin/settings/quotes (the URL for Drupal 4.7.x, for Drupal 5.x I dont remember)

And start adding `quotes block'

You might also want to set a Vocabulary just for Quotes, or put together with other content types (just dont mix Forum with other types, that will be messy)

And then - add term

Go to admin/block (bookmark your browser for every and each admin section to make life easier and fun to work with Drupal)

You will find:
Quotes - `category 1 (or whatever name you give)