@arc002 ajaxify.data is just the data the template was run with. Changing it does nothing to the already rendered page.
What you want is to add a hook for filter:topics.getand modify the data there.
Hello,
Is it possible to create a custom new route on the navigation bar to include say the current logged in user's id?
What's the purpose of this?
I would like to create a link that passes the user's id to paypal, so when they donate directly through paypal, they can all my callback url with the variable, so I can make it create a topic and set the topic creator as the one that donated.
Well you could maybe use a javascript:
link.
javascript:window.open('paypal.com/.../?uid=' + app.user.uid)