canrise
29-12-09, 22:00
Hello and happy new year to everyone at this amazing forum.
I recently join AffiliateWindows, downloaded and installed the v3 Community Edition and everything seems ok, I am ready to incorporate my template in order to request live but the only problem remaining is the HOT PICKS.
I have hot picks working on my main site: zolacompare.com but don’t seem to have it work on my vertical sites tailored for specific categories such zolamobilephones.com.
I searched through the entire forum on hot picks and got the correct code as described bellow but my hot picks can only work on certain category IDs, it won’t work on any of the category I need such as:
1. 99 Health & Beauty
2. 285 Insurance
3. 61 Computers & Software
4. 347 Telephones & Faxes
5. 281 Finance
6. 586 Tickets
7. 328 Travels
8. 173 Gifts, Gadgets & Toys
----the code I am using----
$oRefineBy = new stdClass();
$oRefineBy -> iId = 99;
$oRefineBy -> sName = 'Category';
$oRefineByDefinition = new stdClass();
$oRefineByDefinition -> sId = 99;
$oRefineByDefinition -> sName = 'Health & Beauty';
$oRefineBy -> oRefineByDefinition = array($oRefineByDefinition);
$oHotPicksParams->aActiveRefineByGroups = array($oRefineBy);
$oHotPicksParams->iLimit = 18;
include_once('elements'.DIRECTORY_SEPARATOR.'hot_p icks.php');
So please help put me in the right direction!
Tim.
I recently join AffiliateWindows, downloaded and installed the v3 Community Edition and everything seems ok, I am ready to incorporate my template in order to request live but the only problem remaining is the HOT PICKS.
I have hot picks working on my main site: zolacompare.com but don’t seem to have it work on my vertical sites tailored for specific categories such zolamobilephones.com.
I searched through the entire forum on hot picks and got the correct code as described bellow but my hot picks can only work on certain category IDs, it won’t work on any of the category I need such as:
1. 99 Health & Beauty
2. 285 Insurance
3. 61 Computers & Software
4. 347 Telephones & Faxes
5. 281 Finance
6. 586 Tickets
7. 328 Travels
8. 173 Gifts, Gadgets & Toys
----the code I am using----
$oRefineBy = new stdClass();
$oRefineBy -> iId = 99;
$oRefineBy -> sName = 'Category';
$oRefineByDefinition = new stdClass();
$oRefineByDefinition -> sId = 99;
$oRefineByDefinition -> sName = 'Health & Beauty';
$oRefineBy -> oRefineByDefinition = array($oRefineByDefinition);
$oHotPicksParams->aActiveRefineByGroups = array($oRefineBy);
$oHotPicksParams->iLimit = 18;
include_once('elements'.DIRECTORY_SEPARATOR.'hot_p icks.php');
So please help put me in the right direction!
Tim.