Jump to content

[SOLVED]Addon on subdomain


Kapitan

Recommended Posts

  • Moderators

The reason you get that error is that you actually haven't defined your module for the system. What you need to do is to create a folder in "core/modules" named "shoutbox" inside the folder you'll need a file named "shoutbox.php" inside that you'll need to add the following code:


class shoutbox extends CodonModule
{
public function index()
       {

             $this->show('/shoutbox.php');

       }
}

Then you'll need to create another file named "shoutbox.php" and place it in your "lib/skins/yourskinfolder" inside that file you'll need to add whatever codes you want. This is how you make a module that actually works.

Cheers

Link to comment
Share on other sites

The reason you get that error is that you actually haven't defined your module for the system. What you need to do is to create a folder in "core/modules" named "shoutbox" inside the folder you'll need a file named "shoutbox.php" inside that you'll need to add the following code:


class shoutbox extends CodonModule
{
public function index()
{

$this->show('/shoutbox.php');

}
}

Then you'll need to create another file named "shoutbox.php" and place it in your "lib/skins/yourskinfolder" inside that file you'll need to add whatever codes you want. This is how you make a module that actually works.

Cheers

Hi Parko i all ready have all that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...