Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Ocean West Posted February 15, 2018 Posted February 15, 2018 how would you make a block conditional only appear if you were viewing say this link: https://invisioncommunity.com/forums/forum/307-community-led-resources/
Adriano Faria Posted February 15, 2018 Posted February 15, 2018 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.