Hey @mouseluka -- I see what you mean, you'd like to be able to replace "Index"? Let me make the changes...
Edit: Done! The new translation strings are in the /languages folder now
I want to get if user is logged in when viewing static page on nodebb-plugin-static-page plugin. I can get user id by calling app.uid on client side javascript, but it is not reliable, because it seems it doesn't work when page is loaded freshly, not after ajax call from other page. Are there any ways to know if user is logged in?
@dove Have you considered putting you code behind a $(document).ready();
? That may be enough of a delay.
@dove, the event you're looking for is
$(window).on('action:connected', function() {
});
app.* will be available to you after this event
Thanks @psychobunny, knew I was missing something
@psychobunny Thanks, working great!