[RSS Feed/News] Simple "Hello World" Xenforo 2.0 Problem

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello,

I'm new to Xenforo 2.0 and clearly there are some changes. I'm simply trying to get a "Hello World" string to be written on my node page, from a .php file. Currently, I have a Test.php file located in the \src\addons\XFP directory. This is the code used in Test.php:

PHP:

Code:
<?php

namespace XFP;

class Test{
   
    public static function getHtml(){
         $output = 'Hello World';
         return $output;
    }
}

?>

On the node page, under the...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom