Jump to content

Conditional block.


Ocean West
 Share

Recommended Posts

You need to make a condition to see where you are. Something like:

{{if \IPS\Dispatcher::i()->application->directory == 'forums' AND \IPS\Dispatcher::i()->module AND \IPS\Dispatcher::i()->module->key == 'forums' AND \IPS\Request::i()->id == XX}}
	Show
{{endif}}

where XX is the forum ID.

This block will appear only in this forum.

NOT TESTED.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...