Bài đăng

Hiển thị các bài đăng có nhãn CodeJoomla

Joomla! Template for Beginners

Check out this SlideShare Presentation: Joomla! Template for Beginners View more presentations from Slashes & Dots Sdn Bhd .

Joomla 1.6 Overview

Check out this SlideShare Presentation: Joomla 1.6 Overview View more presentations from nvtech .

very nice Template for joomla v1.5

Hình ảnh
Some temp many people interested in 2009 Templates Demo: http://demo.rockettheme.com/jan09/ http://demo.gavickpro.serwery.pl/joomla15/jan2009/ http://template15.joomlart.com/ja_cooper/ http://demo.templateplazza.net/freelance_plazza/ http://demo.yootheme.com/feb09/ http://demo.rockettheme.com/feb09/ http://template15.joomlart.com/ja_quartz/ http://praise.joomlapraise.com/ http://estate.joomlapraise.com/ http://www.shape5.com/demo/new_architect/ http://www.joomlajunkie.com/dark-rational/ http://demo.icetheme.com/index.php?template=it_newsy http://demo.icetheme.com/index.php?template=it_motion http://demo.icetheme.com/index.php?template=it_together http://www.shape5.com/demo/city_portal/ http://demo.gavickpro.serwery.pl/joomla15/dec2008/ download here: http://www.mediafire.com/?e49coio01jn password unrar: vnfreezone.com

Chỉnh joomla sử dụng mail google để gửi thư

Đầu tiên các bạn mở trang quản trị, mở mục "Global Configuration" và chọn tab "Server", sau đó tìm phần "Mail Settings" và cấu hình như sau: * Mailer: SMTP Server * Mail From: Địa chỉ thư của bạn * From Name: Tiêu đề thư * SMTP Authentication: Yes * SMTP Security: SSL * SMTP Port: 465 * SMTP Username: Your Gmail username * SMTP Password: Your Gmail password * SMTP Host: smtp.gmail.com

Tạo component cho Joomla! 1.5

Ví dụ tạo một component review cấu trúc thư mục như bên dưới: administrator\components\com_reviews -> chứa các thành phần Back End components\com_reviews -> chứa các thành phần Front End tạo một file  components\com_reviews\reviews.php <?php defined( '_JEXEC' ) or die( 'Restricted access' ); echo ' Front End KCN Reviews '; ?> bạn xem kết quả ở "Front End" bằng cách sử dụng link sau: http://localhost/root/index.php?option=com_reviews tiếp theo tạo một file  administrator/components/com_reviews/admin.reviews.php <?php defined( '_JEXEC' ) or die( 'Restricted access' ); echo ' Back End KCN Reviews '; ?> bạn xem kết quả bằng cách sử dụng link sau: http://localhost/root/administrator/index.php?option=com_reviews Đăng ký thành phần với database sử dụng câu lệnh sau(nhớ thay jos_ phù hợp với database của bạn nhé): INSERT INTO jos_components (name, link, admin_menu_link, admin_menu_alt, 'op...

Hướng dẫn cài đặt Community Builder 1.2

Community Builder là một trong những Extensions lâu đời, có từ thời Mambo (tiền thân của Joomla ngày hôm nay), sở dĩ Community Builder được nhiều người sử dụng là do khả năng mở rộng được các tính năng mà Joomla! chưa cung cấp hoặc cung cấp chưa đầy đủ như: - Tạo các field người dùng tùy biến (mặc định Joomla chỉ có các field chủ yếu như username, email, password ). - Cho phép xây dựng các trang mạng cộng đồng ở quy mô nhỏ, hỗ trợ quản lý thành viên tốt hơn. Đi kèm với Community Builder là rất nhiều add-on cho phép bạn tùy biến trang Joomla của mình nhằm thu hút được nhiều thành viên hơn, Communiy Builder đã và đang xứng đáng với vị trí trụ cột trong làng Extension cho Joomla! Để có thể cài đặt Community Builder, vui lòng làm theo các bước sau đây Tải Community Builder 1.2 RC 4 tại http://www.joomlapolis.com/ Giải nén các bạn sẽ được 8 file: 1. cb_expert_files_only_j_1.5.tar 2. cb_expert_files_only_m_4_j_1.0.tar 3. com_comprofiler.zip 4. mod_cblogin.zip 5. mod_com...

Tạo Module Hello World cho Joomla! 1.5

Module là một extension rất nhẹ và mềm dẻo được sử dụng để render nên trang web. Chúng được sử dụng cho trang có kích thước nhỏ, ít phức tạp và có thể được xem từ nhiều component khác nhau. Bạn có thể thấy nhiều ví dụ về module trong bản cài đặt Joomla! chuẩn như: -Menus -Latest News -Login form -và nhiều cái khác nữa. Bài viết này sẽ hướng dẫn bạn cách tạo ra một module Hello World đơn giản. Xuyên suốt bài viết này bạn sẽ học được cấu trúc cơ bản của một module. Tất nhiên, bạn hoàn toàn có thể mở rộng cấu trúc cơ bản này để tạo ra các module phức tạp hơn theo ý mình. Cấu trúc tập tin Có 4 file cơ bản được dùng trong mẫu tiêu chuẩn của việc phát triển module: •mod_helloworld.php – File này là điểm vào chính cho module. Nó sẽ thực hiện những khởi tạo cần thiết, gọi các helper để thu thập mọi dữ liệu cần thiết, và include template hiển thị đầu ra của module. •mod_helloworld.xml – File này chứa thông tin về module. Nó định nghĩa ra các files cần thiết để cài đặt từ trình cài đặt...

www.webdesign.org

My Code: detail here http://www.webdesign.org/html-and-css/tutorials/spanable-content-box-slicing-coding.12847.html

Tổng hợp các sách học Joomla

Thiết kế template Joomla: Download tại đậy Xây dựng website với Joola 1.5: Download tại đậy Pro Joomla: Download tại đậy Beginning Joomla: Download tại đậy Learning joomla extension development creating modules components and plugins: Download tại đậy Make template joomla: Download tại đậy Mastering Joomla 1.5 Extension and Framework: Download tại đậy

Về Joomla 1.5.xxx

http://vinaora.com/joomla/joomla-nang-cao/155-thay-doi-thu-muc-chua-anh.html http://www.joomla.org Code hay Đối với Joomla! 1.5 Mở file "/templates/your-template/index.php" và thay đoạn mã hiển thị mainbody <jdoc:include type="component" /> bằng đoạn mã dưới đây <?php if( JRequest::getVar( 'view' ) == 'frontpage' ) { ?> // bạn đang ở trang chủ // thực hiện bất cứ công việc gì mà bạn muốn <?php } else { ?> // bạn không còn ở trang chủ // hiển thị mainbody như bình thường <jdoc:include type="component" /> <?php } ?> http://www.myjoomlaguide.com/blog/joomla-advantages/305 http://www.diendantinhoc.vn/forumdisplay.php?f=103 Blank Joomla! 1.5 Template http://www.howtojoomla.net/component/option,com_docman/task,doc_download/gid,4/Itemid,26/ http://www.howtojoomla.net/2008040384/how-tos/templates/blank-joomla-15-template

www.joomladesign.info

http://www.joomladesign.info/3-column-template/3-column-template.html

Thiết kế Website (For OV-CLUB)

Quy Trình Thiết kế Website Bước 1: Khách hàng có nhu cầu thiết kế website Bước 2: Thu thập thông tin & tư vấn cho khách hàng • Tư vấn cho khách hàng những vấn đề về website, và làm thế nào để có một website hoàn hảo • Tìm hiểu yêu cầu thực tế của khách hàng. • Xác nhận các yêu cầu của khách hàng về website và các thông tin khách hàng cung cấp. Bước 3:Phân tích thiết lập sitemap & giải pháp cho website • Dựa vào những thông tin và yêu cầu thiết kế của khách hàng, phân tích rõ ràng mục đích, yêu cầu, nguyện vọng ... của khàch hàng. • Lập kế hoạch thực hiện dự án • Căn cứ trên kết quả khảo sát, thông tin do khách hàng cung cấp thiết lập cấu trúc cho Website và thiết kế chung cho toàn hệ thống. Bước 4: Tiến hành ký hợp đồng thiết kế website Bước ký hợp đồng được thực hiện khi đã đạt được thỏa thuận với khách hàng. Nội dung của hợp đồng xác định rõ các thông tin về: • Nội dung và cấu trúc của Website. • Thời gian thực hiện. • Giá thiết kế , Hosting , domain name (nếu có) ... Bước 5:...

Utility function for writing a menu link in Joomla

&lt ?php /*** Utility function for writing a menu link */ function mosGetMenuLink( $mitem, $level=0, &$params, $open=null ) { global $Itemid, $mosConfig_live_site, $mainframe; $txt = ''; $image_link = 0; switch ($mitem->type) { case 'separator': case 'component_item_link': break; case 'url': if ( eregi( 'index.php\?', $mitem->link ) ) { if ( !eregi( 'Itemid=', $mitem->link ) ) { $mitem->link .= '&Itemid='. $mitem->id; } } break; case 'content_item_link': case 'content_typed': // load menu params $menuparams = new mosParameters( $mitem->params, $mainframe->getPath( 'menu_xml', $mitem->type ), 'men...

Model-View-Controller Component - Part 1

Model-View-Controller Component - Part 1 Introduction The new framework in Joomla! 1.5 unleashes a great deal of power for developers. The code has been completely overhauled and cleaned up. This tutorial will guide you through the process of developing a component using this new framework. The scope of this project will be to develop a simple Hello World! component. In future tutorials, this simple framework will be built upon to show the full power and versatility of the MVC design pattern in Joomla! Requirements You need Joomla! 1.5 or greater for this tutorial. Introduction to Model-View-Controller While the idea behind a component may seem extremely simple, code can quickly become very complex as additional features are added or the interface is customized. Model-View-Controller (herein referred to as MVC) is a software design pattern that can be used to organize code in such a way that the business logic and data presentation are separate. The premise behind this approach is that...

Model-View-Controller Component - Part 2 - Adding a Model

Model-View-Controller Component - Part 2 - Adding a Model Introduction In the first tutorial of this series, creating a simple view-controller component using the Joomla! 1.5 CMS framework was demonstrated. In the first tutorial, the greeting was hardcoded into the view. This doesn’t follow the MVC pattern exactly because the view is intended to only display the data, and not contain it. In this second part of the tutorial we will demonstrate how to move this out of the view and into a model. In future tutorials we will demonstrate the power and flexibility that this design pattern provides. Creating the Model The concept of model gets its name because this class is intended to represent (or ‘model’) some entity. In our case, our first model will represent a ‘hello’, or a greeting. This is in line with our design thus far, because we have one view (’hello’), which is a view of our greeting. The naming convention for models in the Joomla! framework is that the class name starts with the...

Model-View-Controller Component - Part 3 - Using the Database

Model-View-Controller Component - Part 3 - Using the Database Introduction In the first two tutorials, we showed you how to build a simple model-view-controller component. We had one view which retrieved data from a model (which was created in the 2nd tutorial). In this tutorial, we will be working with the model. Instead of the data being hard coded in the model, the model will retrieve the data from a table in the database. This tutorial will demonstrate how to use the JDatabase class to retrieve data from the database. Retrieving the Data Our model currently has one method: getGreeting(). This method is very simple - all it does is return the hard-coded greeting. To make things more interesting, we will load the greeting from a database table. We will demonstrate later how to create an SQL file and add the appropriate code to the XML manifest file so that the table and some sample data will be created when the component is installed. For now, we will simply replace our return statem...

Model-View-Controller Component - Part 4 Creating an Administrator Interface

an Administrator Interface Introduction In the first three tutorials, we have developed a MVC component that retrieves its data from a table in the database. Currently, there is no way to add data to the database except to do it manually using another tool. In this tutorial, we will develop an administrator section for our component which will make it possible to manage the entries in the database. Creating the Basic Framework The basic framework of the administrator panel is very similar to the site portion. The main entry point for the administrator section of the component is admin.hello.php. This file is identical to the hello.php file that was used in the site portion except the name of the controller it loads will be changed to HellosController. The default controller is also called controller.php and this file is identical to the default controller in the site portion, with the exception that the controller is named HellosController instead of HelloController. This difference is...

How to use the database classes in your script

Joomla provides a sopisticated database abstraction layer to simplify the usage for 3PD. This guide should help you using this layer. 1. Why should I use the Joomla database class? Joomla is build to be able to use several different kinds of SQL-database-systems and to run in a variety of environments with different table-prefixes. In addition to these functions, the class automatically creates the database connection. Besides instantiating the object, you only need 2 lines of code to get a result from the database and that in a variety of formats. Using the Joomla database layer ensures a maximum of compatibility and flexibility for your extension. 2. Preparating the query Database usage // Get a database object $db = JFactory::getDBO(); $query = "SELECT * FROM #__example_table WHERE id = 999999"; $db->setQuery($query); First we instantiate the database object, then we prepare the query. You can use the normal SQL-syntax, the only thing you have to change is the table-pre...

Calling different scripts in Joomla

Now we’ve changed a lot of our database and variable-retrieving code, but we still don’t know how to properly call our different script-files our former script consists of.If you have more than just one file in your script, you seem to have a problem calling those inside of Joomla. Joomla uses a case switching for this: Case switching for multiple scripts // no direct access defined( '_VALID_MOS' ) or die( 'Restricted access' ); require_once( $mainframe->getPath( 'front_html' ) ); $task = mosGetParam( $_REQUEST, 'task', 'view' ); switch ($task) { case 'edit': include('edit.php'); break; case 'save': include('save.php'); break; case 'view': default: include('view.php'); break; } ?> As you can see, we first read the value of the POST-variable “task” and then differentiate between the different tasks at hand. When we find our correct task, we link to the file with the corr...