Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 7 Social Networking

You're reading from   Drupal 7 Social Networking Build a social or community website with friends lists, groups, custom user profiles, and much more

Arrow left icon
Product type Paperback
Published in Sep 2011
Publisher Packt
ISBN-13 9781849516006
Length 328 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Toc

Table of Contents (22) Chapters Close

Drupal 7 Social Networking
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Drupal and Social Networking FREE CHAPTER 2. Preparing Drupal for a Social Networking Site 3. User Content: Contributions, Forums, and Blogs 4. Users and Profiles 5. Enabling User Interaction 6. Social Seasoning 7. Module Development: Rapidly Improve your Social Network 8. How We Can Design Our Site 9. Communicating with Our Users 10. Deploying and Maintaining Your Social Network 11. Easing Growing Pains 12. Promotion, SEO, User Retention, and Monetization Strategies Setting up a Local Development Environment Installed Modules Index

The basics of creating a theme


Creating a theme from scratch is quite an in-depth process, and as well as requiring knowledge of Drupal's theming system, we also need to be able to create a design. Because of this, let us simply look at the basics of creating a theme, and how we could create a theme if we have an existing design to convert. There are many resources, listed later, which fully detail and document how to create themes for Drupal. This primer should give you enough knowledge to quickly convert a design you already have into a Drupal theme, provided you have knowledge of HTML and CSS. The full theme documentation should be followed to provide further assistance: http://drupal.org/documentation/theme.

Structure of a theme

Within Drupal a theme is comprised of the following files:

  • themename.info (where themename is the name of the theme)

  • A number of template files (ending in .tpl.php), containing HTML and PHP which override the default HTML Drupal generates (optional). Common template...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image