- INSTANT Premium Drupal Themes
- Pankaj Sharma
- 832字
- 2021-07-23 15:06:09
Preface
This book will describe the relevant steps used to create Drupal themes from raw HTML in a simple and lucid manner and save the energy and time wasted in irrelevant tasks.
What this book covers
Understanding Drupal jargon, covers the commonly used Drupal terminologies that are essential for theme development in Drupal. The heart of Drupal themes and theme engines will also be explained in this chapter.
Understanding Drupal's theme structure (Simple), covers the names of Drupal templates and pages and their meaning/work. Drupal's default themes will be explained here.
Configuring raw HTML in the Drupal environment (Simple), explains how an HTML file is configured in the Drupal environment using the knowledge acquired in the preceding two sections.
Breaking down HTML in parts (Intermediate), explains how to break down HTML regions of Drupal theme such as header, footer, and content.
Populating the Drupal theme with dynamic content (Advanced), explains the prerequisites to use Drupal template variables and how to use them.
Theme how tos (Advanced), introduces the commonly used code in Drupal theme development, which will save lot of time and energy.
What you need for this book
To run the examples in the book, the following software will be required:
- XAMPP or WAMP: http://www.apachefriends.org/en/xampp-windows.html
- Drupal: https://drupal.org/download
Who this book is for
This book is useful for developers who are new to Drupal. It's assumed that you have some experience in HTML,PHP, and CSS .Readers are expected to have the PHP (LAMP/WAMP) environment ready and working to install Drupal. It is assumed that the user is aware how to install Drupal. A little bit of familiarity with CMS is also expected from the user. Rest of the things have been taken care of in the book.
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "Go to your theme's .info
file."
A block of code is set as follows:
Code [<?php if (!$page) { print "<h2><a href=\"$node_url\">$title</a></h2>"; } if ($submitted) { print "<span class=\"submitted\">$submitted</span>"; } ?>]
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on the Clear all caches button located at Administration | Configuration | Development | Performance."
Note
Warnings or important notes appear in a box like this.
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to <feedback@packtpub.com>
, and mention the book title via the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
Downloading the example code
You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
Piracy
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <copyright@packtpub.com>
with a link to the suspected pirated material.
We appreciate your help in protecting our authors, and our ability to bring you valuable content.
Questions
You can contact us at <questions@packtpub.com>
if you are having a problem with any aspect of the book, and we will do our best to address it.
- 機(jī)器學(xué)習(xí)系統(tǒng):設(shè)計(jì)和實(shí)現(xiàn)
- Android開發(fā)精要
- 微服務(wù)設(shè)計(jì)原理與架構(gòu)
- 基于Java技術(shù)的Web應(yīng)用開發(fā)
- 學(xué)Python也可以這么有趣
- Python面向?qū)ο缶幊蹋簶?gòu)建游戲和GUI
- Mastering ArcGIS Enterprise Administration
- “笨辦法”學(xué)C語言
- JavaScript動(dòng)態(tài)網(wǎng)頁編程
- Scala編程實(shí)戰(zhàn)
- Python預(yù)測(cè)之美:數(shù)據(jù)分析與算法實(shí)戰(zhàn)(雙色)
- VMware vSphere 5.5 Cookbook
- 透視C#核心技術(shù):系統(tǒng)架構(gòu)及移動(dòng)端開發(fā)
- MATLAB從入門到精通
- JavaScript程序設(shè)計(jì)實(shí)例教程(第2版)