Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Bazilisk Posted July 21, 2021 Posted July 21, 2021 Fillow manual I can sent variables only to first column in template. \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'app1', 'app1_module', 'front' )->newslist($title, (array) $variables); Is it possible to send it to second column? Regards,
Daniel F Posted July 21, 2021 Posted July 21, 2021 What do you mean with the second column? If you mean the sidebar, following code should accomplish this: \IPS\Output::i()->sidebar['contextual'] .= \IPS\Theme::i()->getTemplate( 'app1', 'module' )->sidebartemplate( $yourVariables ); Bazilisk 1
Bazilisk Posted July 21, 2021 Author Posted July 21, 2021 (edited) Thanks I have to make sidebartemplate.phtml in html folder and it will be work? Edited July 21, 2021 by Bazilisk
Recommended Posts