Home › Forums › Theme support › Eastend Theme – NextGen Gallery Issue › Reply To: Eastend Theme – NextGen Gallery Issue
Hi,
thats not a big problem, you dont need the social icons on the nextgen gallery pop up window. If you want, you can open the files “options.php” and “config.php” in the “7league” folder and replace this:
if(is_admin())
{
$allfiles = @scandir($socialdir);
foreach ($allfiles as $file)
{
$fileinfo = pathinfo($socialdir."/".$file);
if ($file != "." && $file != "..")
{
$socials[]= $fileinfo['filename'];
};
};
}
with this:
global $pagenow;
if(is_admin() && pagenow == 'options-page.php' )
{
$allfiles = @scandir($socialdir);
foreach ($allfiles as $file)
{
$fileinfo = pathinfo($socialdir."/".$file);
if ($file != "." && $file != "..")
{
$socials[]= $fileinfo['filename'];
};
};
}
Then you dont get this error message anymore