PDA

Orijinalini görmek için tıklayınız : Temayı genişletmek istiyorum??


JamainS
31-03-2007, 19:48:52
ya bi tema kurdum.. bu tema default olarak dar çıkıyo.. yukarda genişlet butonu var ona tıklayınca genişliyo.. ben default olarak geniş çıkmasını istiyorum.. nasıl yapcam?

M.Enes AYDÜZ
31-03-2007, 20:02:43
Tema'nın index.php'sinin en üstünde $width: yazan yerin yanında "narrow, wide" gibi şeyler yazar. Tırnak işareti içindeki yazıyı wide olarak değiştirin.
Yapamazsanız, tema adını verin, yada temanın en üstündeki kodları yayınlayın burada.

JamainS
31-03-2007, 20:43:25
valla width yazan yer bulamadım..


<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_styleswitcher.php");
$iso = split( '=', _ISO );
?>
<!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">
<head>
<?php
if ( $my->id ) {
initEditor();
}
mosShowHead();

// ************************************************** *
// Change this variable blow to configure the template
//
// If you have any issues, check out the forum at
// http://www.rockettheme.com
//
// ************************************************** *
$menu_type = "suckerfish"; // suckerfish | module
$menu_name = "mainmenu"; // mainmenu by default, can be any Joomla menu name
$sidebar = "right"; // left | right - splitmenu only
$default_width = "thin"; // wide | thin
$default_font = "default"; // smaller | default | larger
$default_style = "style1"; // style1-6
$collapse_inset = "false"; // true | false
$show_pathway = "true"; // true | false
$show_validators = "true"; // true | false

// *************************************************

if ($menu_type != "module") {
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_" . $menu_type . ".php");
}
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_styleloader.php");


// *************************************************
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo $mosConfig_live_site;?>/component/option,com_rss/feed,RSS2.0/no_html,1/">
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/suckerfish.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/<? echo $tstyle; ?>.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/handleSearchfield.js"></script>
</head>
<body class="<?php echo $widthstyle; ?> <?php echo $fontstyle; ?>">
<div class="wrapper">
<div id="header">
<div id="header2">
<a href="<?php echo $mosConfig_live_site;?>" title=""><span id="logo">&nbsp;</span></a>
<div id="access">
<div id="buttons">
<a href="<?php echo $thisurl; ?>widthstyle=w-wide" title="Wide width" class="wide"><span class="button">&nbsp;</span></a>
<a href="<?php echo $thisurl; ?>widthstyle=w-thin" title="Narrow width" class="thin"><span class="button">&nbsp;</span></a>
<a href="<?php echo $thisurl; ?>fontstyle=f-larger" title="Increase size" class="lrg"><span class="button">&nbsp;</span></a>
<a href="<?php echo $thisurl; ?>fontstyle=f-default" title="Default size" class="med"><span class="button">&nbsp;</span></a>
<a href="<?php echo $thisurl; ?>fontstyle=f-smaller" title="Decrease size" class="sml"><span class="button">&nbsp;</span></a>
</div>
<div id="selectors">
<span class="font-selector">&nbsp;</span>
<span class="width-selector">&nbsp;</span>
</div>
</div>
<div id="searchbox">
<form action="index.php" method="post" id="searchform">
<input name="searchword" id="s" alt="search" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
<input type="hidden" name="option" value="search" />
</form>
</div>
<div id="top">
<?php mosLoadModules('top', -1); ?>
</div>
</div>
</div>
<table class="controller" cellspacing="0" cellpadding="0">
<tr valign="top">
<?php if ($sidebar == "left" && mosCountModules('left')) { ?>
<td class="side left">
<?php mosLoadModules('left', -3); ?>
</td>
<?php } ?>
<td class="main">
<div id="vtop"></div>
<?php if(mosCountModules('inset') || $collapse_inset == "false") { ?>
<div id="render">
<?php mosLoadModules('inset', -1); ?>
</div>
<?php } ?>
<?php if($menu_type != "module" || mosCountModules('toolbar')) { ?>
<div id="horizmenu">
<div id="nav">
<?php if ($menu_type == "module") mosLoadModules('toolbar'); ?>
<?php if ($menu_type == "suckerfish") mosShowListMenu($menu_name); ?>
</div>
</div>
<?php } ?>
<div id="mainbody">
<?php if ($show_pathway == "true") { ?>
<?php mosPathway(); ?>
<?php } ?>
<?php if (mosCountModules('user1') || mosCountModules('user2')) { ?>
<table class="controller" cellspacing="0" cellpadding="0">
<tr valign="top">
<?php if (mosCountModules('user1') && mosCountModules('user2')) { ?>
<td class="user1">
<?php mosLoadModules('user1', -2); ?>
</td>
<td class="user2">
<?php mosLoadModules('user2', -2); ?>
</td>
<?php } else { ?>
<td class="user1">
<?php mosLoadModules('user1', -2); ?>
<?php mosLoadModules('user2', -2); ?>
</td>
<?php } ?>
</tr>
</table>
<?php } ?>
<table class="controller" cellspacing="0" cellpadding="0">
<tr valign="top">
<td>
<div class="padding">
<?php mosMainbody(); ?>
</div>
</td>
<?php if($sidebar == "left" && mosCountModules('right')) { ?>
<td id="midleft" class="user2">
<?php mosLoadModules('right', -2); ?>
</td>
<?php } ?>
<?php if($sidebar == "right" && mosCountModules('left')) { ?>
<td id="midleft" class="user2">
<?php mosLoadModules('left', -2); ?>
</td>
<?php } ?>
</tr>
</table>
<?php if (mosCountModules('user3') || mosCountModules('user4')) { ?>
<table class="controller" cellspacing="0" cellpadding="0">
<tr valign="top">
<?php if (mosCountModules('user3') && mosCountModules('user4')) { ?>
<td class="user3">
<?php mosLoadModules('user3', -2); ?>
</td>
<td class="user4">
<?php mosLoadModules('user4', -2); ?>
</td>
<?php } else { ?>
<td class="user3">
<?php mosLoadModules('user3', -2); ?>
<?php mosLoadModules('user4', -2); ?>
</td>
<?php } ?>
</tr>
</table>
<?php } ?>
</div>
</td>
<?php if ($sidebar == "right" && mosCountModules('right')) { ?>
<td class="side right">
<?php mosLoadModules('right', -3); ?>
</td>
<?php } ?>
</tr>
<tr valign="top">
<?php if ($sidebar == "left" && mosCountModules('left')) { ?>
<td class="side leftbottom">
<div class="corner">
&nbsp;
</div>
</td>
<?php } ?>
<td class="thefoot">
<div class="corner">
<table class="controller even" cellspacing="0" cellpadding="0">
<tr valign="top">
<td class="rocket">
<a href="http://www.rockettheme.com/" title="RocketTheme Joomla Template Clubs"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/<?php echo $tstyle; ?>/rocket.png" border="0" alt="RocketTheme Joomla Templates" /></a>
</td>
<td class="footer">
<?php mosLoadModules('footer', -1); ?>
</td>
<?php if ($show_validators == "true") { ?>
<td class="xbuttons">
<a href="http://validator.w3.org/check?uri=<?php echo $mosConfig_live_site;?>" target="_new"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/<?php echo $tstyle; ?>/w3c_xhtml.png" border="0" alt="" /></a>
<a href="http://jigsaw.w3.org/css-validator/validator?profile=css2&amp;warning=2&amp;uri=<?php echo $mosConfig_live_site;?>/"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/<?php echo $tstyle; ?>/w3c_css.png" border="0" alt="" /></a>
</td>
<?php } ?>
</tr>
</table>
</div>
</td>
<?php if ($sidebar == "right" && mosCountModules('right')) { ?>
<td class="side rightbottom">
<div class="corner">
&nbsp;
</div>
</td>
<?php } ?>
</tr>
</table>
</div>
<?php mosLoadModules( 'debug', -1 );?>
</body>
</html>



kodları verdim yaparsanız memnun olurum

M.Enes AYDÜZ
31-03-2007, 20:56:09
burayı
$default_width = "thin"; // wide | thin
bu şekilde yap.
$default_width = "wide"; // wide | thin

JamainS
01-04-2007, 00:30:34
dostum saol oldu.. bi sorun çıkartma demy bu temada?? hem bütün temalara olurmu bu??

ayrıca güzel bi oyun teması varmı yawww

M.Enes AYDÜZ
01-04-2007, 00:44:38
Bir sorun çıkartmaz. Zaten temanın ek bir özelliğidir o.

just_imagine
04-11-2007, 13:59:06
bende width kısmında ındex.php de demodakı halınden ince durumda
ekstra yapılaması gereken varmı acaba bu konuda

bunyamin81
23-11-2007, 09:54:47
benim temamda bu kodlar yok
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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">
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$colspan = 0;
$right = 0;
// banner combos

//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
$colspan = 3;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
$user1 = 1;
$colspan = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
$user2 = 1;
$colspan = 1;
}

//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$right = 1;
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/freshgreenjl-01/css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body>

<div align="center">
<!--edit-->
<table border="0" cellpadding="0" cellspacing="0" width="850px">
<tr>
<td class="outline">
<!--begin header-->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<div id="header">
&nbsp;
</div>
</td>
</tr>
<tr>
<td>
<div id="buttons_outer">
<div id="buttons_inner">
<div id="buttons">
<?php mosLoadModules ( 'user3', -1); ?>
</div>
</div>
</div>
</td>
</tr>
</table>
</td><!--end header-->
</tr>
<tr>
<td class="outline">
<!--left column-->
<div id="left_outer">

<div id="left_inner">
<?php mosLoadModules ( 'left', -2 ); ?>
</div>

</div><!--end left-->

<!--center column-->
<div id="content_outer">
<div id="content_inner">
<?php
if ( mosCountModules ('banner') ) {
?>
<!--table border="1" cellpadding="0" cellspacing="0" width="510px" class="content_table">
<tr>
<td>
<div id="banner_inner">
<img src="<?php echo $mosConfig_live_site;?>/templates/freshgreenjl-01/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement" border="0" height="8" width="468" /><br />
<?php mosLoadModules( 'banner', -1 ); ?><br />
</div>
<div id="poweredby_inner">
<img src="<?php echo $mosConfig_live_site;?>/templates/freshgreenjl-01/images/powered_by.png" alt="powered_by.png, 1 kB" title="powered_by" border="0" height="68" width="170" /><br />
</div>
</td>
</tr>
</table-->
<?php
}
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
<tr valign="top">
<td width="99%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="content_table">
<tr>
<td colspan="<?php echo $colspan; ?>" height="10px">
</td>
</tr>
<tr>
<td colspan="<?php echo $colspan; ?>" class="body_outer">
<?php mosMainBody(); ?>
</td>
<td width="5px">
<img src="<?php echo $mosConfig_live_site;?>/templates/freshgreenjl-01/images/spacer.png" alt="" title="spacer" border="0" height="10" width="5px" />
</td>
</tr>
<tr>
<td colspan="<?php echo $colspan; ?>" height="10px">
</td>
</tr>
<?php
if ($colspan > 0) {
?>
<tr valign="top">
<?php
if ( $user1 > 0 ) {
?>
<td width="50%">
<div class="user1_inner">
<?php mosLoadModules ( 'user1', -2 ); ?>
</div>
</td>
<?php
}
if ( $colspan == 3) {
?>
<td width="2px">
<img src="<?php echo $mosConfig_live_site;?>/templates/freshgreenjl-01/images/spacer.png" alt="" title="spacer" border="0" height="10" width="2" />
</td>
<?php
}
if ( $user2 > 0 ) {
?>
<td width="50%">
<div class="user2_inner">
<?php mosLoadModules ( 'user2', -2 ); ?>
</div>
</td>
<?php
}
?>
</tr>
<tr>
<td colspan="<?php echo $colspan; ?>">
<img src="<?php echo $mosConfig_live_site;?>/templates/freshgreenjl-01/images/spacer.png" alt="" title="spacer" border="0" height="10px" width="100" /><br />
</td>
</tr>
<?php
}
?>
<!--tr>
<td colspan="<?php echo $colspan; ?>">
<div id="pathway_text">
<?php mosPathWay(); ?>
</div>
</td>
</tr-->
</table>
</td><!--end center-->
<?php
if ( $right > 0 ) {
?>
<!--right column-->
<td>
<div id="right_outer">

<div id="search_outer">
<div class="moduletable">
<h3>Arama</h3>
</div>
<div id="search_inner">
<?php mosLoadModules ( 'user4', -1 ); ?>
</div>
</div>

<div id="right_inner">
<?php mosLoadModules ( 'right', -2 ); ?>
</div>
</div>
</td><!--end right-->
<?php
}
?>
</tr>
<tr>
<td height="30px">
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
<tr>
<td id="footer" class="outline">
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
<?php mosLoadModules( 'debug', -1 );?>
</td>
</tr>
</table>
</div>
<?/*php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); */?>
<?/*php mosLoadModules( 'debug', -1 );*/?>
</body>
</html>