Hey @tenstormavi -- sorry I missed you! If we're not active on IRC, then this is the next best thing 😄
Moar like teh best thing! ^,^
I've wanted this for so long...
@djensen47 can you give some more details? What page are you looking at etc
I'm trying to insert some template data into an html widget. I'm currently looking at the homepage while testing this.
.... oh. But I'm still not sure how to get the user data like username.
ajaxify.data.loggedInUser.username would be
loggedInUser.username in the template context.
@PitaJ That didn't seem to work. On the home page (list of categories)
ajaxify.data shows up as:
The only page (so far) that this seems to work on is a topic page.
@djensen47 oh, huh. Appears
loggedInUser isn't defined on the home page (/category listing). Odd. In that case, you'll have to provide that data yourself by hooking into
filter:<abc>.render or adding the info to the widget itself.
Otherwise you'll have to bug us to add that into core.
@djensen47 Not at this time AFAIK