[TYPO3] "Connecting" comments extension to fe_users

Søren Malling soren.malling at gmail.com
Sat Jun 14 14:54:28 CEST 2008


Hi,

Not a problem at all, i got the hook working along with help from Lars from
Dycon :-) Thanks for a nice and useful extension!

Best regards

Søren

On Sat, Jun 14, 2008 at 1:25 PM, Dmitry Dulepov <dmitry at typo3.org> wrote:

> Hi!
>
> On 2008-06-14 02:32:13 +0300, "Søren Malling" <soren.malling at gmail.com>
> said:
>
> > I've found the function processSubmission() in
> > EXT:comments/pi1/class.tx_comments_pi1.php, but if i understand your
> reply
> > (and the whole conecpt of hooks) that's not the file for me to edit?
> Instea
> > d
> > i should turn my head to the ext_localconf.php file in the root of the
> > specific extenstions folder (EXT:comments/)(?). Right now I've inserted a
> > line like this
>
> No, you should create your own extension and add a hook there, in its
> own ext_localconf.php. For example, see how comments_ic extension makes
> hooks.
>
> > if (t3lib_extMgm::isLoaded('tt_news')) {
> >
> >
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_news']['extraItemMarkerHook'][$_
> > EXTKEY]
> > = 'EXT:comments/class.tx_comments_ttnews.php'
> > }
>
> Well, this is comment's hook to tt_news. You need your own.
>
> > But how do I declare the extra field "group". Will I have to extend the
> > table through "kickstarter" (or maybe directly thorugh phpMyAdmin) and
> how
> > to I add the specific value to the field, from this hook?
>
> Try searching for the tutorial on writing extensions. It is a big topic
> for discussing it in the mailing list :(
>
> --
> Dmitry Dulepov
> Skype: callto:liels_bugs
> Read me: http://typo3bloke.net/
> Subscribe: http://typo3bloke.net/atom.xml
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list