[TYPO3-dev] TR : eid extension listing
Jigal van Hemert
jigal at xs4all.nl
Sun Feb 12 17:44:32 CET 2012
Hi,
On 12-2-2012 16:44, Éric Thibault wrote:
> Is there a way to list all extensions with eid configuration setup?
> I've done eid setup before with no problems but I have an old
> extension that I want to "eid enable" but with no success...!? If I
> could list all eid extensions I would know if I've done it write on
> not.
Sure!
- ADMIN TOOLS > Configuration,
- select "$TYPO3_CONF_VARS (Global Configuration)" in the select box on
top,
- navigate to: FE > eID_include
Now you see the list of extensions in your installation which have
registered an eID script.
1. I've changed the ext_localconf.php:
> // eID
> $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include'][my_ext'] = 'EXT:my_ext/pi1/class.tx_my_ext_eid.php';
I hope the missing single quote in [my_ext'] was lost during copy/paste?
> 2. And in the eid class file (my_ext/pi1/class.tx_my_ext_eid.php):
>
> <?php
> require_once(PATH_tslib.'class.tslib_pibase.php');
> class tx_my_ext_eID extends tslib_pibase {
Hmm... the point of having an eID script is to have a light weight
version of TYPO3. No need to do this. You can use the functions in
tslib_eidtools to initialize a database connection, an fe_user, etc. if
you need those.
>
> function main() {
> print('Hello');
> }
>
> }
>
> $SOBE = t3lib_div::makeInstance('tx_my_ext_eID');
> $SOBE->main();
> ?>
That should work.
Try it without the tslib_pibase stuff.
--
Kind regards / met vriendelijke groet,
Jigal van Hemert.
More information about the TYPO3-dev
mailing list