Artio JOOMSEF Joomla SEF URLs by Artio yazısını kaldırma

Önce  “components/com_sef/joomsef.php” dosyasını buluyor ve editörümüzle açıyoruz.

Aşağıdaki kodları buluyoruz ;

$cacheBuf2 =

'PGRpdj48YSBocmVmPSJodHRwOi8vd3'.

'd3LmFydGlvLm5ldCIgc3R5bGU9ImZv'.

'bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX'.

'R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp'.

'bmxpbmU7IiB0aXRsZT0iV2ViIGRldm'.

'Vsb3BtZW50LCBKb29tbGEsIENNUywg'.

'Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2'.

'FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg'.

'U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC'.

'9kaXY+';


ve ;

$cacheBuf2 = ' ';

şeklinde değiştiriyoruz.

Veya benim uyguladığım yöntemi kullanabilirsiniz. Bu yöntemi kullanma sebebim , bu fonksiyonu gereksiz yere sistem kullanarak zaman ve yer israfını engellemek.

Yukarıdaki bulduğumuz kotun tamamını ve altndaki , bu komutu işleyen if sorgulamasını siliyoruz. Yani aşağıdaki kırmızıyla gösterilen tüm satırları siliyoruz.

function enabled(&$plugin)
    {
        $mainframe =& JFactory::getApplication();
       
        $cosi = 'file';
        $cosi = implode($cosi(JPATH_ROOT.DS.'administrator'.DS.'components'.DS.'com_sef'.DS.'sef.xml'));
        $cosi = md5($cosi);

        if ($mainframe->get('sef.global.meta', '') == $cosi) return true;
        else $plugin = $plugin;

        $doc =& JFactory::getDocument();
        $cacheBuf =& $doc->getBuffer('component');

       
$cacheBuf2 =
        '<div><a href="http://www.artio'.
        '.net" style="font-size: 8px; v'.
        'isibility: visible; display: i'.
        'nline;" title="Web development'.
        ', Joomla, CMS, CRM, Online sho'.
        'p software, databases">Joomla '.
        'SEF URLs by Artio</a></div>';

        if (JRequest::getCmd('format') != 'raw')
        $doc->setBuffer($cacheBuf . $cacheBuf2, 'component');


        return true;
    }