Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6786249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:13:22+00:00 2026-05-26T17:13:22+00:00

is it possible to call a method of a plugin from within TypoScript? I

  • 0

is it possible to call a method of a plugin from within TypoScript? I need to pass the output of a method to a TypoScript TEXT object.

This is how I imagine it (it is not a correct TypoScript code though):

lib.field_some_field.value.wrap < plugin.some_plugin.some_method

Is it possible?
Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T17:13:23+00:00Added an answer on May 26, 2026 at 5:13 pm

    untested:

    # If you are using an USER Object
    includeLibs.some_plugin = EXT:some_plugin/pi1/class.tx_some_plugin_pi1.php
    
    lib.field_some_field_with_stdWrap.append < USER
    lib.field_some_field_with_stdWrap.append {
      # you need includeLibs only, if you use an USER_INT Object
      includeLibs = EXT:some_plugin/pi1/class.tx_some_plugin_pi1.php
      userFunc = tx_some_plugin_pi1->some_method
    }
    

    But you need to set in localconf.php / via Install-Tool:

    $TYPO3_CONF_VARS['FE']['userFuncClassPrefix'] = false
    

    And some_method will be called tx_some_plugin_pi1->some_method($content, $conf), you cannot change the parameters!

    or

    If it is your extension, you could simply check for an conf-variable.

    lib.field_some_field_with_stdWrap.append < plugin.some_plugin
    lib.field_some_field_with_stdWrap.append.useMethod = some_method
    

    Now check in your main() method for $conf[‘useMethod’].

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to call a constructor from another (within the same class, not
Is it possible to call the instance method of an object from the selector?
Is it possible to call a method on the type you pass into your
Is it possible to call the base method from a prototype method in JavaScript
Is it possible to call a method by reflection from a class? class MyObject
Is it possible to call method from wsdl.if yes how it can be achieved.Can
Does anybody know if it's possible to call method on CLR object via indexer
Does Python have extension methods like C#? Is it possible to call a method
How is it possible to call a client side javascript method after a specific
Is it possible to call a COM API from Java (specifically the HP/Mercury Quality

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.