Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
silenceheaven Posted March 23, 2018 Posted March 23, 2018 This is a really big request, I'm on my knees, but I posted a bit ago about the first theme ID not being 1, and breaking some stuff. Do you think we could have it be a constant in init.php instead, so one could manually adjust it? \IPS\Theme\Dev\Theme \IPS\Theme::deleteCompiledResources( $dir->getFilename(), null, null, null, ( $id === 0 ? 1 : $id ) ); \IPS\Developer \IPS\Theme::load(1)->saveSet(); To something like \IPS\DEFAULT_THEME_ID This would really let me continue to have the first theme in the table have an ID of 3 without manually editing the files everytime. Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.