Sergeant Orion 13.07.2006, 18:32
Basit olarak viewtopic_body.tpl dende yapılabilir.ama gelişmiş olarak;
3 tane ek olarak viewtopic dosyası hazırlanır.
_sag _sol _ust şeklinde prefixlerle temanın içine atılır,viewtopic_body.tpl'de <!-- BEGIN postrow --> ile <!-- END postrow --> arası
[syntax="html"]<!-- IF TPL_CFG_TOPICVIEW == "ust" --><!-- INCLUDE viewtopic_post_ust.tpl --><!-- ENDIF -->
<!-- IF TPL_CFG_TOPICVIEW == "sag" --><!-- INCLUDE viewtopic_post_sag.tpl --><!-- ENDIF -->
<!-- IF TPL_CFG_TOPICVIEW == "sol" --><!-- INCLUDE viewtopic_post_sol.tpl --><!-- ENDIF -->
[/syntax]
ile değiştirilir.tema klasörünün içindeki xs_config.cfg dosyasıda şu şekilde olursa :
[syntax="php"]<?php
$style_config[] = array(
'type' => 'select',
'var' => 'topicview',
'default' => 'left',
'cat' => 'Topic view',
'selection' => array(
'sol' => 'solda',
'sag' => 'sağda',
'ust' => 'üstünde',
),
'cat' => 'Konu Görünümü',
'text' => 'Gönderenin profili mesajın neresinde görünecek?',
);
?>[/syntax]
kullanıcı bilgilerinin nerede görüneceği yönetim panelinden ayarlanabilir..
acele yazdım biraz sonra daha ayrıntılı bir şekilde anlatırım
Hail to the doat, baby!