I want to add a module position on the right of the logo.
I've checked some "joomla 1.7 add module position" tutorials and the index.php from the template folder is very different from the tutorials.
All my index.php has is:
- Code: Select all
<?php
/**
*
* Main file
*
* @version 1.0.0
* @package Gavern Framework
* @copyright Copyright (C) 2010 - 2011 GavickPro. All rights reserved.
*
*/
// No direct access.
defined('_JEXEC') or die;
// enable showing errors in PHP
//ini_set('error_reporting', E_ALL);
//ini_set('display_errors','On');
// include framework classes and files
require_once('lib/framework/gk.const.php');
require_once('lib/framework/gk.parser.php');
require_once('lib/gk.framework.php');
// run the framework
$tpl = new GKTemplate($this, $GK_TEMPLATE_MODULE_STYLES);
/* End of the file - index.php */
i know i have to edit templatedetails.xml, however where can i insert the:
- Code: Select all
<jdoc:include type="modules" name="mynewposition" />
so that it works fine?
I checked this tutorial: http://www.cmsmind.com/joomla-1-7-how-to-create-a-new-module-position-in-your-joomla-template/