Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   TypoScript практикум (http://forum.typo3.ru/forumdisplay.php?f=27)
-   -   Typoscript from extensions is gone (http://forum.typo3.ru/showthread.php?t=5896)

typo27 19.02.2008 15:29

Typoscript from extensions is gone
 
Privet

I look at template analyzer and I see no TS are included from extensions.
Then a lot of problems occur, for example in the page with ve_guestbook error is shown

Warning: Division by zero in /usr/local/apache2/htdocs/typo3_customers/netnatur/typo3conf/ext/ve_guestbook/pi1/class.tx_veguestbook_pi1.php on line 378

The reason for this problem is missing some TS config, which is defined in the file ext_typoscript_setup.txt of the ve_guestbook extension, but for some strange reason, that TS config is not inlcuded in page template.

What can be a problem here?

Spasibo

void 19.02.2008 21:13

What is your TYPO3 and ve_guestbook versions?
Check out http://bugs.typo3.org/view.php?id=5088 - maybe that bug occur at your installation.

typo27 19.02.2008 22:17

Thanks void,
the problem is not ve_guestbook itself, the problem is ext_typoscript_setup.txt files are not included. In typo3 doc api is written that every loaded extension ext_typoscript_setup.txt is included in page template. The question is - how come they are not included.

Regarding ve_guestbook, warning appears because of not included TS in ext_typoscript_setup.txt:

plugin.tx_veguestbook_pi1 {
userFunc = tx_veguestbook_pi1->main
templateFile = {$plugin.tx_veguestbook_pi1.file.templateFile}
teasercut = 50
wordcut = 100
sortingField = crdate
sortingDirection = desc
limit = 5
email_from_name =
email_from_mail =
......

void 20.02.2008 15:33

As I said, one of possible reasons is that ^ bug. Dunno why, TS is not property serialized when you have non-latin-1 symbols at your TS... So, check your (and ve_guetsbook) TS to not contain umlauts and so on.


Часовой пояс GMT +4, время: 18:41.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot