-
AuthorPosts
-
itgl72 Friend
itgl72
- Join date:
- March 2008
- Posts:
- 230
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 41
- Thanked:
- 10 times in 1 posts
February 24, 2010 at 10:00 pm #333771I have got to bookmark this post. I keep forgetting to save the code. THANKS! :-*
xxxxmints Friendxxxxmints
- Join date:
- February 2008
- Posts:
- 93
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 20
- Thanked:
- 3 times in 1 posts
August 5, 2010 at 7:47 am #351769I just have to say thank you to this!
Mel
madeline63 Friendmadeline63
- Join date:
- January 2010
- Posts:
- 92
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
December 15, 2010 at 2:42 am #366823Hi, 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.com – http://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?
-
AuthorPosts
This topic contains 18 replies, has 15 voices, and was last updated by madeline63 13 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum