Jump to content

[SOLVED] why tell me"This page is not available"


langziyang

Recommended Posts

ok, 

can you use please use 

$this->setTemplate('display.tpl'); right afer parent::initContent() 

 

 

this is my display.php

<?php
class mymoduledisplayModuleFrontController extends ModuleFrontController
{
    public function initContent()
    {
        parent::initContent();
        $this->setTemplate('display.tpl');
    }
}

and this is my module zip

mymodule.tar.gz

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...