[TYPO3-piwik] piwikintegration: Trying to get it working ...
Kay Strobach
typo3 at kay-strobach.de
Sun Jun 17 20:44:33 CEST 2012
Hello Martin,
you may alternativly wrap the line with something like:
if(class_exists('t3lib_div')) {
$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] =
t3lib_div::getIndpEnv('TYPO3_SITE_URL').'index.php?id=16';
}
otherwise i need to change the code and use some regexes to filter the
required options from localconf.php :(
If you have an automated tool for conversion from f*** sxw to the new
format i would be interested for all my extensions ;)
Regards
Kay
Am 17.06.2012 14:22, schrieb Martin Bless:
> Hi Kay,
>
>> if possible please move the t3lib_div line to the ext_tables.php
>> Piwik needs to include the localconf to get several settings.
>
> Isn't there a better solution?
>
> This line for example is part of the introduction package:
>
> $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] =
> t3lib_div::getIndpEnv('TYPO3_SITE_URL').'index.php?id=16';
>
>
> Stuff like this should go to the documentation. I know that
> documenting with OpenOffice is a challenge. I'm involved in the
> documentation team in the process of migrating OpenOffice manuals the
> the new reStructuredText format. I could help you migrating the
> "piwikintegration" documentation. Are you interested?
>
> cheers ...
>
> Martin
>
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
-
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
- https://flattr.com/profile/kaystrobach
More information about the TYPO3-project-piwik
mailing list