Tarih: 2006-12-26, 04:12:05 Mesaj konusu: Sağ Üstteki "Konular" yazan yer
Merhaba Arkadaşlar
Yeni bir tema düzenliyorum ancak bir sorun var.
Temanın sağ üstünde yer alan (konu bölümlerini gösteren -Topics) kutucuğu fare ile açıp herhangi bir bölüme tıkladığım zaman hata veriyor. Galiba Tema kullandığım sürüm ile uyuşmuyor ama ben o bölümü ya oradan kaldırmak istiyorum ya da düzeltmek.
Bu düzenleme hangi dosyadan ve hani kod ile oluyor acaba?
Tarih: 2006-12-26, 20:43:36 Mesaj konusu: Re: Sağ Üstteki "Konular" yazan yer
Büyük ihtimalle bahsettiğiniz dosya header.html dir eger temanızın header dosyasının kodlarını buraya yazar yada dosyayı bize bir mail atarsanız düzenleme yapılıp size iletilecektir. İyi çalışmalar
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
/************************************************************/
/* FormatStory */
/* */
/* Here we'll format the look of the stories in our site. */
/* If you dig a little on the function you will notice that */
/* we set different stuff for anonymous, admin and users */
/* when displaying the story. */
/************************************************************/
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
function themeheader() {
global $user, $banners, $sitename, $slogan, $c o o k i e, $prefix;
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#ffffff\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">\n";
if ($banners) {
include("banners.php");
}
echo "<br>\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"780\" border=\"0\" align=\"center\" bgcolor=\"#91C6EE\">\n"
."<tr>\n"
."<td bgcolor=\"#91C6EE\">\n"
."<a href=\"index.php\"><img src=\"themes/Vision/images/logo.gif\" align=\"left\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
."<td bgcolor=\"#91C6EE\" align=\"right\">\n"
."<form action=\"modules.php?name=Search\" method=\"post\"><font class=\"content\" color=\"#000000\"><b>".translate("Ara")." </b>\n"
."<input type=\"text\" name=\"query\" size=\"14\"></font></form></td>\n"
."<td bgcolor=\"#91C6EE\" align=\"right\">\n"
."<form action=\"modules.php?name=Search\" method=\"get\"><font class=\"content\"><b>".translate("Konular")." </b>\n";
$toplist = mysql_query("select topicid, topictext from $prefix"._topics." order by topictext");
echo "<select name=\"topic\"onChange='submit()'>\n"
."<option value=\"\">".translate("Tüm Konular")."</option>\n";
while(list($topicid, $topics) = mysql_fetch_row($toplist)) {
if ($topicid==$topic) { $sel = "selected "; }
echo "<option $sel value=\"$topicid\">$topics</option>\n";
$sel = "";
}
echo "</select></font></form></td>\n"
."</tr></table>\n"
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************************/
function themefooter() {
global $index;
if ($index == 1) {
echo "</td><td><img src=\"themes/Vision/images/pixel.gif\" width=\"5\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
."<td background=\"themes/Vision/images/column-bg.gif\" valign=\"top\" width=\"150\">\n";
blocks(right);
}
echo "</td>\n"
."</tr></table>\n"
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
Sakal,
YARDIMınız için teşekkür ederim. O bölümden sadece "Konular" (Topics) bölümünü kaldırmak istiyorum. Hani kutucuğun içinde "Tüm Konular" yazıyor ya...
Tam olarak hangi kodu silmem lazım. Birkaç kez bazılarını sildim ama hep hata veriyor.
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız