Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • supersplet Friend
    #147509

    I am using JA Kyanite II and I am wondering if it’s possible to remove the JA-MENU and place it as module. I would like this menu to be shown only on a few pages, not on all pages.

    Also I would prefer having TOP position on top and logo removed (like shown in attached pictures), so that there’s TOP module (slideshow), after that MENU module and then USER1,2,3… Can someone help me with this changes please?

    useguider.jpg – how it is now
    useguider2.jpg – how I want it to be


    1. useguider
    2. useguider2
    lamvt Friend
    #328883

    send 3 files for you
    1. default.php

    <?php
    /**
    * @copyright Copyright (C) 2005 - 2007 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' );
    $this->_basewidth = 20;
    $positions = array (
    'left1' =>'left',
    'left2' =>'',
    'left-mass-top' =>'',
    'left-mass-bottom' =>'',
    'right1' =>'right',
    'right2' =>'',
    'right-mass-top' =>'',
    'right-mass-bottom' =>'',
    'content-mass-top' =>'',
    'content-mass-bottom' =>'',
    'content-top' =>'',
    'content-bottom' =>'',
    'inset1' =>'',
    'inset2' =>''
    );

    $this->definePosition ($positions);
    ?>

    <?php if ($this->isIE() && ($this->getParam('direction')=='rtl' || $this->direction == 'rtl')) { ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <?php } else { ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <?php } ?>

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

    <head>
    <?php $this->loadBlock('head') ?>
    </head>

    <body id="bd" class="fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $this->browser();?>">

    <div id="ja-wrapper">
    <a name="Top" id="Top"></a>

    <!-- HEADER -->
    <?php $this->loadBlock('header') ?>
    <!-- //HEADER -->
    <?php $this->loadBlock('topsl') ?>
    <!-- MAIN NAVIGATION -->
    <?php $this->loadBlock('mainnav') ?>
    <!-- //MAIN NAVIGATION -->

    <!-- MAIN CONTAINER -->
    <div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w'); ?>">
    <div class="main clearfix">

    <div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
    <div class="ja-box1"><div class="ja-box2">
    <?php $this->loadBlock('main') ?>
    <?php $this->loadBlock('left') ?>
    </div></div>
    </div>

    <?php $this->loadBlock('right') ?>

    </div>
    </div>
    <!-- //MAIN CONTAINER -->

    <?php $this->loadBlock('botsl') ?>

    <!-- FOOTER -->
    <?php $this->loadBlock('footer') ?>
    <!-- //FOOTER -->

    </div>

    <jdoc:include type="modules" name="debug" />

    <?php if ($this->isIE6()) : ?>
    <?php $this->loadBlock('ie6/ie6warning') ?>
    <?php endif; ?>

    </body>

    </html>

    2. mainav.php

    <?php if( $this->countModules('lamvt') ): ?>
    <div id="ja-mainnav" class="wrap">
    <div class="main">
    <div class="inner clearfix">
    <?php if( $this->countModules('lamvt') ): ?>

    <jdoc:include type="modules" name="lamvt" style="raw" />

    </div>
    </div>
    </div>
    <?php endif; ?>
    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id="ja-subnav" class="wrap">
    <div class="main clearfix">
    <?php $jamenu->genMenu (1); ?>
    </div>
    </div>
    <?php endif;?>

    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
    </ul>

    3. open templateDetail.xml line 58 add:
    <position>lamvt</position>

    Happy New year

    supersplet Friend
    #328921

    Thanks for the help, but after those changes I can place some Menu module to “lamvt” but it’s not shown ad Mega menu, it’s normal menu like shown in picture. How could I get Mega menu up there as a module?


    1. menu
    Anonymous Moderator
    #329257

    Hi supersplet

    please submit a ticket, send us your live url, admin account so that we have a closer look on the issue.

    supersplet Friend
    #329290

    Ticket with information was sent. Thanks.

    supersplet Friend
    #329462

    Unfortunate the support team couldn’t do anything – “Our template does not support your idea”.

    If anyone will figure out how to make that MegaMenu is not shown on all pages, but only on a few pages which I select (like at module) write the solution here please. I will just remove it for now.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  supersplet 14 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum