×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Putting Comments Inside Jquery UI Tabs

Putting Comments Inside Jquery UI Tabs 13 years 3 months ago #13710

  • Hasan Sever
  • Hasan Sever's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hello Daniel,

I am using a review program called Jreviews..Recently I discovered very cool feature in it, called Jquery UI tabs..Different parts of the review/listing entry can be put inside UI Tabs thematically, this cleans up the space a lot..

I am using Comments for Jreviews entries, it's not a problems because all Jreviews entries are actually are regular Joomla article..Since we write quite long comments, the space is still cluttered..I am fancying to move CompoJoom inside the Jreviews tabs as well..Please see attached..

Would this be something doable?

Thanks


Putting Comments Inside Jquery UI Tabs 13 years 3 months ago #13711

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, I don't know if it is doable - I think yes, but I haven't used jreviews for couple of years now.

Actually you should find a way to call this code from that tab:
require_once(JPATH_SITE . "/administrator/components/com_comment/plugin/com_content/josc_com_content.php");
		return output($row, $params);

I think that this will be enough to display the comments in that tab.

Where $row should be the jreview object holding id and category information of the item and $params is the object holding the params information for jreview.

Daniel
  • Page:
  • 1
Time to create page: 0.096 seconds