add a module position

October 08 Joomla Templates
GK User
Wed Dec 07, 2011 7:30 pm
Hi!

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/
User avatar
Fresh Boarder

GK User
Wed Dec 07, 2011 10:32 pm
Look into layout/blocks folder where each section is coded separately.
e.g not in following order
head
header
top
logo
nav
main
bottom
footer

So look into top or logo or nav files and see if logo section is there then you can make your changes in that file.
User avatar
Platinum Boarder


cron