1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I have the data now I need to place it in the template

Discussion in 'XenForo Development Discussions' started by mgwalk, Oct 17, 2013.

  1. mgwalk

    mgwalk New Member

    So I have my addon started to call my sites DB and pull some info from a product.
    Which I got the addon to do this when the product > items forum is called.

    I created my template
    message_product_below (appears below each post)

    I created a listener on
    template_create to get the thread_id
    then it calls my addon which gets my products data and holds it in an array.

    My Execute Callback:
    tglgetProduct_index :: getMessageProduct
    Which gets my product data

    I get the data and now I need to place the values in each post in my message_product_below template.

    Can anyone give me some help?


Share This Page