How to add a new page in Admin-CP

Flips

New member
Yes, i am new with addon development.

I'm trying to make a simple "Hello world" page in the controlpanel.
I created a new addon, added a new tab in admin navigation, created Route Prefix, added a class in library/XenForo/Route/PrefixAdmin (code) and created a class in library/XenForo/ControllerAdmin. Well, the whole question is, what should i write in the class in ControllerAdmin?

Thanks.
 
PrefixAdmin code:
PHP:
 <?php
 
class XenForo_Route_PrefixAdmin_Flips implements XenForo_Route_Interface
{
    public function match($routePath, Zend_Controller_Request_Http $request, XenForo_Router $router)
    {
        return $router->getRouteMatch('XenForo_ControllerAdmin_Flips', $routePath, 'flips');
    }
}
 
Top Bottom