TAILIEUCHUNG - Thiết kế web với joomla 1.6(5).x part 54

Biết các phần của một mẫu Như đã nói trước đó, một mẫu được thực sự là một bộ sưu tập của các tập tin rằng làm việc cùng nhau. Trong phần này, tôi phác thảo các file cơ bản là cần thiết và vai trò của họ trong hệ thống. Lưu ý rằng một số mẫu có nhiều phức tạp hơn những người khác và có thể bao gồm một số lượng lớn của các tập tin bổ sung. | Chapter 20 Customizing Joomla Templates Knowing the Parts of a Template As noted earlier a template is actually a collection of files that work together. In this section I outline the basic files that are needed and their roles in the system. Note that some templates are more complex than others and may include a large number of additional files. The discussion of the default templates in the next section demonstrates the variance that can occur with various approaches to template design. Directory structure All front-end templates are kept inside the directory templates located at the root of the Joomla installation. All back-end templates are kept in administrator templates. Inside the appropriate directory each template will have its own directory names for the template. By way of example the default RHUK_Milkyway template s files are found at templates rhuk_ milkyway. Inside the individual template s directory you typically find A css directory containing the CSS files needed by the template An html directory containing overrides if any An images directory containing any images specifically needed by the template The template may also have other directories as defined by the template developer. The key files At a minimum a Joomla template includes the following files Each of these key files is discussed in detail in the following sections. The file has a very narrow and specific purpose it provides the display of printer-friendly pages. 509 Part IV Customizing and Extending the System Here are the contents of this file taken from the default RHUK_Milkyway template head jdoc include type head link rel stylesheet href php echo this- baseurl templates rhuk_milkyway css type text css php if this- direction rtl link rel stylesheet href php echo this- baseurl templates rhuk_milkyway css type text css php endif head body class

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.