使用Drupal

出版社:东南大学出版社
出版日期:2013-1
ISBN:9787564138929
页数:467页

章节摘录

版权页:   插图:   Integrating Media in Content In the past, one of the biggest criticisms of Drupal, apart from the fact that it didn't (and unfortunately, still doesn't) come with a WYSIWYG editor built in was that it had no built-in image handling. Users had to either manually insert images in their posts, or choose one of the many available contributed modules to support images (and other media) on their site. As we've seen earlier in this chapter, Drupal 7 has changed this. Out of the box, Drupal core now comes with an image field that allows users to upload images. For a lot of sites, this is exactly what they need: a way to add images to nodes and display them in a predefined size and position. An example might be an Album content type, which always has an Album Cover image on each individual node, placed in exactly the same place every time. However, the Band Wagon site needs something more advanced. John and Lisa wantto allow their friends to be able to freely mix photos and videos with their written content. This requires the ability to insert images in a text area, rather then in a fixed position on the node page. Luckily, the Media module that we use for photo and video support provides integration with the WYSIWYG module. We'll learn more about this when we set up the WYSIWYG editor later in this chapter. Spotlight: Text Formats and Filters You may have noticed a funny fieldset on node and block body fields that we keepignoring, called "Text format," pictured in Figure 4-31. The text format you select for the content will affect how that content is displayed on the site. Text formats are an important security feature of Drupal, so it pays to understand them. A text format will "scan" your content and make HTML formatting changes to it before sending it to the browser for display. Each piece of content will be associated with a text format so that Drupal always knows what it is looking for and modifying, on a case-by-case basis.

内容概要

作者:(美国)拜伦(Byron A.) (美国)贝里(Berry A.) (美国)布鲁诺(Bruno B.D.)

书籍目录

Foreword Preface 1. Drupal Overview What ls Drupal? Who Uses It? What Features Does Drnpal Offer? A Brief History of Content Management A Historical Look at Website Creation The Age of Scripts and Databases The Content Revolution How Does Drupal Work? Modnles Users Content (Nodes) Entities and Fields Ways of Organizing Content Types of Supporting Content Getting Help Conclusion 2. Drupal Jumpstart Case Study Implementation Notes Spotlight: Drupal's Administration Interface Hands-On: Changing Administrative Settings Spotlight: Content Management Content Comments Navigation Blocks Hands-On: Content Management Creating a Basic Page Creating an Article Managing Site Navigation Configuring Blocks Spotlight: Modules Module Administration Page Finding and Installiug Modules Removing Modules Hands-On: Working with Modules Spotlight: Access Control Configuring User Access User Profiles Account Settings Handling Abusive Users Hands-On: Creating Roles and Users Hands-On: Configuring Permissions Spotlight: Content Moderation Tools Automated Spare Detection Manual Spare Prevention Tools Hands-On: Contact Form Spotlight: Themes Finding a Theme Theme Installation Theme Configuration Blocks and Regions Administration Theme Setting Hands-On: Branding the Site Summary 3. Job Posting Board Case Study Implementation Notes Spotlight: Field and Field UI Field Types Input Widgets Displays, Viexv Modes, and Formatters Reusing Existing Fields Hands-On: Job Content Type Spotlight: References Hands-On: Adding a Reference Field Hands-On: Customizing Field Display Hands-On: Job Application Type Spotlight: Views Module Data Types Displays Pieces of a View Hands-On: The Views Module Jobs View Applications View Taking It Further Summary 4. Media Management Case Study Implementation Notes Spotlight: hnage Styles Styles and Effects Using an Image Style Troubleshooting Image Styles Hands-On: Image Styles Create Image Styles Improve Image Quality Spotlight: Media Media Files Media Browser Hands-On: Music Reviews Review Content Type Displaying Media Files Spotlight: Content Editing and Image Handling Content Editing Integrating Media in Content Spotlight: Text Formats and Filters Hands-On: Setting Up WYSIWYG Set Up and Configuration Enabling the Media Filter Spotlight: Media Internet Sources Hands-On: Posting Videos Taking It Further Summary 5. Product Reviews Case Study Implementation Notes Hands-On: Basic Product Reviews Creating the Product Review Content Type Spotlight: Amazon Module What's Included? Locale Referral Settings Amazon Keys l-lands-On: Adding an Amazon Field Adding the Product Field Spotlight: Voting API and Fivestar Hands-On: Adding Ratings Adding the Product Rating Field Adding the Reader Rating Field Spotlight: CSS Injector Hands-On: Polishing the Presentation Setting Field Display Options Configuring CSS Injector Hands-On: Building a Product Fist Spotlight: The Search Module Searching with Views Hands-On: Make the Product List Searchable Rewriting Viexvs Field Output Taking It Further Summary 6. Event Management Case Study Implementation Notes Hands-On: First Steps Creating an Event Content Type Access Control Spotlight: Date Module Date Submodules Date Field Types Date Form Elements Date Field Settings Hands-On: Adding Dates Add the Date Field Hands-On: Upcoming Events View Spotlight: Calendar Module Calendar View Type iCal Integration Hands-On: Calendar View Spotlight: Flag Module …… 7. Managing PublishingWorkflows 8. Multilingual Sites 9. Online Store A. Installing and Upgrading Drupal B. Choosing the Right Modules C. Modules and Themes Used in This Book D. Major Changes Between Drupal 6 and 7 Index

编辑推荐

《使用Drupal(第2版)(影印版)》学习Drupal的概念和构件,以及协同工作的原理。马上开始行动——构建你的第一个Drupal网站。寻找满足每个项目需求的解决方案,并且了解选择特定模块的原因。通过案例分析理解项目,包括客户需求和期望。通过鸟瞰工作原理学习如何配置模块。了解新模块,包括Drupal Commerce、Media和Workbench。

作者简介

《使用Drupal(第2版)(影印版)》从Drupal的大量社区贡献模块集合中受益并了解它们是如何将这个Web框架变得独具价值的。有了这本指南,你将学习如何通过有趣的方式(最少代码)整合模块来开发多个社区驱动的网站一一包括招聘布告栏、照片库、在线商店、产品评审数据库和事件日历。 
《使用Drupal(第2版)(影印版)》主要关注Drupal7,也就是该开源系统的最新版本。对每个项目花一章的篇幅阐述,通过循序渐进的案例帮助你构建网站所需的功能。拥有《使用Drupal(第2版)(影印版)》,Drupal新手将通过实践性的介绍获得经验,而富有经验的Drupal开发者也将学到真实世界中的最佳实践。


 使用Drupal下载



发布书评

 
 


精彩短评 (总计2条)

  •     amazon的服务,很棒。书属于drupal入门级别的,提高还须《Pro Drupal 7 Development》。装订纸张也不错(就国内来说)
  •     东南大学的影印版,很好的一本书
 

外国儿童文学,篆刻,百科,生物科学,科普,初中通用,育儿亲子,美容护肤PDF图书下载,。 零度图书网 

零度图书网 @ 2024