2010-11-21, 11:13
I normally don't have this bad of luck, but changing that section didn't seem to do anything, I assume you meant in the section below:
I changed it from:
PS. If you PM either PayPal info or a favorite charity, etc. I'm willing to send a $20 donation for this project.
Quote: if ($_GET['style'] == "w") {
switch ($_GET['w']) {
case "re": // Recent Episodes
I changed it from:
Quote: if ($_GET['style'] == "w") {to:
switch ($_GET['w']) {
case "re": // Recent Episodes
$params['onclickcmd'] = "cmdXbmcLibrary";
if(empty($params['wrapper'])) {
$params['wrapper'] = $wdgtRecentTV['block'];
}
$params['harness'] = "widgets/wXBMCLibrary.php?w=re&";
$params['refresh'] = true;
break;
case "rm": // Recent Movies
Quote: if ($_GET['style'] == "w") {I also tried just adding that to the beginning of the section:
switch ($_GET['w']) {
case "re": // Recent Episodes
if(!empty($params['count'])) {
$count = $params['count'];
} else {
$count = 10;
}
case "rm": // Recent Movies
Quote: case "re": // Recent Episodes
if(!empty($params['count'])) {
$count = $params['count'];
} else {
$count = 10;
}
$params['onclickcmd'] = "cmdXbmcLibrary";
if(empty($params['wrapper'])) {
$params['wrapper'] = $wdgtRecentTV['block'];
}
$params['harness'] = "widgets/wXBMCLibrary.php?w=re&";
$params['refresh'] = true;
break;
PS. If you PM either PayPal info or a favorite charity, etc. I'm willing to send a $20 donation for this project.