Display a page with html content

Hello, what am I doing wrong? I got the page to display but the static html content is not showing…

My controller…

<?php

namespace Kanboard\Plugin\KanboardPluginsUX\Controller;

use Kanboard\Controller\BaseController;

/**
 * Class TechnicalPluginsUX
 * 
 * @author aljawaid
 * 
 */

class KanboardPluginsUXController extends \Kanboard\Controller\PluginController
{
	/**
     * Display the Problem Plugins Page
     *
     * @access public
     */

    public function show()
    {
        $this->response->html($this->helper->layout->plugin('kanboardPluginsUX:plugin/problem-plugins', array(
            'title' => t('Plugins').' &#10562; '.t('Plugin Problems'),
        )));
    }

}

push the code, its easier for me to see everything as a whole.

2 Likes

done, surprising there is no mention of creating pages in the plugin docs

All your issues are issues you created, i say this in the nicest way, but you have quite a few mistakes.

You are calling problem-plugins but your file name is actually plugin-problems.php

And you are looking for it in the Template/plugin folder, which it is not there.

fix those issues and page loads fine.

(slaps himself on the face for being clumsy) hahaha ooops

2 Likes