SMF Forum için Admin Panelden Ayarlı Manşet Haber Modifikasyonu

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı D®agon

  • Ezberletmez Öğretir
  • *******
  • Join Date: Mar 2008
  • Yer: Ankara
  • 11656
  • +524/-0
  • Cinsiyet: Bay
    • Arif Hocam
SMF Header News - Admin Panelden Ayarlı Manşet Haber Modu

1.) .../Themes/default/BoardIndex.template.php

Aşağıdaki kodu bul:
Kod: You are not allowed to view links. Register or Login
    echo '
    <div id="boardindex_table">
        <table class="table_list">';

Altteki kodla değiştir:
Kod: You are not allowed to view links. Register or Login
    echo '
    <div id="boardindex_table">';
    if (!empty($settings['smf_header_news_show']))
            echo '
                <div class="cat_bar">
                    <h3 class="catbg">', $txt['header_news'], '</h3>
                </div>
       <table border="1" width="100%" style="border-width: 0px">   
        <tr>
            <td class="header_news_bg">
                 <img id="smf_header_news_1" src="'. $settings['smf_header_news_1_img'] . '" alt="news"  />                 
                 <img id="smf_header_news_2" src="'. $settings['smf_header_news_2_img'] . '" alt="news"  />
                 <img id="smf_header_news_3" src="'. $settings['smf_header_news_3_img'] . '" alt="news"  />
                 <img id="smf_header_news_4" src="'. $settings['smf_header_news_4_img'] . '" alt="news"  />
                 <img id="smf_header_news_5" src="'. $settings['smf_header_news_5_img'] . '" alt="news"  />                   
                    <img id="smf_header_news_6" src="'. $settings['smf_header_news_6_img'] . '" alt="news"  />               
                 <img id="smf_header_news_7" src="'. $settings['smf_header_news_7_img'] . '" alt="news"  />               
                 <img id="smf_header_news_8" src="'. $settings['smf_header_news_8_img'] . '" alt="news"  />                   
                    <img id="smf_header_news_9" src="'. $settings['smf_header_news_9_img'] . '" alt="news"  />               
                 <img id="smf_header_news_10" src="'. $settings['smf_header_news_10_img'] . '" alt="news"  />   
                 <img id="smf_header_news_11" src="'. $settings['smf_header_news_11_img'] . '" alt="news"  />                 
                 <img id="smf_header_news_12" src="'. $settings['smf_header_news_12_img'] . '" alt="news"  />
                 <img id="smf_header_news_13" src="'. $settings['smf_header_news_13_img'] . '" alt="news"  />
                 <img id="smf_header_news_14" src="'. $settings['smf_header_news_14_img'] . '" alt="news"  />
                 <img id="smf_header_news_15" src="'. $settings['smf_header_news_15_img'] . '" alt="news"  />                   
                    <img id="smf_header_news_16" src="'. $settings['smf_header_news_16_img'] . '" alt="news"  />               
                 <img id="smf_header_news_17" src="'. $settings['smf_header_news_17_img'] . '" alt="news"  />               
                 <img id="smf_header_news_18" src="'. $settings['smf_header_news_18_img'] . '" alt="news"  />                   
                    <img id="smf_header_news_19" src="'. $settings['smf_header_news_19_img'] . '" alt="news"  />               
                 <img id="smf_header_news_20" src="'. $settings['smf_header_news_20_img'] . '" alt="news"  />               
                 
            </td>
           
            <td class="header_news">
         
                <a title="go to the topic" href ="'. $settings['smf_header_news_1'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_1\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_1\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_1_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_2'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_2\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_2\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_2_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_3'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_3\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_3\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_3_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_4'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_4\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_4\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_4_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_5'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_5\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_5\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_5_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_6'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_6\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_6\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_6_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_7'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_7\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_7\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_7_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_8'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_8\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_8\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_8_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_9'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_9\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_9\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_9_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_10'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_10\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_10\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_10_title'] . '</a>
                         
            </td>   
           
            <td class="header_news">
         
                <a title="go to the topic" href ="'. $settings['smf_header_news_11'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_11\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_11\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_11_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_12'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_12\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_12\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_12_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_13'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_13\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_13\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_13_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_14'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_14\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_14\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_14_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_15'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_15\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_15\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_15_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_16'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_16\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_16\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_16_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_17'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_17\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_17\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_17_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_18'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_18\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_18\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_18_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_19'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_19\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_19\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_19_title'] . '</a><br />
               
                <a title="go to the topic" href ="'. $settings['smf_header_news_20'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_20\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_20\').style.visibility = \'hidden\';" > '. $settings['smf_header_news_20_title'] . '</a>
                         
            </td>                   
        </tr>
        </table>';
                echo '
        <table class="table_list">';

2.) .../Themes/default/Settings.template.php

Aşağıdaki kodu bul:
Kod: You are not allowed to view links. Register or Login
        array(
            'id' => 'additional_options_collapsable',
            'label' => $txt['additional_options_collapsable'],
        ),

Altına bunu ekle:
Kod: You are not allowed to view links. Register or Login
    '',
        array(
            'id' => 'smf_header_news_show',
            'label' => $txt['smf_header_news_show'],
        ),
        array(
            'id' => 'smf_header_news_1_title',
            'label' => $txt['smf_header_news_1_title'],
            'type' => 'text',
),           
        array(
            'id' => 'smf_header_news_1',
            'label' => $txt['smf_header_news_1'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_1_img',
            'label' => $txt['smf_header_news_1_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_2_title',
            'label' => $txt['smf_header_news_2_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_2',
            'label' => $txt['smf_header_news_2'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_2_img',
            'label' => $txt['smf_header_news_2_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_3_title',
            'label' => $txt['smf_header_news_3_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_3',
            'label' => $txt['smf_header_news_3'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_3_img',
            'label' => $txt['smf_header_news_3_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_4_title',
            'label' => $txt['smf_header_news_4_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_4',
            'label' => $txt['smf_header_news_4'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_4_img',
            'label' => $txt['smf_header_news_4_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_5_title',
            'label' => $txt['smf_header_news_5_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_5',
            'label' => $txt['smf_header_news_5'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_5_img',
            'label' => $txt['smf_header_news_5_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_6_title',
            'label' => $txt['smf_header_news_6_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_6',
            'label' => $txt['smf_header_news_6'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_6_img',
            'label' => $txt['smf_header_news_6_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_7_title',
            'label' => $txt['smf_header_news_7_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_7',
            'label' => $txt['smf_header_news_7'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_7_img',
            'label' => $txt['smf_header_news_7_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_8_title',
            'label' => $txt['smf_header_news_8_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_8',
            'label' => $txt['smf_header_news_8'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_8_img',
            'label' => $txt['smf_header_news_8_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_9_title',
            'label' => $txt['smf_header_news_9_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_9',
            'label' => $txt['smf_header_news_9'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_9_img',
            'label' => $txt['smf_header_news_9_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_10_title',
            'label' => $txt['smf_header_news_10_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_10',
            'label' => $txt['smf_header_news_10'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_10_img',
            'label' => $txt['smf_header_news_10_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_11_title',
            'label' => $txt['smf_header_news_11_title'],
            'type' => 'text',
),           
        array(
            'id' => 'smf_header_news_11',
            'label' => $txt['smf_header_news_11'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_11_img',
            'label' => $txt['smf_header_news_11_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_12_title',
            'label' => $txt['smf_header_news_12_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_12',
            'label' => $txt['smf_header_news_12'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_12_img',
            'label' => $txt['smf_header_news_12_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_13_title',
            'label' => $txt['smf_header_news_13_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_13',
            'label' => $txt['smf_header_news_13'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_13_img',
            'label' => $txt['smf_header_news_13_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_14_title',
            'label' => $txt['smf_header_news_14_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_14',
            'label' => $txt['smf_header_news_14'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_14_img',
            'label' => $txt['smf_header_news_14_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_15_title',
            'label' => $txt['smf_header_news_15_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_15',
            'label' => $txt['smf_header_news_15'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_15_img',
            'label' => $txt['smf_header_news_15_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_16_title',
            'label' => $txt['smf_header_news_16_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_16',
            'label' => $txt['smf_header_news_16'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_16_img',
            'label' => $txt['smf_header_news_16_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_17_title',
            'label' => $txt['smf_header_news_17_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_17',
            'label' => $txt['smf_header_news_17'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_17_img',
            'label' => $txt['smf_header_news_17_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_18_title',
            'label' => $txt['smf_header_news_18_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_18',
            'label' => $txt['smf_header_news_18'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_18_img',
            'label' => $txt['smf_header_news_18_img'],
            'type' => 'text',
),
        array(
            'id' => 'smf_header_news_19_title',
            'label' => $txt['smf_header_news_19_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_19',
            'label' => $txt['smf_header_news_19'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_19_img',
            'label' => $txt['smf_header_news_19_img'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_20_title',
            'label' => $txt['smf_header_news_20_title'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_20',
            'label' => $txt['smf_header_news_20'],
            'type' => 'text',
),   
        array(
            'id' => 'smf_header_news_20_img',
            'label' => $txt['smf_header_news_20_img'],
            'type' => 'text',
),                       


3.)   /Themes/default/languages/Modifications.english.php

Bul:
Kod: You are not allowed to view links. Register or Login
?>
Üstüne ekle:
Kod: You are not allowed to view links. Register or Login
$txt['smf_header_news_show'] = 'Header news show';
$txt['smf_header_news_1_title'] = 'Enter the first news title';
$txt['smf_header_news_1'] = 'Enter the first news link';
$txt['smf_header_news_1_img'] = 'Enter the first news image';
$txt['smf_header_news_2_title'] = 'Enter the title of the second news';
$txt['smf_header_news_2'] = 'Enter the second news link';
$txt['smf_header_news_2_img'] = 'Enter the second news image';
$txt['smf_header_news_3_title'] = 'Enter the title of the thirt news';
$txt['smf_header_news_3'] = 'Enter the thirt news link';
$txt['smf_header_news_3_img'] = 'Enter the thirt news image';
$txt['smf_header_news_4_title'] = 'Enter the title of the fourth news';
$txt['smf_header_news_4'] = 'Enter the fourth news link';
$txt['smf_header_news_4_img'] = 'Enter the fourth news image';
$txt['smf_header_news_5_title'] = 'Enter the title of the fifth news';
$txt['smf_header_news_5'] = 'Enter the fifth news link';
$txt['smf_header_news_5_img'] = 'Enter the fifth news image';
$txt['smf_header_news_6_title'] = 'Enter the title of the sixth news';
$txt['smf_header_news_6'] = 'Enter the sixth news link';
$txt['smf_header_news_6_img'] = 'Enter the sixth news image';
$txt['smf_header_news_7_title'] = 'Enter the title of the seventh news';
$txt['smf_header_news_7'] = 'Enter the seventh news link';
$txt['smf_header_news_7_img'] = 'Enter the seventh news image';
$txt['smf_header_news_8_title'] = 'Enter the title of the eighth news';
$txt['smf_header_news_8'] = 'Enter the eighth news link';
$txt['smf_header_news_8_img'] = 'Enter the eighth news image';
$txt['smf_header_news_9_title'] = 'Enter the title of the ninth news';
$txt['smf_header_news_9'] = 'Enter the ninth news link';
$txt['smf_header_news_9_img'] = 'Enter the ninth news image';
$txt['smf_header_news_10_title'] = 'Enter the title of the tenth news';
$txt['smf_header_news_10'] = 'Enter the tenth news link';
$txt['smf_header_news_10_img'] = 'Enter the tenth news image';
$txt['smf_header_news_11_title'] = 'Enter the title of the twelfth news';
$txt['smf_header_news_11'] = 'Enter the eleventh news link';
$txt['smf_header_news_11_img'] = 'Enter the eleventh news image';
$txt['smf_header_news_12_title'] = 'Enter the title of the twelfth news';
$txt['smf_header_news_12'] = 'Enter the twelfth news link';
$txt['smf_header_news_12_img'] = 'Enter the twelfth news image';
$txt['smf_header_news_13_title'] = 'Enter the title of the thirteenth news';
$txt['smf_header_news_13'] = 'Enter the thirteenth news link';
$txt['smf_header_news_13_img'] = 'Enter the thirteenth news image';
$txt['smf_header_news_14_title'] = 'Enter the title of the fourteenth news';
$txt['smf_header_news_14'] = 'Enter the fourteenth news link';
$txt['smf_header_news_14_img'] = 'Enter the fourteenth news image';
$txt['smf_header_news_15_title'] = 'Enter the title of the fifteenth news';
$txt['smf_header_news_15'] = 'Enter the fifteenth news link';
$txt['smf_header_news_15_img'] = 'Enter the fifteenth news image';
$txt['smf_header_news_16_title'] = 'Enter the title of the sixteenth news';
$txt['smf_header_news_16'] = 'Enter the sixteenth news link';
$txt['smf_header_news_16_img'] = 'Enter the sixteenth news image';
$txt['smf_header_news_17_title'] = 'Enter the title of the seventeenth news';
$txt['smf_header_news_17'] = 'Enter the seventeenth news link';
$txt['smf_header_news_17_img'] = 'Enter the seventeenth news image';
$txt['smf_header_news_18_title'] = 'Enter the title of the eighteenth news';
$txt['smf_header_news_18'] = 'Enter the eighteenth news link';
$txt['smf_header_news_18_img'] = 'Enter the eighteenth news image';
$txt['smf_header_news_19_title'] = 'Enter the title of the nineteenth news';
$txt['smf_header_news_19'] = 'Enter the nineteenth news link';
$txt['smf_header_news_19_img'] = 'Enter the nineteenth news image';
$txt['smf_header_news_20_title'] = 'Enter the title of the early twentieth news';
$txt['smf_header_news_20'] = 'Enter the early twentieth news link';
$txt['smf_header_news_20_img'] = 'Enter the early twentieth news image';
$txt['header_news'] = 'Header News';

4.)  .../Themes/default/languages/Modifications.turkish.php

bul:
Kod: You are not allowed to view links. Register or Login
?>
Üstüne Ekle:
Kod: You are not allowed to view links. Register or Login
$txt['smf_header_news_show'] = 'Manşet haberleri göster';
$txt['smf_header_news_1_title'] = '1. haberin başlığını giriniz';
$txt['smf_header_news_1'] = '1. haberin linkini giriniz';
$txt['smf_header_news_1_img'] = '1. habere ait resimin urlsini giriniz';
$txt['smf_header_news_2_title'] = '2. haberin başlığını giriniz';
$txt['smf_header_news_2'] = '2. haberin linkini giriniz';
$txt['smf_header_news_2_img'] = '2. habere ait resimin urlsini giriniz';
$txt['smf_header_news_3_title'] = '3. haberin başlığını giriniz';
$txt['smf_header_news_3'] = '3. haberin linkini giriniz';
$txt['smf_header_news_3_img'] = '3. habere ait resimin urlsini giriniz';
$txt['smf_header_news_4_title'] = '4. haberin başlığını giriniz';
$txt['smf_header_news_4'] = '4. haberin linkini giriniz';
$txt['smf_header_news_4_img'] = '4. habere ait resimin urlsini giriniz';
$txt['smf_header_news_5_title'] = '5. haberin başlığını giriniz';
$txt['smf_header_news_5'] = '5. haberin linkini giriniz';
$txt['smf_header_news_5_img'] = '5. habere ait resimin urlsini giriniz';
$txt['smf_header_news_6_title'] = '6. haberin başlığını giriniz';
$txt['smf_header_news_6'] = '6. haberin linkini giriniz';
$txt['smf_header_news_6_img'] = '6. habere ait resimin urlsini giriniz';
$txt['smf_header_news_7_title'] = '7. haberin başlığını giriniz';
$txt['smf_header_news_7'] = '7. haberin linkini giriniz';
$txt['smf_header_news_7_img'] = '7. habere ait resimin urlsini giriniz';
$txt['smf_header_news_8_title'] = '8. haberin başlığını giriniz';
$txt['smf_header_news_8'] = '8. haberin linkini giriniz';
$txt['smf_header_news_8_img'] = '8. habere ait resimin urlsini giriniz';
$txt['smf_header_news_9_title'] = '9. haberin başlığını giriniz';
$txt['smf_header_news_9'] = '9. haberin linkini giriniz';
$txt['smf_header_news_9_img'] = '9. habere ait resimin urlsini giriniz';
$txt['smf_header_news_10_title'] = '10. haberin başlığını giriniz';
$txt['smf_header_news_10'] = '10. haberin linkini giriniz';
$txt['smf_header_news_10_img'] = '10. habere ait resimin urlsini giriniz';
$txt['smf_header_news_11_title'] = '11. haberin başlığını giriniz';
$txt['smf_header_news_11'] = '11. haberin linkini giriniz';
$txt['smf_header_news_11_img'] = '11. habere ait resimin urlsini giriniz';
$txt['smf_header_news_12_title'] = '12. haberin başlığını giriniz';
$txt['smf_header_news_12'] = '12. haberin linkini giriniz';
$txt['smf_header_news_12_img'] = '12. habere ait resimin urlsini giriniz';
$txt['smf_header_news_13_title'] = '13. haberin başlığını giriniz';
$txt['smf_header_news_13'] = '13. haberin linkini giriniz';
$txt['smf_header_news_13_img'] = '13. habere ait resimin urlsini giriniz';
$txt['smf_header_news_14_title'] = '14. haberin başlığını giriniz';
$txt['smf_header_news_14'] = '14. haberin linkini giriniz';
$txt['smf_header_news_14_img'] = '14. habere ait resimin urlsini giriniz';
$txt['smf_header_news_15_title'] = '15. haberin başlığını giriniz';
$txt['smf_header_news_15'] = '15. haberin linkini giriniz';
$txt['smf_header_news_15_img'] = '15. habere ait resimin urlsini giriniz';
$txt['smf_header_news_16_title'] = '16. haberin başlığını giriniz';
$txt['smf_header_news_16'] = '16. haberin linkini giriniz';
$txt['smf_header_news_16_img'] = '16. habere ait resimin urlsini giriniz';
$txt['smf_header_news_17_title'] = '17. haberin başlığını giriniz';
$txt['smf_header_news_17'] = '17. haberin linkini giriniz';
$txt['smf_header_news_17_img'] = '17. habere ait resimin urlsini giriniz';
$txt['smf_header_news_18_title'] = '18. haberin başlığını giriniz';
$txt['smf_header_news_18'] = '18. haberin linkini giriniz';
$txt['smf_header_news_18_img'] = '18. habere ait resimin urlsini giriniz';
$txt['smf_header_news_19_title'] = '19. haberin başlığını giriniz';
$txt['smf_header_news_19'] = '19. haberin linkini giriniz';
$txt['smf_header_news_19_img'] = '19. habere ait resimin urlsini giriniz';
$txt['smf_header_news_20_title'] = '20. haberin başlığını giriniz';
$txt['smf_header_news_20'] = '20. haberin linkini giriniz';
$txt['smf_header_news_20_img'] = '20. habere ait resimin urlsini giriniz';
$txt['header_news'] = 'Manşet Haberler';

5.)  .../Themes/default/css/index.css

En alta aşağıdaki kodu ekleyin:
Kod: You are not allowed to view links. Register or Login
.header_news_bg
{
    background: #ffffff url(../images/header-news.png) no-repeat;
    background-position:center 1px;
    width: 290px;
    height: 230px;   
    border: none;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align:text-top;
}
.header_news_bg img
{
    height: 220px;
    width: 280px;
    border: 1px solid #9B9B9B;
    visibility:hidden;
    position:absolute;
    padding-top:0px;
    height:220px;
    width:280px;   
}
.header_news
{
    font-size: 14px;
    line-height: 150%;
    border: none;
 
}


6.) header-news.png isimli bir resimi default temanın ve kullandığınız temanın images klasörüne atın.

7.) Modu eksiksiz kurup yönetim panelinden aktif etmeyi unumayın.



Çevrimdışı D®agon

  • Ezberletmez Öğretir
  • *******
  • Join Date: Mar 2008
  • Yer: Ankara
  • 11656
  • +524/-0
  • Cinsiyet: Bay
    • Arif Hocam
SMF Forum için Admin Panelden Ayarlı Manşet Haber Modifikasyonu
« Yanıtla #1 : 18 Ocak 2014, 12:41:18 »
Ufak Değişiklikler:

İlk konu resmi gözüksün diyorsanız:

index.css dosyasında aşağıdaki kodu bulun:

Kod: You are not allowed to view links. Register or Login
background: #ffffff url(../images/header-news.png) no-repeat;
../images/header-news.png yazan yeri silip ilk habere ait resim url'si ile değiştirin.