test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • fiumeciane Friend
    #142325

    hi there.

    I would create two new modules in the position that you can see in picture

    [/URL]

    How can I do?

    Thanks

    Anonymous Moderator
    #309398

    Hi fiumeciane

    Please kindly try with my guider:

    + Open template/ja_teline_ii/index.php file


    <?php
    /*------------------------------------------------------------------------
    # $JA#PRODUCT_NAME$ - Version $JA#VERSION$ - Licence Owner $JA#OWNER$
    # ------------------------------------------------------------------------
    # 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.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.'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/editor.css" type="text/css" />

    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/highslide/highslide.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/typo.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja.news.css" type="text/css" />
    <link href="<?php echo $tmpTools->templateurl(); ?>/mootabs/mootabs1.2.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js"></script>

    <script type="text/javascript">
    //<!]>
    </script>
    <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/highslide/highslide-full.packed.js"></script>

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

    <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/theme-red.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()) { ?>
    <!-->
    <script type="text/javascript">
    var siteurl = '<?php echo $tmpTools->baseurl();?>';
    </script>
    <!-->
    <?php } ?>

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

    <script type="text/javascript">
    hs.graphicsDir = '<?php echo $tmpTools->templateurl(); ?>/highslide/graphics/';
    hs.showCredits = true; // you can set this to false if you want
    hs.creditsText = 'Powered by JA Highslide';
    hs.creditsHref = 'http://joomlart.com/';
    hs.creditsTitle ='Go to the Highslide JA homepage';
    </script>

    </head>

    <body id="bd" class="<?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">

    <?php if($this->countModules('topmodule')) : ?>
    <div id="ja-topmodule" class="clearfix">
    <jdoc:include type="modules" name="topmodule" />
    </div>
    <?php endif; ?>

    <div id="ja-header" class="clearfix">

    <?php
    $siteName = $tmpTools->sitename();
    if ($tmpTools->getParam('logoType')=='image') { ?>
    <h1 class="logo">
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php } else {
    $logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
    $sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
    <h1 class="logo-text">
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
    </h1>
    <p class="site-slogan"><?php echo $sloganText;?></p>
    <?php } ?>

    <div id="ja-headtools" class="ja-headtool">
    <div class="ja-innerpad clearfix">

    <div class="ja-day">
    <?php
    echo "<span>".date ('l')."</span>";
    echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
    ?>
    </div>

    <ul>
    <jdoc:include type="modules" name="ja-login" />
    <!--module search-->
    <?php if($this->countModules('user4')) : ?>
    <jdoc:include type="modules" name="user4" />
    <?php endif; ?>
    </ul>

    <?php if ($tmpTools->getParam(JA_TOOL_USER)) { ?>
    <div id="ja-usertools">
    <strong>Text size</strong><?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER)); ?>
    </div>
    <?php } ?>

    </div>
    </div>

    </div>
    </div>
    <!-- END: HEADER -->

    <!-- BEGIN: MAIN NAVIGATION -->
    <div id="ja-mainnavwrap">
    <div id="ja-mainnav" class="clearfix">
    <?php $jamenu->genMenu (0); ?>
    </div>
    </div>
    <?php if ($hasSubnav) { ?>
    <div id="ja-subnavwrap">
    <div id="ja-subnav" class="clearfix">
    <?php $jamenu->genMenu (1,1); ?>
    </div>
    </div>
    <?php } ?>
    <!-- END: MAIN NAVIGATION -->

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

    <div id="ja-container">
    <div id="ja-container-inner" class="clearfix">
    <?php if($this->countModules('betmodule')) : ?>
    <div id="ja-betmodule" class="clearfix">
    <jdoc:include type="modules" name="betmodule" />
    </div>
    <?php endif; ?>
    <!-- BEGIN: CONTENT -->
    <div id="ja-content">
    <div class="ja-innerpad clearfix">

    <jdoc:include type="message" />

    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div id="ja-pathway">
    <jdoc:include type="module" name="breadcrumbs" />
    </div>
    <?php endif ; ?>

    <div id="ja-current-content">

    <?php if(!$tmpTools->isFrontPage()) : ?>
    <jdoc:include type="component" />
    <?php endif; ?>

    <!-- BEGIN: JAZIN -->
    <?php if($tmpTools->isFrontPage()) : ?>
    <div id="jazin-fp">
    <jdoc:include type="modules" name="ja-news" style="raw" />
    </div>
    <?php endif; ?>
    <!-- END: JAZIN -->

    </div>

    <?php
    $spotlight = array ('user8','user9');
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl ) {
    ?>
    <!-- BEGIN: BOTTOM SPOTLIGHT -->
    <div id="ja-botsl" class="clearfix">

    <?php if( $this->countModules('user8') ) {?>
    <div class="ja-box<?php echo $botsl['user8']['class']; ?>" style="width: <?php echo $botsl['user8']['width']; ?>;">
    <jdoc:include type="modules" name="user8" style="xhtml" />
    </div>
    <?php } ?>

    <?php if( $this->countModules('user9') ) {?>
    <div class="ja-box<?php echo $botsl['user9']['class']; ?>" style="width: <?php echo $botsl['user9']['width']; ?>;">
    <jdoc:include type="modules" name="user9" style="xhtml" />
    </div>
    <?php } ?>

    </div>
    <!-- END: BOTTOM SPOTLIGHT -->
    <?php } ?>

    <?php if($this->countModules('banner')) : ?>
    <!-- BEGIN: BANNER -->
    <div id="ja-banner">
    <jdoc:include type="modules" name="banner" />
    </div>
    <!-- END: BANNER -->
    <?php endif; ?>

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

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

    <?php if ($ja_masscol) { ?>
    <!-- BEGIN: MASSCOL -->
    <div id="ja-colmass" class="clearfix">
    <div class="ja-innerpad">

    <jdoc:include type="modules" name="user5" style="xhtml" />

    <?php if ($this->countModules('user6')) : ?>
    <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/mootabs/mootabs1.2.js"></script>
    <script type="text/javascript">
    window.addEvent('load', initmootabs);
    function initmootabs() {
    myTabs1 = new jamootabs('ja-tabs', {
    <?php echo $ja_mootabs_options; ?>
    });
    }
    </script>
    <div id="ja-tabswrap">
    <div id="ja-tabs" class="clearfix">
    <div class="ja-tab-panels">
    <jdoc:include type="modules" name="user6" style="xhtml" />
    </div>
    </div>
    </div>
    <?php endif; ?>

    <jdoc:include type="modules" name="user7" style="xhtml" />

    </div>
    </div>
    <!-- END: MASSCOL -->
    <?php } ?>

    <div id="ja-cols" class="clearfix">
    <?php if ($ja_left) { ?>
    <div id="ja-col1">
    <div class="ja-innerpad">
    <jdoc:include type="modules" name="left" style="xhtml" />
    </div>
    </div>
    <?php } ?>

    <?php if ($ja_right) { ?>
    <div id="ja-col2">
    <div class="ja-innerpad">
    <jdoc:include type="modules" name="right" style="xhtml" />
    </div>
    </div>
    <?php } ?>
    </div>

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

    </div></div></div>

    <!-- BEGIN: FOOTER -->
    <div id="ja-footerwrap" class="clearfix">
    <div id="ja-footer">
    <jdoc:include type="modules" name="user3" />
    <jdoc:include type="modules" name="footer" />
    <div class="ja-cert">
    <jdoc:include type="modules" name="syndicate" />
    </div>
    </div>
    </div>
    <!-- END: FOOTER -->

    </div>

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

    </body>

    </html>

    + Open templates/ja_teline_ii/css/template.css file, at about line 536, find following code:


    #ja-header,
    #ja-mainnav,
    #ja-subnav,
    #ja-container,
    #ja-footer {
    width: 970px;
    margin: 0 auto;
    clear: both;
    }

    and change to:

    #ja-topmodule,
    #ja-betmodule,
    #ja-header,
    #ja-mainnav,
    #ja-subnav,
    #ja-container,
    #ja-footer {
    width: 970px;
    margin: 0 auto;
    clear: both;
    }

    fiumeciane Friend
    #309450

    Great!

    It works very well, thank you for your “lesson” 😀

    ikegius Friend
    #312889

    how can I create a new module 2 next the new module 1 ? thanks

    padunic Friend
    #330678

    Hi,

    doesn’t work for me.
    Could you, please, put step by step what i need do after this changes?

    Thank you so much.

    PR

    padunic Friend
    #331048

    Hi,

    i made this works, but the betmodule are aligned in left position. how postion in center?

    Regards.

    padunic Friend
    #331049

    Hi,

    i fix this:

    <div id="ja-container">
    <div id="ja-container-inner" class="clearfix">
    <div align="center">
    <?php if($this->countModules('betmodule')) : ?>
    <div id="ja-betmodule" class="clearfix">
    <jdoc:include type="modules" name="betmodule" />
    </div>
    <?php endif; ?>

    jose vega Friend
    #367474

    I need information to make a new one I modulate for banner of publicity like the one modulates user 5.

    And to place this I modulate in the position above user 5, and to also place in the position under columns left and right

    Greetings.

    http://www.plagasexpress.es

    Saguaros Moderator
    #367790

    sorry, I am confused. Please take screenshot and add markings, where you want the changes. I would be able to help you then.

    Thanks

    jose vega Friend
    #367971

    Need to made in teline ii

    module on the position above user 5

    to see image

    Thanks

    Khanh Le Moderator
    #368279

    You can assign your module to position user5 and set its order before the current one.

    poyraz Friend
    #444073

    ja-betmodule Line Problem 🙁


    1. ja-betmodule-LINE
Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 8 voices, and was last updated by  poyraz 12 years, 9 months ago.

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