Hi everybody,
I tried to create an add-on (inspired by SimilarThreads from @AndyB.
I needed to generate a list of similar blog post (WordPress).
Everything work nice excepted one thing, i can't use my custom vars in my template.
So, what i did :
Thank you very much.
PS : I'm sorry my english is not very good.
I tried to create an add-on (inspired by SimilarThreads from @AndyB.
I needed to generate a list of similar blog post (WordPress).
Everything work nice excepted one thing, i can't use my custom vars in my template.
So, what i did :
- Create an add-on in ACP
- Create an event listener on load_class_controller
- On my listener, i add my controller class
- My class is working like ControllerPublic_Thread than SimilarThreads add-on
- At the end i add my params to $parent->params
- On my template, i test : {xen:helper dump, $similarBlogs} - It's always == null
Thank you very much.
PS : I'm sorry my english is not very good.