• 27-11-2009, 17:02:40
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Arkadaşlar netten bir tema buldup kurdum

    http://www.windowscu.com/ siteye bakarsanız sağa dayalı görünüyor. nasıl ortalarım ?
    teşekkürler
  • 27-11-2009, 17:49:37
    #2
    Tema ayarlarında yoksa, tema index.php kodunuzda body alanınıza aling="center" ekleyin..
  • 27-11-2009, 19:34:05
    #3
    temanın index.php si bu şekilde

    Alıntı
    <?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' );

    include_once (dirname(__FILE__).DS.'libs'.DS.'ja.template.helpe r.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->getParam(JA_TOOL_MENU, 'css');
    $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);

    $tmplTools->loadMenu($japarams);
    }

    //End for main navigation

    $layout = $tmplTools->getLayout ();
    if ($layout) {
    $tmplTools->display ($layout);
    }
  • 27-11-2009, 23:41:16
    #4
    index.php değil de template.css içindeki kodları incelerseniz hatayı bulabilirsiniz...

    edit:hocam sitedeki HOT Image Slider Modülünün yerini değiştirseniz yada etkisiz hale getirip deneseniz belki düzelir...
  • 28-11-2009, 01:02:36
    #5
    majesty33 adlı üyeden alıntı: mesajı görüntüle
    index.php değil de template.css içindeki kodları incelerseniz hatayı bulabilirsiniz...

    edit:hocam sitedeki HOT Image Slider Modülünün yerini değiştirseniz yada etkisiz hale getirip deneseniz belki düzelir...
    dediğiniz gibi oldu hocam teşekkürler