Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TYPO3: what USER_INT means?

Tags:

typo3

Could anyone explain to me what is the meaning of USER_INT in typo3? I know it somehow disables cache for a plugin but I don't get why it is called "USER_INT" (especially the INT part is confusing). Thank you.

like image 368
clime Avatar asked Dec 28 '25 09:12

clime


1 Answers

That are historic names. Afair it has to do with different ways to include php-scripts. There are some more things like "tt_content" ("typo table"). Do not think too much of it.

_INT means: uncached content. Instead of output there is some placeholder like in the cached content, so TYPO3 parses these hashes and creates that part of the content on the fly.

That means, if there is one or more placeholders, TYPO3 needs to execute the code for each request. And for that, you probably need to define includeLibs - if you need to load additional scripts.

page = PAGE
page.typeNum=0
page.30 = USER_INT
page.30 {
  userFunc = user_various->listContentRecordsOnPage
  reverseOrder = 1
  # include these files, before executing user_various->listContentRecordsOnPage
  includeLibs = fileadmin/example/example_callfunction.php
}
like image 121
maholtz Avatar answered Dec 31 '25 00:12

maholtz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!