Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
newbie LAC Posted August 11, 2017 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
bfarber Posted August 11, 2017 Posted August 11, 2017 I've raised your request internally in our engineering changes tracker.
Brian A. Posted January 23, 2018 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?
newbie LAC Posted January 24, 2018 Author Posted January 24, 2018 9 hours ago, Brian A. said: Has this been added to the latest version? IPS 4.2.7 no.
Brian A. Posted January 24, 2018 Posted January 24, 2018 10 hours ago, newbie LAC said: IPS 4.2.7 no. Oh, okay. Thanks for telling me.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.