Jump to content

How to send text to second column in template?


Recommended Posts

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,

Link to comment
Share on other sites

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 );
	

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...