Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • itgl72 Friend
    #333771

    I have got to bookmark this post. I keep forgetting to save the code. THANKS! :-*

    xxxxmints Friend
    #351769

    I just have to say thank you to this!

    Mel

    madeline63 Friend
    #366823

    Hi, i can’t find any code about this

    <!–>
    <style type=”text/css”>
    .clearfix {display: inline-block;}
    </style>
    <!–>

    in my templates/ja_template/index.php file
    [PHP]<?php
    /*
    # ————————————————————————
    # JA Teline III – Stable – Version 1.4 – Licence Owner JA178313
    # ————————————————————————
    # Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license – Copyrighted Commercial Software
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.comhttp://www.joomlancers.com
    # This file may not be redistributed in whole or significant part.
    # ————————————————————————
    */

    // no direct access
    defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );

    include_once (dirname(__FILE__).DS.’libs’.DS.’ja.template.helper.php’);

    $tmplTools = JATemplateHelper::getInstance($this, array(‘ui’));

    # Auto Collapse Divs Functions ##########
    $ja_left = $this->countModules(‘left’) || ($tmplTools->getParam(JA_TOOL_MENU) == 1);
    $ja_right = $this->countModules(‘right’);

    if ( $ja_left && $ja_right ) {
    $divid = ”;
    } elseif ( $ja_left ) {
    $divid = ‘-fr’;
    } elseif ( $ja_right ) {
    $divid = ‘-fl’;
    } else {
    $divid = ‘-f’;
    }
    $tmplTools->setParam (‘divid’, $divid);

    $curidx = $tmplTools->getCurrentMenuIndex();
    //if ($curidx) $curidx–;

    //Calculate the width of template
    $tmplWidth = ”;
    $tmplWrapMin = ‘100%’;
    switch ($tmplTools->getParam(JA_TOOL_SCREEN)){
    case ‘auto’:
    $tmplWidth = ‘97%’;
    break;
    case ‘fluid’:
    $tmplWidth = intval($tmplTools->getParam(‘ja_screen_width’));
    $tmplWidth = $tmplWidth ? $tmplWidth.’%’ : ‘90%’;
    break;
    case ‘fix’:
    $tmplWidth = intval($tmplTools->getParam(‘ja_screen_width’));
    $tmplWrapMin = $tmplWidth ? ($tmplWidth+1).’px’ : ‘751px’;
    $tmplWidth = $tmplWidth ? $tmplWidth.’px’ : ‘750px’;
    break;
    default:
    $tmplWidth = intval($tmplTools->getParam(JA_TOOL_SCREEN));
    $tmplWrapMin = $tmplWidth ? ($tmplWidth+1).’px’ : ‘751px’;
    $tmplWidth = $tmplWidth ? $tmplWidth.’px’ : ‘750px’;
    break;
    }

    $tmplTools->setParam (‘tmplWidth’, $tmplWidth);
    $tmplTools->setParam (‘tmplWrapMin’, $tmplWrapMin);

    //Main navigation
    $ja_menutype = $tmplTools->getMenuType();
    $jamenu = null;
    if ($ja_menutype && $ja_menutype != ‘none’) {
    $japarams = new JParameter(”);
    $japarams->set( ‘menutype’, $tmplTools->getParam(‘menutype’, ‘mainmenu’) );
    $japarams->set( ‘menu_images_align’, ‘left’ );
    $japarams->set( ‘menupath’, $tmplTools->templateurl() .’/ja_menus’);
    $japarams->set(‘menu_title’, 0);

    $jamenu = $tmplTools->loadMenu($japarams, $ja_menutype);
    }

    //End for main navigation

    $layout = $tmplTools->getLayout ();
    if ($layout) {
    $tmplTools->display ($layout);
    }[/PHP]

    i am using ja teline iii, joomla 1.5.15

    any idea on wherelse can do the setting?

Viewing 3 posts - 16 through 18 (of 18 total)

This topic contains 18 replies, has 15 voices, and was last updated by  madeline63 13 years, 5 months ago.

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