Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Felipe Santos Friend
    #146357

    Hi fellas, i had tried in admin but without success…

    i only need to change menu to left side and put content in middle.
    Please, i need this to finished the website.

    thank you

    Anonymous Moderator
    Felipe Santos Friend
    #325301

    Thank you man, i’ll take a look and post again if become fine!

    Felipe Al.

    Felipe Santos Friend
    #325307

    Hi Brother, i made with your support!
    but i have only one issue yet
    could you help me to find the last wrongs divs?

    [PHP]<?php
    /*————————————————————————
    # JA Labra for Joomla 1.5 – Version 1.2 – Licence Owner JA127578
    # ————————————————————————
    # Copyright (C) 2004-2008 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.’ja_vars_1.5.php’);

    ?>

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

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

    <head>
    <jdoc:include type=”head” />
    <?php JHTML::_(‘behavior.mootools’); ?>

    <link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/template.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/ja_newsmoo.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/typo.css” type=”text/css” />

    <script language=”javascript” type=”text/javascript”>
    var siteurl = ‘<?php echo $tmpTools->baseurl();?>’;
    var tmplurl = ‘<?php echo $tmpTools->templateurl();?>’;
    </script>

    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js”></script>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/ja.hiddenpanel.js”></script>
    <?php if ($tmpTools->getParam(‘usertool_modfunc’)) : ?>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/ja.ddmod.js”></script>
    <?php endif; ?>
    <!– js for dragdrop –>

    <!– Menu head –>
    <?php $jamenu->genMenuHead(); ?>

    <link href=”<?php echo $tmpTools->templateurl(); ?>/css/themes/<?php echo $tmpTools->getParam(JA_TOOL_BODY); ?>.css” rel=”stylesheet” type=”text/css” />
    <link href=”<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $tmpTools->getParam(JA_TOOL_BODY); ?>-<?php echo $tmpTools->getParam(JA_TOOL_COLOR); ?>.css” rel=”stylesheet” type=”text/css” />

    <!–>
    <style type=”text/css”>
    .clearfix {height: 1%;}
    img {border: none;}
    </style>
    <!–>

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

    <?php if ($tmpTools->isIE6()) { ?>
    <!–>
    <link href=”<?php echo $tmpTools->templateurl(); ?>/css/ie6.php” rel=”stylesheet” type=”text/css” />
    <script type=”text/javascript”>
    window.addEvent (‘load’, makeTransBG);
    function makeTransBG() {
    makeTransBg($$(‘img’));
    }
    </script>
    <!–>
    <?php } ?>

    <!–>
    <link href=”<?php echo $tmpTools->templateurl(); ?>/css/ie8.css” rel=”stylesheet” type=”text/css” />
    <!–>
    </head>

    <body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_LAYOUT);?> <?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>” >
    <a name=”Top” id=”Top”></a>
    <ul class=”accessibility”>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-content” title=”<?php echo JText::_(“Skip to content”);?>”><?php echo JText::_(“Skip to content”);?></a></li>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-mainnav” title=”<?php echo JText::_(“Skip to main navigation”);?>”><?php echo JText::_(“Skip to main navigation”);?></a></li>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-col1″ title=”<?php echo JText::_(“Skip to 1st column”);?>”><?php echo JText::_(“Skip to 1st column”);?></a></li>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-col2″ title=”<?php echo JText::_(“Skip to 2nd column”);?>”><?php echo JText::_(“Skip to 2nd column”);?></a></li>
    </ul>

    <div id=”ja-wrapper”>

    <!– BEGIN: HEADER –>
    <div id=”ja-headerwrap”>
    <div id=”ja-header” class=”clearfix”>

    <?php if ($this->countModules(‘user4’)) { ?>
    <div id=”ja-search”>
    <jdoc:include type=”modules” name=”user4″ style=”raw” />
    </div>
    <?php } ?>

    <!– BEGIN: MAIN NAVIGATION –>
    <div id=”ja-mainnavwrap”>
    <div id=”ja-mainnav”>
    <?php $jamenu->genMenu (0); ?>
    </div>
    </div>
    <!– END: MAIN NAVIGATION –>

    </div>
    </div>
    <!– END: HEADER –>
    <div class=”h-shadow”> </div>

    <?php if($this->countModules(‘user5’)) : ?>
    <!– BEGIN: TOPSPOTLIGHT –>
    <div id=”ja-topslwrap”>
    <div id=”ja-topsl”>
    <jdoc:include type=”modules” name=”user5″ style=”raw” />
    </div>
    </div>
    <!– END: TOPSPOTLIGHT –>
    <?php endif; ?>

    <div id=”ja-containerwrap<?php echo $divid; ?>”>
    <div id=”ja-container” class=”clearfix”>

    <div id=”ja-contentwrap”>

    <jdoc:include type=”modules” name=”left” style=”rounded” />

    </div>

    <?php if ($ja_left || $ja_right) { ?>
    <!– BEGIN: COLUMNS –>
    <div id=”ja-colwrap”>

    <?php if ($ja_left) { ?>
    <div id=”ja-col1″>
    <div class=”ja-innerpad clearfix ja-movable-container” id=”ja-movable1″>

    <!– BEGIN: CONTENT –>
    <div id=”ja-content” class=”ja-box-br”>
    <div class=”ja-box-bl”><div class=”ja-box-tr”><div class=”ja-box-tl”>

    <div id=”ja-usertoolswrap”>
    <div id=”ja-usertools” class=”clearfix”>
    <!–   espaço do titulo principal–>
    </div></div>

    <jdoc:include type=”message” />

    <div id=”ja-current-content” class=”clearfix”>
    <jdoc:include type=”component” />
    </div>

    </div></div></div></div>
    <!– END: CONTENT –>

    <?php if( $this->countModules(‘user7’) ) {?>
    <!– BEGIN: TABS –>
    <div id=”ja-tabs”>
    <div class=”ja-box-br”><div class=”ja-box-bl”><div class=”ja-box-tr”><div class=”ja-box-tl clearfix”>
    <jdoc:include type=”modules” name=”user7″ style=”raw” />
    </div></div></div></div>
    </div>
    <!– END: TABS –>
    <?php } ?>

    <?php if($this->countModules(‘banner’)) : ?>
    <!– BEGIN: BANNER –>
    <div id=”ja-banner” class=”clearfix”>
    <jdoc:include type=”modules” name=”banner” />
    </div>
    <!– END: BANNER –>
    <?php endif; ?>

    </div>
    </div>
    <?php } ?>

    <?php if ($ja_right) { ?>
    <div id=”ja-col2″>
    <div class=”ja-innerpad ja-movable-container” id=”ja-movable2″>
    <jdoc:include type=”modules” name=”right” style=”rounded” />
    </div>
    </div>
    <?php } ?>

    </div><br />
    <!– END: COLUMNS –>
    <?php } ?>

    </div></div>

    <!– BEGIN: FOOTER –>
    <div id=”ja-footerwrap”>
    <div id=”ja-footer” class=”clearfix”>

    <jdoc:include type=”modules” name=”footer” />

    <?php $tmpTools->genToolMenu($tmpTools->getParam(‘usertool_modfunc’), ‘gif’); ?>

    </div>
    </div>
    <!– END: FOOTER –>

    </div>
    <jdoc:include type=”modules” name=”debug” />
    <script type=”text/javascript”>
    addSpanToTitle();
    </script>
    </body>

    </html>
    [/PHP]

    Anonymous Moderator
    #325471

    Hi

    Please open templates/ja_labra/js/ja.script.js file, find this function:


    //Add span to module title
    function addSpanToTitle () {
    var colobj = document.getElementById ('ja-colwrap');
    if (!colobj) return;
    var modules = getElementsByClass ('module.*', colobj, "DIV");
    if (!modules) return;
    for (var i=0; i<modules.length; i++) {
    var module = modules;
    var title = module.getElementsByTagName ("h3")[0];
    if (title) {
    title.innerHTML = "<span>"+title.innerHTML+"</span>";
    //module.className = "ja-" + module.className;
    }
    }
    }


    and change to:

    //Add span to module title
    function addSpanToTitle () {
    var colobj = document.getElementById ('ja-colwrap');
    if (!colobj) return;
    var modules = getElementsByClass ('module.*', colobj, "DIV");
    if (!modules) return;
    for (var i=0; i<modules.length; i++) {
    var module = modules;
    var title = module.getElementsByTagName ("h3")[0];
    if (title) {
    title.innerHTML = "<span>"+title.innerHTML+"</span>";
    //module.className = "ja-" + module.className;
    }
    }

    colobj = document.getElementById ('ja-contentwrap');
    if (!colobj) return;
    modules = getElementsByClass ('module.*', colobj, "DIV");
    if (!modules) return;
    for (var i=0; i<modules.length; i++) {
    var module = modules;
    var title = module.getElementsByTagName ("h3")[0];
    if (title) {
    title.innerHTML = "<span>"+title.innerHTML+"</span>";
    //module.className = "ja-" + module.className;
    }
    }

    }

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

This topic contains 5 replies, has 2 voices, and was last updated by Anonymous 14 years, 11 months ago.

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