sean preston Posted September 8, 2010 at 11:15 PM Share Posted September 8, 2010 at 11:15 PM Alejandro, i am using the setup you suggested a few months ago to display the cb everywhere addon inside of my sobi template which is no problem.. the only problem is that the look of both does not seem to be consistent. this is the quote form when you suggested before The code for the everywhere addon can be found in the manual: http://docs.reviewsforjoomla.com/Everywhere_Add-on_Downloads You can put that code in Sobi2 and instead have it show and record reviews for CB profiles. Something like this should work: # MVC initalization script if (!defined('DS')) define('DS', DIRECTORY_SEPARATOR); require('components' . DS . 'com_jreviews' . DS . 'jreviews' . DS . 'framework.php'); # Populate $params array with module settings $JreParams['data']['extension'] = 'com_comprofiler'; $JreParams['data']['tmpl_suffix'] = ''; $JreParams['data']['controller'] = 'everywhere'; $JreParams['data']['action'] = 'index'; $JreParams['data']['listing_id'] = $user_id; $JreParams['data']['limit_special'] = 10; // Load dispatch class $Dispatcher = new S2Dispatcher('jreviews',true); $jreDetail = $Dispatcher->dispatch($JreParams); echo $jreDetail['output']; echo $jreDetail['detailed_ratings']; echo $jreDetail['summary']; You just need to make sure you pass the correct $user_id above. and here is how it looks now.. this is how it supposed to look as in cb and here is how it looks in sobi2 is there a way just "mirror" the one from cb in sobi2? thanks a ton Alejandro, big thanks to Kristian for all the help he has provided!!! Link to comment
Alejandro Posted September 8, 2010 at 11:26 PM Share Posted September 8, 2010 at 11:26 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
sean preston Posted September 9, 2010 at 12:49 AM Author Share Posted September 9, 2010 at 12:49 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted September 9, 2010 at 01:35 AM Share Posted September 9, 2010 at 01:35 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Kristian Posted September 9, 2010 at 12:00 PM Share Posted September 9, 2010 at 12:00 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
sean preston Posted September 9, 2010 at 02:58 PM Author Share Posted September 9, 2010 at 02:58 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted September 9, 2010 at 03:50 PM Share Posted September 9, 2010 at 03:50 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts