Total Users Online: 0 üye, 214 guest | Tarih/Saat: 2026-09-22 09:31
 
Title de bir kac ayar
2010-03-20 10:58 GMT  oklu Alnt
Kaan

User is: Online status   Gender_M
Posts: 2772
Ülke: İstanbul - 34
Meslek: Serbest Meslek
Age: 43

This short hack will make sure the subtitles for your sites always come first and will give you very needed search engine optimization points over your competition...

To start open system/header.php and find the following lines:

Kod:
$out['fulltitle'] = $cfg['maintitle'];
$out['subtitle'] = (empty($out['subtitle'])) ? $cfg['subtitle'] : $out['subtitle'];
$out['fulltitle'] .= (empty($out['subtitle'])) ? '' : ' - '.$out['subtitle'];


Replace with:
Kod:
$out['subtitle'] = (empty($out['subtitle'])) ? $cfg['subtitle'] : $out['subtitle'];
$out['fulltitle'] .= $out['subtitle'].' - ' .$cfg['maintitle'];


Now you can also change the separator for the subtitle and the title, like this:

Kod:
$out['subtitle'] = (empty($out['subtitle'])) ? $cfg['subtitle'] : $out['subtitle'];
$out['fulltitle'] .= $out['subtitle'].' | ' .$cfg['maintitle'];



All done. Want to also optimize the forums? Alrighty

Open up system/core/forums/forums.posts.inc.php, find:
Kod:
$out['subtitle'] = $L['Forums']." - ".$fs_title;

Change to:
Kod:
$out['subtitle'] = $fs_title." | ".$L['Forums'];

Open up system/core/forums/forums.posts.inc.php, find:
Kod:
$out['subtitle'] = $L['Forums']." - ".sed_cc($ft_title);

And change to:
Kod:
$out['subtitle'] = sed_cc($ft_title)." | ".$L['Forums'];


And now we're really all done
Konuyla İlgili Diğer Başlıklar
Forum Title İcon Bbcode Text Core Hack
Jquery Tooltip (Jquery Title)
Site Title Bilgilerini Çekmek
title için yardım
Page Title
Emlak, Oto Galeri, Rent A Car, ?iir, Edebiyat Script Sipari?lerinizi Verebilirsiniz.
Detaylar ??in: kaan@ntka.org

Seditio 170 ?ndir
Capte M?zik ?ndir
Seditio Toolbar ?ndir

 

Powered by Seditio © 2009-2012 All Rights Reserved