|
Code hữu ích sử dụng trong lập trình Joomla
|
|
30-12-2009, 08:42 PM
|
|||
|
|||
|
Code hữu ích sử dụng trong lập trình Joomla
Code: function write($the_string ) //Write to a log file for checking what has been doneSupport us
|
|||
|
30-12-2009, 11:33 PM
|
|||
|
|||
|
RE: Code hữu ích sử dụng trong lập trình Joomla
Đang xử lý code sized ảnh cho RSS Feed. Dự định là sized ảnh ngay khi xử lý text nhưng k0 ổn.
Giải pháp là sử dụng dạng On the fly như sau: Code: thumb_img.php?image_linkSupport us
|
|||
|
31-12-2009, 06:13 PM
|
|||
|
|||
|
RE: Code hữu ích sử dụng trong lập trình Joomla
Lấy Itemid hiện thời:
Code: $itemid = @JSite::getMenu()->getActive()->id; |
|||
|
01-01-2010, 04:07 PM
|
|||
|
|||
|
Code hữu ích sử dụng trong lập trình Joomla
Tham khảo từ: http://www.php.net/manual/en/function.pr....php#93694
Code này đã fixed 1 số lỗi khai báo biến. Code: <?phpTham khảo thêm: PHP: Parsing HTML to find Links http://www.the-art-of-web.com/php/parse-links/ http://www.the-art-of-web.com/php/ http://www.web-development-blog.com/arch...match_all/ Ultimate Regular Expression for HTML tag parsing with PHP Code: $regex = "/<\/?\w+((\s+(\w|\w[\w-]*\w)(\s*=\s*(?:\".*?\"|'.*?'|[^'\">\s]+))?)+\s*|\s*)\/?>/i";PHP function for cleaning up HTML and JavaSctipt code - year 2006 Code: <?phpSupport us
|
|||
|
03-01-2010, 07:12 PM
|
|||
|
|||
|
RE: Code hữu ích sử dụng trong lập trình Joomla
Khái niệm về LT trong Joomla:
http://www.mightyextensions.com/knowledg...t-mvc-ajax Kiểm tra host của 1and1.com http://links.1and1faqs.com/check_info.php5 Support us
|
|||
|
12-02-2010, 11:03 PM
|
|||
|
|||
|
RE: Code hữu ích sử dụng trong lập trình Joomla
Default youtube video thumbnail for video: http://www.youtube.com/watch?v=UpDtDsNJn...r_embedded - _http://www.youtube.com/watch?v=UpDtDsNJnSo&feature=player_embedded
is -_http://img.youtube.com/vi/UpDtDsNJnSo/default.jpgYou can get more at: http://www.bernzilla.com/item.php?id=848 |
|||
|
14-02-2010, 08:20 PM
|
|||
|
|||
|
RE: Code hữu ích sử dụng trong lập trình Joomla
List all of file with filetype in the directory.
Code: function listFiles( $from = '.', $filetype='mp3')Support us
|
|||
|
17-02-2010, 11:13 PM
|
|||
|
|||
|
RE: Code hữu ích sử dụng trong lập trình Joomla
Hiển thị cảnh báo trong Joomla: http://docs.joomla.org/Display_error_mes...nd_notices
Có thể ứng dụng để hiển thị các biến (giá trị, kiểu ...). Cách để track 1 biến là sử dụng hàm print_r. Để in sang dạng text, sử dụng câu lệnh: Code: <pre>Ứng dụng JDate: Code: JFactory::getDate()->toFormat('%a %d %b %Y - %H:%M'); |
|||
|
18-02-2010, 11:56 AM
|
|||
|
|||
|
RE: Code hữu ích sử dụng trong lập trình Joomla
Call a plugin/plugins in a module: - only for 'content'
Code: $articledata = JTable::getInstance('content'); //Get the tableĐã ứng dụng code trên để viết thành Joomla 1.5.x module. Download at here or at http://kulkul.xahoihoctap.net/kho-tai-li...info&id=19 Support us
|
|||
|
18-02-2010, 10:28 PM
|
|||
|
|||
|
RE: Code hữu ích sử dụng trong lập trình Joomla
Google Weather API: http://www.googleapihelp.com/2009/08/goo...r-api.html
Yahoo Weather API: http://developer.yahoo.com/weather/ Code xử lý file mp3: http://getid3.org/ và http://www.sourcerally.net/Scripts/20-PHP-MP3-Class Hợp tuyển các scripts: http://www.sourcerally.net/ Support us
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)


































![[Image: btn_donateCC_LG.gif]](https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif)


-_http://img.youtube.com/vi/UpDtDsNJnSo/default.jpg