Jump to content

Link from SOBI2 to jReviews [solved]


jarekl

Recommended Posts

I am trying to link SOBI2 listing with jReviews. The Everywhere plugin will create two independent sections which is not a desired solution in my case.

 

So, the plan is as follow:

1. Get the company name from SOBI2 using $mytitle variable.

$mytitle = $mySobi->title

 

2. Run a query:

select jos_content
where sectionid=123 // section(s) assigned to jReviews
AND title = $mytitle // company name from SOBI2

 

3. If match found we have a winner, else it does not exist in jReviews.

4. Create hyperlink to the review (if exist)

 

Can anyone help me out with the PHP syntax?

 

Thank you

Link to comment
  • 2 weeks later...
×
×
  • Create New...