Customer Portal

Get Involved. Join the Conversation.

Topic

    Lorna Rickett
    Passing variables between widgetsAnswered
    Topic posted January 19, 2012 by Lorna RickettSilver Trophy: 7,500+ Points, last edited January 23, 2012 
    507 Views, 1 Comment
    Title:
    Passing variables between widgets
    Content:

    Hi,

    We have a contact page that determines your contact channels based on your product. You select your product within a dialog using a dropdown or a serial number search - and depending on the product you see different content.We use a YUI cookie to store the product selected.

    On all dialog options one widget shows - this is the contact widget with links to phone, email & chat. We want to hide chat for certain products. The YUI cookie obviously can't be read by the controller of the contact widget. Is there any way we can pass the product from the logic.js of the product widget to the controller.php of the contact widget?

    Thank you!!

    Lorna

    Code Snippet:

    Best Comment

    Salvatore

    I asked for a similar question about 1 month ago: http://communities.rightnow.com/posts/527b8311db

    I have succcessfully used the event (subscribe+fire) approach.

    Salvatore

    Comment

     

    • Salvatore

      I asked for a similar question about 1 month ago: http://communities.rightnow.com/posts/527b8311db

      I have succcessfully used the event (subscribe+fire) approach.

      Salvatore