Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
TemKa_SD

Как вывести JS из dev/js/* ?

Recommended Posts

\IPS\Output::i()->js( 'front_', 'wc3', 'front' )

 

section это что? cotrollers?

 

\IPS\Output::i()->js( 'front_controllers', 'wc3', 'front' )

 

\IPS\Output::i()->js( 'front_controllers_ips.ActiveGames.GameList.js', 'wc3', 'front' )

 

Не понимаю....

Share this post


Link to post
Share on other sites

Мда, сделал. Спасибо. Кому надо будет:

 

\IPS\Output::i()->jsFiles = array_merge( \IPS\Output::i()->jsFiles, \IPS\Output::i()->js( 'front_ActiveGames.js', 'wc3', 'front' ) );

Edited by TemKa_SD

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...