Forum Discussion

VincentGabou's avatar
11 years ago

Replicate Me Too component, or any ID-required non-contract component to a custom component

Hello,

 

I am currently trying to integrate a Q&A page that will be extensively customized. One of the "customization" I was trying to implement was to be able to have "Me Too" button on the Q&A main page (listing recent open and resolved questions) for every listed question.

 

I have found in the Studio the name of the "Me Too" component ( <component id="ratings.widget.rating-enum-display" ratingSystemRef="conv:question_metoo"/> ). However, it makes sense that I have to send the ID of every question I want the "Me Too" button for (as of now the button is not rendered for any question on the main page) to this widget. So far I have not been able to find a way to do that.

 

Do you know how we can get access to the actual code of the "non-contract components" of Lithium, so we can figure out how to create "ID-required non-contract" components outside of their designated Pages ? If not, do you think we can recreate the behaviour of the "Me Too" button from scratch (including the logging in part if the user is anonymous, etc.) ?

 

Thank you very much for your help !

 

Best regards

13 Replies