1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Theme options and fixes. Load Theme JS in the footer by default. New blockquote alt. style added to TinyMce. Updated news shortcodes. Option to hide search form from results page.

This commit is contained in:
Cameron
2016-06-01 18:36:16 -07:00
parent 9080291661
commit cd8ea61bd9
11 changed files with 98 additions and 96 deletions

View File

@@ -572,6 +572,20 @@ class e_jsmanager
return $this;
}
/**
* Add Theme JS file for inclusion in site footer (preferred), shorthand of footerFile() method
*
* @param string $file_path relative to theme root folder
* @param integer $zone 1-5 (see header.php)
* @return e_jsmanager
*/
public function footerTheme($file_path, $zone = 5, $pre = '', $post = '')
{
$this->footerFile(THEME.trim($file_path, '/'), $zone, $pre, $post);
return $this;
}
/**
* Add Plugin JS file for inclusion in site header, shorthand of headerFile() method
*