XF 2.2 How to pass variable to a widget?

FloV

Well-known member
Hi everybody,

even though i think this isn't possible (without custom development) i thought i'll give it a try anyway. Maybe there is a work around or another solution for this.

Right now i have a widget page with 4 different widgets. New Posts, new threads, new articles and new polls. So know i would like to pass a $category variable to those 4 widgets so the widgets only display the stuff from the passed variable. So when i pass category = A i only want to see the stuff from category A.

Is this somehow possible? Or to i have to create a widget page (and the widgets) for every category?

Thanks a lot in advance! :)

Flo
 
Top