Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with php file #16

Closed
anujaunds opened this issue May 16, 2018 · 1 comment
Closed

issue with php file #16

anujaunds opened this issue May 16, 2018 · 1 comment

Comments

@anujaunds
Copy link

i just try to use php file with create and lib object but it's now working my typo3 ver is 8^. my typoscript code is # Add bellow typoscrip in setup.ts
lib.jobs = USER
lib.jobs {

# Define external PHP Script file path
includeLibs = fileadmin/functions.php

# Call user function
userFunc = getData->GetNewsCountInCat

}.
could you please let me how to get php code in template file

@liayn
Copy link

liayn commented May 18, 2018

Go to the Install Tool. Select "Upgrade Analysis" from the menu and search for includeLibs.
You will find

Breaking: #73514 - TypoScript property "includeLibs" removed

So change your code to a PHP class and use USER_INT in your typoscript instead.

Please close the ticket here as this is the bugtracker for the documentation and not a help forum.
Please reach out to either of the platforms documented at https://typo3.org/help/ instead. Thanks.

@marble marble closed this as completed May 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants