newbie LAC Posted August 11, 2017 Share Posted August 11, 2017 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 Link to comment Share on other sites More sharing options...
bfarber Posted August 11, 2017 Share Posted August 11, 2017 I've raised your request internally in our engineering changes tracker. Link to comment Share on other sites More sharing options...
Brian A. Posted January 23, 2018 Share Posted January 23, 2018 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? Link to comment Share on other sites More sharing options...
newbie LAC Posted January 24, 2018 Author Share Posted January 24, 2018 9 hours ago, Brian A. said: Has this been added to the latest version? IPS 4.2.7 no. Link to comment Share on other sites More sharing options...
Brian A. Posted January 24, 2018 Share Posted January 24, 2018 10 hours ago, newbie LAC said: IPS 4.2.7 no. Oh, okay. Thanks for telling me. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.