
05-02-2010, 04:04 PM
|
 |
|
|
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
- Create an Add-on (for example with productid glossar)
- Create a phrase blocktype_{blocktypename} (blocktype_glossarentries for example) in phrase group Forum Blocks
- Create the class in includes/block and make sure that
- The filename equals the blocktypename (eg. if your class is vB_Block_Glossarentries the filename must be glossarentries.php)
- You are setting the productid correctly
PHP Code:
protected $productid = 'glossar';
- Reload the block types by accessing admincp/block.php?do=reload
That's it
|