Jump to content

Recommended Posts

  • Moderators
Posted

Hey! Open admin/templates/ruleregs folder and change the extension of all the .tpl files to .php (if any). After then open core/modules/Ruleregs.php file and on line 11 replace this:

$this->set('sidebar', 'ruleregs/ruleregs_sidebar');

with this:

$this->set('sidebar', 'ruleregs/ruleregs_sidebar.php');

The same philosophy should be followed for Strider's module too. :)

  • Like 1
Posted

This is more complex than expected.

The whole file reads:

[/size]
<?php
///////////////////////////////////////////////
///Rules and Regulations v1.2 by php-mods.eu///
///		 Author php-mods.eu		 ///
///		 Packed at 11/2/2015		 ///
///	 Copyright (c) 2015, php-mods.eu	 ///
///////////////////////////////////////////////
class Ruleregs extends CodonModule {
public function index()
{
$this->set('category', RuleregsData::getAllRuleCat());
$this->render('ruleregs.php');
}
}

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...