Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
Created May 10, 2012 12:39
Show Gist options
  • Select an option

  • Save betweenbrain/2652806 to your computer and use it in GitHub Desktop.

Select an option

Save betweenbrain/2652806 to your computer and use it in GitHub Desktop.
Example Joomla template head
<?php defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$doc->addStyleSheet('/templates/system/css/screen.css');
$doc->addStyleSheet('/templates/system/css/general.css');
$doc->addStyleSheet('templates/' . $this->template . '/css/default.css');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment