coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Develar on May 03, 2006, 01:47:05 PM

Title: I can't use $thumb['pid']. I fix it. Please, fix next release CPG.
Post by: Develar on May 03, 2006, 01:47:05 PM
I added line
$thumb_list[$i]['pid'] = $row['pid'];
on 1865 in functions.inc.php (function display_film_strip())
and now I can use $thumb['pid'] in function theme_display_film_strip() in my theme.
I hope, next release CPG will't contain this bug.
Title: Re: I can't use $thumb['pid']. I fix it. Please, fix next release CPG.
Post by: Abbas Ali on May 03, 2006, 02:39:48 PM
I won't call it a bug. 'pid' was not needed in theme_display_film_strip function and hence it was not added to $thumb array in functions.inc.php . You are modifying theme_display_film_strip as per your needs and you need 'pid' for your specific case. So how can this be called a bug?