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

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?

Thanks
 
Top Bottom