[TYPO3] Extension "comments" notification without the need to approve each comment?

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Sep 23 00:04:07 CEST 2008


Hi!

Thomas Hirt wrote:
> 4) I added the file class.comments_email.php in the root folder of my 
> own extension with the following code:

Class names must follow certain naming conventions. Looks how comments does it: tx_comments_.... Do the same: tx_commentsemail_hooks, not comments_email! TYPO3 is very strict about naming conventions, it will simply ignore your class if you do not follow them! You need to start from tx_, then extension key without underscores, then underscore, then something else.

> The ext_localconf.php is definitly not included.

Why do you think so?

> Sorry that it takes soooooo long until I get it,

It is not long :) My first extension took three months to write. Now I sometimes create several extensions per day.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/tag_your_typo3_extension_releases_in_svn/


More information about the TYPO3-english mailing list