callback

  1. K

    XF 2.0 Cant get Callback with returning data to work.

    Hello I have followed many threads, but I can't seem to make a PHP callback that returns data properly. I keep getting the following error: An exception occurred: [TypeError] Argument 1 passed to Site\Pages\Providers::getData() must be an instance of XF\Pub\Controller\AbstractController, string...
  2. P

    XF 2.0 <xf:callbac> shows error when I want call PHP file

    I just created this file in library/MyCard/index.php and added this code in it class CardCoontroller{ public static function getCard() { return 'test data'; } } and in edit template -> member_view added this code <xf:callback class="CardCoontroller"...
  3. thinkdiff

    Not a bug <xf:callbac> has bug I think

    I just created this file in library/MyCard/index.php and added this code in it class CardCoontroller{ public static function getCard() { return 'test data'; } } and in edit template -> member_view added this code <xf:callback class="CardCoontroller"...
  4. CMTV

    Unmaintained PHP Criteria 1.0.0

    This addon is no longer supported! Use Criteria Builder instead! This addon allows you to create complex criteria for advanced trophies or user group promotions with custom PHP code. For example, you can use: Count the number of threads the user has created in specific forum Analyze users...
  5. M

    Read from JSON/Cached JSON

    Hi, I want use some data from RESTFul API (JSON) and show in sidebar, so I created a template and include in PAGE_CONTAINER, and in new template I used <xen:callback> to include and run my php code, in php code I use file_get_contents to read from json. everything seems to be ok, but I have 2...
Back
Top Bottom