Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Saurabh Jain Posted May 23, 2016 Posted May 23, 2016 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
Adriano Faria Posted May 23, 2016 Posted May 23, 2016 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.
Apfelstrudel Posted May 23, 2016 Posted May 23, 2016 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}}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.