Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
LaCollision Posted March 8, 2016 Posted March 8, 2016 Hi! I have a question about the way browser notifications work. I can see that every xx seconds, an ajax call is fired: http://mydomain.com/community/?app=core&module=system&controller=ajax&do=instantNotifications&csrfKey=xxx¬ifications=xxx&messages=xxx I'd like to trigger that call from my homepage, which is not inside the IPS Suite. My homepage of course inits all the IPS stuff: init.php, the userBar, and my <body> tag looks like that: <body @if (isset($itemscope)&&($itemscope)){{$itemscope}} @endif class='ipsApp ipsApp_front @if (isset(\IPS\Request::i()->cookie['hasJS'])) ipsJS_has @else ipsJS_none @endif ipsClearfix' data-controller='core.front.core.app' data-pageApp='core' data-pageLocation='front'> I also call the IPS javascript files with: \IPS\Theme::i()->getTemplate('global', 'core', 'global')->includeJS() Everything works great… except this Ajax call that is not fired from my homepage. ➡️ Do you know how I can trigger this call from my homepage? Thanks a lot!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.