Jump to content

Nexus. Custom product type


Recommended Posts


After update to 4.4.0 my custom product type in no longer avaliable.


Although the file is still here 


And file is still extend Package

namespace IPS\nexus\Package;

/* To prevent PHP errors (extending class does not exist) revealing path */
if (!defined('\IPS\SUITE_UNIQUE_KEY')) {
    header((isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0') . ' 403 Forbidden');

 * Product Package
class _Selfitem extends \IPS\nexus\Package

How to make it available again?

Link to comment
Share on other sites

IPS 4.4.0 implemented finally a proper way to add own Types without uploading files manually into IPS\nexus\sources\Package.


Take a look at Package::packageTypes() but I think that there was a bug in 4.4.0 so you'll probably have to wait for 4.4.1


This was also mentioned in  https://invisioncommunity.com/forums/topic/450224-44-developer-notes/


Most of the not extensible classes like share services, file storage engines, package types, payment gateways, license key generation methods, server types, converters, and widget types or classes which were required to be placed in an specific directory are extensible now... 

    Link to comment
    Share on other sites


    This topic is now archived and is closed to further replies.

    • Recently Browsing   0 members

      • No registered users viewing this page.
    • Create New...