Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 23, 20168 yr I have ads in header and footer but I do not want to show ads on login as well as register page How can we disable it? Regards\ Saurabh
May 23, 20168 yr As I'm not sure if this is already a feature, made a quick plugin: I'll drop from marketplace if that's already feasible to do.
May 23, 20168 yr Just change the header ad line in global template. Quote {{if !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module->key == 'system' and \IPS\Dispatcher::i()->controller == 'register') }} {advertisement="ad_global_header"} {{endif}}
Archived
This topic is now archived and is closed to further replies.