SimplePortal
Customization => Custom Coding => Topic started by: samborabora on June 29, 2014, 06:44:26 AM
-
At the moment, a block that uses sp_embed_image($item['board']['id']) is calling for images in theme/THEMENAME/images/sp and I need it to be changed to theme/THEMENAME/images/ - is this possible?
-
basically, can I change the path of sp_embed_image?
-
in Subs-Portal.php in line 112
if (!isset($settings['sp_images_url']))
{
if (file_exists($settings['theme_dir'] . '/images/sp'))
$settings['sp_images_url'] = $settings['theme_url'] . '/images/sp';
else
$settings['sp_images_url'] = $settings['default_theme_url'] . '/images/sp';
}
-
Thankyou, that works great!!