Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
У меня в индексе нету такого кода((1. открываем файл templateDetails.xml
2. <name>vashe_imya</name>
3. открываем index.php, где присутствуем старое имя шаблона, вместо него пишем, например templates/<?php echo $this->template ?>/css...
4. переименовываем папку с шаблоном
5. и пользуемся
*************
<?php
/*
Template Name: JXTC Ethos
Template URI: [url]http://www.joomlaxtc.com[/url]
Description: JXTC Ethos Joomla 1.5 TI Template
Version: 1.0
Author: Monev Software LLC
Author URI: [url]http://www.joomlaxtc.com[/url]
Tags: tags, are, separated, using, commas,
License: # The PHP, CSS, XHTML is released under GPL:
# [url]http://www.opensource.org/licenses/gpl-license.php[/url]
# Graphics under exclusive license (C)2009-2010 Monev Software LLC
# Additional CSS, PHP, and Javascripting under exclusive license (C)2009-2010 Monev Software LLC
# [url]http://www.joomlaxtc.com[/url]
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
// ------------------------------------------------------------------------
/**
* A default Example Index File.
*
*
* @package themeMagic
* @subpackage
* @version 1.0 Beta.
* @author Ken Erickson AKA Bookworm [url]http://www.bookwormproductions.net[/url]
* @copyright Copyright 2009 - 2010 DesignBreakDown
* @license [url]http://www.gnu.org/licenses/gpl-2.0.html[/url] GNU/GPLv2
* please visit the themeMagic site [url]http://www.theme-magic.com[/url] for support.
* Do not e-mail (or god forbid IM or call) me directly.
*/
// Load Framework
require('thememagic/core/framework.php');
/** Your Code Here **/
loadLayout('main', 'base');
***************************
а есть ещё component.php посмотрите можеть там надо чтото исправить
***************************
<?php
/**
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!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; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template.css" type="text/css" />
<?php if($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template_rtl.css" type="text/css" />
<?php endif; ?>
</head>
<body class="contentpane">
<jdoc:include type="message" />
<jdoc:include type="component" />
</body>
</html>