Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 3, 20195 yr Hello! After update to 4.4.0 my custom product type in no longer avaliable. Although the file is still here /applications/nexus/sources/Package 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'); exit; } /** * Product Package */ class _Selfitem extends \IPS\nexus\Package { How to make it available again?
March 3, 20195 yr 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/ Quote 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...
Archived
This topic is now archived and is closed to further replies.