I just installed 5.3 and am trying to migrate my old 5.2 skin to it. I copied my module (including Main.php) into classes/XLite/Module/<devid>/<moduleid>. I also copied my skin into skins/<skinid>. This is how it was set up in 5.2. Then I re-deployed the store and activated my custom module.
But my theme is not showing up in the Admin page under Layout. All of the default themes are there, but I have no way of finding or selecting mine. What am I doing wrong?
The top of my Main.php looks like this (my theme is FeedSkin):
PHP Code:
<?php
// vim: set ts=4 sw=4 sts=4 et:
/**
* Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
* See https://www.x-cart.com/license-agreement.html for license details.
*/
namespace XLite\Module\BenLind\FeedSkin;
use \XLite\Core\Layout;
/**
* Development module that simplifies the process of implementing design changes
*
*/
abstract class Main extends \XLite\Module\AModuleSkin
{ ... }
And my getSkins() method looks like this:
PHP Code:
public static function getSkins()
{
return [
\XLite::CUSTOMER_INTERFACE => ['FeedSkin/customer'],
];
}