Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 11, 20177 yr Hello, Please add ability to add the argument "orientation" to the block template plugin {block="block_key" orientation="vertical"} You use \IPS\cms\Blocks\Block::display. That method has 2nd param /** * Parse a block for display * Wrapped in a static method so we can catch the OutOfRangeException and take action. * * @param string|int|\IPS\cms\Blocks\Block $block Block ID * @param string $orientation Orientation * @return string Ready to display HTML */ public static function display( $block, $orientation=NULL ) Of course I can do {expression="\IPS\cms\Blocks\Block::display('block_key', 'vertical')"} Thanks
January 23, 20187 yr On 8/11/2017 at 5:51 AM, bfarber said: I've raised your request internally in our engineering changes tracker. Has this been added to the latest version?
January 24, 20186 yr Author 9 hours ago, Brian A. said: Has this been added to the latest version? IPS 4.2.7 no.
Archived
This topic is now archived and is closed to further replies.