pusatdata

Tempat Menghapus Footer Com Jdownloads

Dec 8th, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. components/com_jdownloads/jdownloads.php
  2. baris 1835:
  3. $footer .= '<div style="text-align:center" class="jd_footer"><a href="http://www.jDownloads.com" target="_blank" title="www.jDownloads.com">'.JText::_('JLIST_PRODUCT_FOOTER').'</a><br />'.JText::_('JLIST_VERSION_FOOTER').'</div>';
  4.  
  5. ======================
  6.  
  7. Remove Powered by jDownloads Footer
  8.  
  9. jDownloads is free and most popular Joomla extension for managing files and Download system.
  10.  
  11. This tutorial works for jDownloads 1.9.0 version for Joomla 2.5.x and Joomla 3.x
  12.  
  13. To remove copyright footer message, open the folder components/com_jdownloads and edit the file jdownloads.php
  14.  
  15. Find (use ctrl+F) and remove the following lines of code:
  16.  
  17. $footer .= '<div style="text-align:center" class="jd_footer"><a href="http://www.jDownloads.com" target="_blank" title="www.jDownloads.com">'.$power.'</a></div>';
  18. For New jDownloads Version 3.2.x and Joomla 3.x.x,
  19.  
  20. To remove copyright footer message, you need to edit multiple files.
  21.  
  22. Open the folder components/com_jdownloads/views/categories/tmpl/ and edit the file default.php
  23.  
  24. Find (Use ctrl+F) the following lines of code (towards the very end of page):
  25.  
  26. $footer .= JDHelper::checkCom();
  27. Comment it like this:
  28.  
  29. // $footer .= JDHelper::checkCom();
  30. Repeat the steps for every default.php file in tmpl folder. For example, open components/com_jdownloads/views/category/tmpl/ and edit default.php in the same way as explained above.
  31.  
  32. For New jDownloads Version 3.2.x and Joomla 3.x.x, Simpler Method
  33.  
  34. To remove copyright footer message, in this method, you need to edit only one file.
  35.  
  36. Open the folder components/com_jdownloads/helpers/ and edit the file jdownloadshelper.php
  37.  
  38. Find (Use ctrl+F) the following lines of code:
  39.  
  40. if (strrev($jlistConfig['com'])
  41. ...
  42. ';}
  43. Comment it like this:
  44.  
  45. /***
  46. if (strrev($jlistConfig['com'])
  47. ...
  48. ';}
  49. **/
  50. I hope it works!
Add Comment
Please, Sign In to add comment