Re: X-Cart 5 Remove Categories from Homepae body
Ok, I've created a Mod and enable it on my site (to test) and it works (no errors anyway). I'm not sure that it does anything. The identifiers are "Lou" and "Catsub"
This is the code I used and named "Main.php". Thanks you.
<?php
// vim: set ts=4 sw=4 sts=4 et:
namespace XLite\Module\Lou\Catsub;
/**
* Module description
*
* @package XLite
*/
abstract class Main extends \XLite\Module\AModule
{
/**
* Author name
*
* @return string
*/
public static function getAuthorName()
{
return 'Lou';
}
/**
* Module name
*
* @return string
*/
public static function getModuleName()
{
return 'Catsub';
}
/**
* Get module major version
*
* @return string
*/
public static function getMajorVersion()
{
return '5.0';
}
/**
* Module version
*
* @return string
*/
public static function getMinorVersion()
{
return 0;
}
/**
* Module description
*
* @return string
*/
public static function getDescription()
{
return 'This Mod will show Categories on pages but not front';
}
}
__________________
Luis Villamonte
Computer Systems Engineer
Microsoft and CompTIA Certified
www.MagicKits.com
X-cart 5.0.12
|