In Answer to your question
Quote:
Originally Posted by SnapOff Racing
any updates?
also, any idea why it shows every sign except sagittarius in the postbit?
|
The Author of this hack made a little spelling mistake in the product , we installed this plugin and wondered why every sagittarius wasnt showing up in the post bit all the others were working so here is the code fix for people that want it to show up need to know.
in the file product-horoscopes.xml
Find
Code:
case '11':
{
$horoscopesign .= ($bday[1] < 22) ? ($vbphrase['scorpio']) : ($vbphrase['sagittarious']);
break;
}
case '12':
{
$horoscopesign .= ($bday[1] < 21) ? ($vbphrase['sagittarious']) : ($vbphrase['capricorn']);
break;
}
}
Replace with
Code:
case '11':
{
$horoscopesign .= ($bday[1] < 22) ? ($vbphrase['scorpio']) : ($vbphrase['sagittarius']);
break;
}
case '12':
{
$horoscopesign .= ($bday[1] < 21) ? ($vbphrase['sagittarius']) : ($vbphrase['capricorn']);
break;
}
}
This will fix the sagittarius sign and make it show in the postbit template