Elgg  Version 1.9
Variables
head.php File Reference

Go to the source code of this file.

Variables

 $metas = elgg_extract('metas', $vars, array())
 The HTML head. More...
 
 $links = elgg_extract('links', $vars, array())
 
foreach($metas as $attributes) foreach($links as $attributes) $js = elgg_get_loaded_js('head')
 
 $css = elgg_get_loaded_css()
 
 $elgg_init = elgg_view('js/initialize_elgg')
 
 $html5shiv_url = elgg_normalize_url('vendors/html5shiv.js')
 
 $ie_url = elgg_get_simplecache_url('css', 'ie')
 
 $ie8_url = elgg_get_simplecache_url('css', 'ie8')
 
 $ie7_url = elgg_get_simplecache_url('css', 'ie7')
 
 foreach ($css as $url)
 

Variable Documentation

Definition at line 32 of file head.php.

$elgg_init = elgg_view('js/initialize_elgg')

Definition at line 33 of file head.php.

$html5shiv_url = elgg_normalize_url('vendors/html5shiv.js')

Definition at line 35 of file head.php.

$ie7_url = elgg_get_simplecache_url('css', 'ie7')

Definition at line 38 of file head.php.

$ie8_url = elgg_get_simplecache_url('css', 'ie8')

Definition at line 37 of file head.php.

$ie_url = elgg_get_simplecache_url('css', 'ie')

Definition at line 36 of file head.php.

foreach ($metas as $attributes) foreach ($links as $attributes) $js = elgg_get_loaded_js('head')

Definition at line 31 of file head.php.

$links = elgg_extract('links', $vars, array())

Definition at line 21 of file head.php.

$metas = elgg_extract('metas', $vars, array())

The HTML head.

JavaScript load sequence (set in views library and this view)

  1. Elgg's initialization which is inline because it can change on every page load.
  2. RequireJS config. Must be loaded before RequireJS is loaded.
  3. RequireJS
  4. jQuery
  5. jQuery migrate
  6. jQueryUI
  7. elgg.js

$vars['title'] The page title $vars['metas'] Array of meta elements $vars['links'] Array of links

Definition at line 20 of file head.php.

foreach($js as $url)

Definition at line 48 of file head.php.