Jump to content

Disable ads on login and register page?

Featured Replies

Posted

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

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.

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.

Recently Browsing 0

  • No registered users viewing this page.