Created by Niels Nübel / @Niels_Nuebel
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>The bad news...</title>
</head>
<body>
Hello World
</body>
</html>
- joomladaytemplate.niels-nuebel.de
- JDay 2016 Template
- JDay 2016 Template Download 0.0.5
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3" type="template" client="site">
</extension>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3" type="template" client="site">
</extension>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3" type="template" client="site">
</extension>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3.5" type="template" client="site">
</extension>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3.6" type="template" client="site">
</extension>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3.1" type="template" client="site">
</extension>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3.1" type="template" client="site">
</extension>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN"
"https://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension version="3.1" type="template" client="administrator">
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
index.php
templateDetails.xml
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
index.php
templateDetails.xml
</extension>
<!doctype html>
<html>
<head>
</head>
<body>
</body>
</html>
<!doctype html>
<html>
<head>
</head>
<body>
<jdoc:include
</body>
</html>
<!doctype html>
<html>
<head>
</head>
<body>
<jdoc:include type="component" />
</body>
</html>
<!doctype html>
<html>
<head>
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>
</html>
<!doctype html>
<html>
<head>
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>
</html>
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>
</html>
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
index.php
templateDetails.xml
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
index.php
templateDetails.xml
debug
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
index.php
templateDetails.xml
debug
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
Beschreibung
index.php
templateDetails.xml
debug
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
TPL_JDAY2016_XML_DESCRIPTION
index.php
templateDetails.xml
debug
</extension>
TPL_JDAY2016_XML_DESCRIPTION="Joomla 3 Template als HTML5 Version"
TPL_JDAY2016_XML_DESCRIPTION="Joomla 3 Template als HTML5 Version"
TPL_JDAY2016_XML_DESCRIPTION="Joomla 3 Template als HTML5 Version"
TPL_JDAY2016_XML_DESCRIPTION="Joomla 3 Template als HTML5 Version"
TPL_JDAY2016_POSITION_DEBUG="Debug"
TPL_JDAY2016_XML_DESCRIPTION="Joomla 3 Template als HTML5 Version"
TPL_JDAY2016_POSITION_DEBUG="Debug"
TPL_JDAY2016_XML_DESCRIPTION="Joomla 3 Template als HTML5 Version"
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
TPL_JDAY2016_XML_DESCRIPTION
index.php
templateDetails.xml
debug
en-GB/en-GB.tpl_jday2016.ini
en-GB/en-GB.tpl_jday2016.sys.ini
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
TPL_JDAY2016_XML_DESCRIPTION
language
index.php
templateDetails.xml
debug
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
TPL_JDAY2016_XML_DESCRIPTION
language
index.php
templateDetails.xml
debug
</extension>
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
TPL_JDAY2016_XML_DESCRIPTION
language
index.php
template_preview.png
template_thumbnail.png
templateDetails.xml
debug
</extension>
<?php defined('_JEXEC') or die; ?>
<?php defined('_JEXEC') or die; ?>
<?php defined('_JEXEC') or die; ?>
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
<?php defined('_JEXEC') or die; ?>
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
<?php defined('_JEXEC') or die; ?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
<?php defined('_JEXEC') or die; ?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
<?php defined('_JEXEC') or die; ?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
<head>
<base href="http://jdaytemplate.dev/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Home</title>
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
</script>
</head>
Quelltext
body {
background: red;
}
templates/jday2016/css/style.css
(function($){
$(document).ready(function(){
alert('Wird geladen');
});
})(this.jQuery);
templates/jday2016/js/script.js
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
TPL_JDAY2016_XML_DESCRIPTION
language
index.php
templateDetails.xml
debug
</extension>
templates/jday2016/templateDetails.xml
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
TPL_JDAY2016_XML_DESCRIPTION
css
js
language
index.php
templateDetails.xml
debug
</extension>
templates/jday2016/templateDetails.xml
<?php defined('_JEXEC') or die; ?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<?php
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<?php
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$tpath = $this->baseurl . '/templates/' . $this->template;
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<?php
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$tpath = $this->baseurl . '/templates/' . $this->template;
// Add CSS
$doc->addStyleSheet($tpath . '/css/style.css');
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<head>
<base href="http://jdaytemplate.dev/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Home</title>
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
</script>
</head>
Quelltext
<head>
<base href="http://jdaytemplate.dev/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Home</title>
<link rel="stylesheet" href="/templates/jday2016/css/style.css" type="text/css" />
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
</script>
</head>
Quelltext
<?php
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$tpath = $this->baseurl . '/templates/' . $this->template;
// Add CSS
$doc->addStyleSheet($tpath . '/css/style.css');
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<?php
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$tpath = $this->baseurl . '/templates/' . $this->template;
// Add CSS and Javascript
$doc->addStyleSheet($tpath . '/css/style.css');
$doc->addScript($tpath . '/js/script.js');
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<head>
<base href="http://jdaytemplate.dev/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Home</title>
<link rel="stylesheet" href="/templates/jday2016/css/style.css" type="text/css" />
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
</script>
</head>
Quelltext
<head>
<base href="http://jdaytemplate.dev/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Home</title>
<link rel="stylesheet" href="/templates/jday2016/css/style.css" type="text/css" />
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script src="/templates/jday2016/js/script.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
</script>
</head>
Quelltext
<head>
<base href="http://jdaytemplate.dev/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Home</title>
<link rel="stylesheet" href="/templates/jday2016/css/style.css" type="text/css" />
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script src="/templates/jday2016/js/script.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
</script>
</head>
Quelltext
<head>
<base href="http://jdaytemplate.dev/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Home</title>
<link rel="stylesheet" href="/templates/jday2016/css/style.css" type="text/css" />
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script src="/templates/jday2016/js/script.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
</script>
</head>
Quelltext
<?php
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
// Headcleaner
$this->setGenerator(null);
$filesjs = array(
"media/jui/js/jquery.min.js",
"media/jui/js/jquery-noconflict.js",
"media/jui/js/jquery-migrate.min.js",
"media/system/js/caption.js"
);
$scripts = array();
foreach ($doc->_scripts as $name => $details)
{
$add = true;
foreach ($filesjs as $dis)
{
if (strpos($name, $dis) !== false)
{
$add = false;
break;
}
}
if ($add)
{
$scripts[$name] = $details;
}
}
$doc->_scripts = $scripts;
$doc->_script['text/javascript'] = str_replace(
"jQuery(window).on('load', function() {\n\t\t\t\tnew JCaption('img.caption');\n\t\t\t});",
'',
$doc->_script['text/javascript']
);
$tpath = $this->baseurl . '/templates/' . $this->template;
// Add CSS and Javascript
$doc->addStyleSheet($tpath . '/css/style.css');
$doc->addScript($tpath . '/js/script.js');
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<head>
<base href="http://jdaytemplate.dev/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Home</title>
<link rel="stylesheet" href="/templates/jday2016/css/style.css" type="text/css" />
<script src="/templates/jday2016/js/script.js" type="text/javascript"></script>
<script type="text/javascript">
</script>
</head>
Quelltext
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="modules" name="logo" />
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<extension version="3.1" type="template" client="site">
<name>jday2016</name>
<creationDate>16.09.2016</creationDate>
<author>Niels Nübel</author>
<authorEmail>niels@niels-nuebel.de</authorEmail>
<authorUrl>http://www.niels-nuebel.de</authorUrl>
<version>0.0.1</version>
index.php
templateDetails.xml
logo
debug
</extension>
templates/jday2016/templateDetails.xml
<jdoc:include type="modules" name="logo" />
templates/jday2016/index.php
<jdoc:include type="modules" name="logo" style="html5" />
templates/jday2016/index.php
Für Module mit Überschriften
<?php
defined('_JEXEC') or die;
/*
* jday
*/
function modChrome_jday($module, &$params, &$attribs)
{
echo '<div class="jday">';
echo $module->content;
echo '</div>';
}
templates/jday2016/html/modules.php
<jdoc:include type="modules" name="logo" style="jday" />
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="modules" name="logo" style="jday" />
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<div class="jday">
<jdoc:include type="modules" name="logo" />
</div>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<?php if ($this->countModules('logo')) : ?>
<div class="jday">
<jdoc:include type="modules" name="logo" />
</div>
<?php endif; ?>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<!doctype html>
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<?php if ($this->countModules('logo')) : ?>
<div class="jday">
<jdoc:include type="modules" name="logo" />
</div>
<?php endif; ?>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<extension version="3.1" type="template" client="site">
index.php
templateDetails.xml
logo
debug
</extension>
templates/jday2016/templateDetails.xml
templates/jday2016/templateDetails.xml
<?php
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$tpath = $this->baseurl . '/templates/' . $this->template;
// Getting params from template
$params = $app->getTemplate(true)->params;
$cssfilename = $params->get('cssfilename', 'style.css');
// Add CSS and Javascript
$doc->addStyleSheet($tpath . '/css/' . $cssfilename);
$doc->addScript($tpath . '/js/script.js');
// Headcleaner
$this->setGenerator(null);
$filesjs = array(
"media/jui/js/jquery.min.js",
"media/jui/js/jquery-noconflict.js",
"media/jui/js/jquery-migrate.min.js",
"media/system/js/caption.js"
);
$scripts = array();
foreach ($doc->_scripts as $name => $details)
{
$add = true;
foreach ($filesjs as $dis)
{
if (strpos($name, $dis) !== false)
{
$add = false;
break;
}
}
if ($add)
{
$scripts[$name] = $details;
}
}
$doc->_scripts = $scripts;
$doc->_script['text/javascript'] = str_replace(
"jQuery(window).on('load', function() {\n\t\t\t\tnew JCaption('img.caption');\n\t\t\t});",
'',
$doc->_script['text/javascript']
);
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<jdoc:include type="component" />
<jdoc:include type="modules" name="debug" />
</body>
</html>
templates/jday2016/index.php
<?php
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$tpath = $this->baseurl . '/templates/' . $this->template;
// Getting params from template
$params = $app->getTemplate(true)->params;
$cssfilename = $params->get('cssfilename', 'style.css');
// Add CSS and Javascript
$doc->addStyleSheet($tpath . '/css/bootstrap.min.css');
$doc->addStyleSheet($tpath . '/css/' . $cssfilename);
$doc->addScript($tpath . '/js/jquery.min.js');
$doc->addScript($tpath . '/js/tether.min.js');
$doc->addScript($tpath . '/js/bootstrap.min.js');
$doc->setMetadata('x-ua-compatible','IE=edge,chrome=1');
$doc->setMetaData('viewport', 'width=device-width, initial-scale=1, shrink-to-fit=no');
// Headcleaner
$this->setGenerator(null);
$filesjs = array(
"media/jui/js/jquery.min.js",
"media/jui/js/jquery-noconflict.js",
"media/jui/js/jquery-migrate.min.js",
"media/system/js/caption.js"
);
$scripts = array();
foreach ($doc->_scripts as $name => $details)
{
$add = true;
foreach ($filesjs as $dis)
{
if (strpos($name, $dis) !== false)
{
$add = false;
break;
}
}
if ($add)
{
$scripts[$name] = $details;
}
}
$doc->_scripts = $scripts;
$doc->_script['text/javascript'] = str_replace(
"jQuery(window).on('load', function() {\n\t\t\t\tnew JCaption('img.caption');\n\t\t\t});",
'',
$doc->_script['text/javascript']
);
?>
<!doctype html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
</head>
<body>
<?php if ($this->countModules('menu')) : ?>
<nav class="navbar navbar-fixed-top navbar-dark bg-inverse">
<a class="navbar-brand" href="<?= $this->baseurl; ?>"><?= $app->get('sitename'); ?></a>
<jdoc:include type="modules" name="menu" />
</nav>
<?php endif; ?>
<div class="container">
<jdoc:include type="message" />
<div class="starter-template">
<jdoc:include type="component" />
</div>
</div>
<jdoc:include type="modules" name="debug" style="none" />
</body>
</html>
templates/jday2016/index.php
Rayi Christian Wicaksono
Greg Rakozy
Ilya Pavlov
Markus Spiske
Faye Cornish
Ambitious Creative Co. - Rick Barrett