Default Stocks in the Block

ChadH - August 22, 2008 - 22:46
Project:Stock
Version:5.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

We wanted to pre-populate the Stock block with some default stocks if the user hadn't defined any stocks. This patch provides a new entry on the Stock administrative settings page (admin/settings/stock) where the admin can enter some default stock symbols for the block. If the user has no defined stocks or if there isn't a logged in user, the default stocks are listed. Once a user adds a stock, the defaults are no longer shown.

It was created against the 5.x-1.x-dev release (2008-Jul-19).

AttachmentSize
stock_default_symbols.patch1.55 KB

#1

kbahey - August 23, 2008 - 00:28
Version:5.x-1.x-dev» 5.x-1.1

Thanks.

Added to 5.x-1.1

 
 

Drupal is a registered trademark of Dries Buytaert.