Showing posts with label Remove. Show all posts
Showing posts with label Remove. Show all posts

Thursday, 24 November 2011

Bỏ header trong com_jdownload

Mở file component/com_jdownload/jdownload.php

Tìm đến dòng 76
Xóa " $page_title = $document->getTitle( 'title'); "
Chúc bạn thành công

CHÚ Ý:
CHỨC NĂNG FRONTEND CONFIGURATION -> Title to be used as header SẼ KHÔNG CÒN TÁC DỤNG

Tuesday, 1 November 2011

Remove Listbingo footer

administrator/components/com_listbingo/addons/system/sendmail.php
Delete dòng 145 - 151


?>

How to Remove Jcomments Footer Link

How to Remove Jcomments Footer Link

We know at the bottom of the jcomments box is the text Jcomments and it takes to http://www.joomlatune.com/, how to remove it?
Look in file tpl_index.php
\com_jcomments_v2.0.0.16\tpl\default\tpl_index.php

in the Line 56 displays the support variable (which is set elsewhere)


Either delete that line or comment-out that line.
That should remove the link display completely.

How to remove SOBI2 footer link

Find

mysite.com\components\com_sobi2\frontend.class.php

Find 454 line and 455 line

Replace 'P' . 'o' . 'w' . 'e' . 'r' . 'e' . 'd' . ' ' . 'b' . 'y' . ' ' . '<' . 'a ' . 'title' . '="' . 'S' . 'O' . 'B' . 'I' . '2' . ' - ' . 'J' . 'o' . 'o' . 'm' . 'l' . 'a' . ' ' . 'D' . 'i' . 'r' . 'e' . 'c' . 't' . 'o' . 'r' . 'y' . ' ' . 'C' . 'o' . 'm' . 'p' . 'o' . 'n' . 'e' . 'n' . 't' . '" h' . 'r' . 'e' . 'f="h' . 't' . 't' . 'p' . ':' . '/' . '/' . 'w' . 'w' . 'w' . '.' . 's' . 'i' . 'g' . 's' . 'i' . 'u' . '.n' . 'e' . 't/' . 's' . 'ob' . 'i2.ht' . 'ml' . '" ' . 't' . 'a' . 'rg' . 'et' . '="_' . 'b' . 'l' . 'a' . 'nk' . '">S' . 'i' . 'g' . 's' . 'i' . 'u.N' . 'E' . 'T'; = null;

You will see:
$h [0] = null;
$h [1] = null;

Remove joomsef footer 4.1.0

Mở file joomsef.php, tìm đến dòng 2320, thay thế từ dóng 2320 đến 2327 bằng code sau:
$cacheBuf2 = ' ';
Chúc bạn thành công

Remove ace sef footer

VỚI ACESEF 1.3.5
Go to and open file /administrator/components/com_acesef/classes/routertools.php
Tìm đến dòng 640
Xóa "5rIj5BY2VTRUY8L2E+PC9".


VỚI ACESEF 1.5.4
Go to and open file /administrator/components/com_acesef/library/uri.php
Tìm đến dòng 919, 913, 918, 919
Xóa "key"

VỚI ACESEF 1.5.5
Go to and open file /administrator/components/com_acesef/library/uri.php
Tìm đến dòng 1837
Xóa "key"

CHÚ Ý: CHỈ XÓA PHẦN TRONG NGOẶC ĐƠN

Cách khác, tìm đến key $BB, thêm code /*đầu dòng và code */ cuối dòng


Chúc bạn thành công

Remove footer jdownloads

Option 1 - Modify the component file
We need to open file with current path /site_root/components/com_jdownloads/jdownloads.php and comment out the code that generates the Powered By HTML.
Because of the old architecture, file has over 4,000 lines of code. You need to find line 2912 or so, I am using jDownloads 1.7.5 Stable Build 775. The line might be different depending on the version that you are using, but it will be around there...
You need to find the following code
1.
$b_link = JText::_('JLIST_PRODUCT_FOOTER');
2.
if ($b_link) {
3.
$footer .= '';
4.
}

and comment it out so it looks like this
1.
/*
2.
$b_link = JText::_('JLIST_PRODUCT_FOOTER');
3.
if ($b_link) {
4.
$footer .= '';
5.
}
6.
*/

Option 2 - Modify the language file for the Front-End

In option 1 you might noticed that there is a codition that checks is $b_link variable is set before adding Powered By text to the footer. To remove the Powered By text we need to set the JLIST_PRODUCT_FOOTER to empty string in the language file. In PHP empty string is evaluated to false and therefore will not fall into the condition to add Powered By text.
Open file located at /site_root/languages/en-GB/en-GB.com_jdownloads.ini
Find JLIST_PRODUCT_FOOTER around line 15
1.
JLIST_PRODUCT_FOOTER=Powered by jDownloa ds
and change it to
1.
JLIST_PRODUCT_FOOTER=

Do not comment JLIST_PRODUCT_FOOTER out because it will be translated to "JLIST_PRODUCT_FOOTER" which will evaluate to true and will display Powered By text. You have to set the value to empty.