{"id":82,"date":"2016-04-30T22:48:08","date_gmt":"2016-04-30T22:48:08","guid":{"rendered":"http:\/\/blogs.softwareclue.com\/?p=82"},"modified":"2016-04-30T22:48:08","modified_gmt":"2016-04-30T22:48:08","slug":"10-drupal-fundamentals","status":"publish","type":"post","link":"http:\/\/blog.softwareclues.com\/zh\/10-drupal-fundamentals","title":{"rendered":"10 Drupal Fundamentals"},"content":{"rendered":"<p class=\"submitted\"><span class=\"author\">by <a title=\"Posts by Steve Petersen\" href=\"http:\/\/blog.thebrickfactory.com\/author\/spetersen\/\" rel=\"author\">Steve Petersen<\/a><\/span> | <span class=\"date\">February 15, 2012<\/span><\/p>\n<p class=\"submitted\">Source:<a href=\"http:\/\/blog.thebrickfactory.com\/2012\/02\/10-drupal-fundamentals\/\" target=\"_blank\"> http:\/\/blog.thebrickfactory.com\/2012\/02\/10-drupal-fundamentals\/<\/a><\/p>\n<div class=\"entry\">\n<p>Partly due to how robust and powerful it is, Drupal has a learning curve.\u00a0 Like other content management systems, it has some of its own lingo.\u00a0 Understanding the fundamental terms below will help anyone (technically inclined or not) better grasp the system.\u00a0 These terms are applicable to the three versions of Drupal (5, 6, and 7) that I have used.<\/p>\n<p><strong>1. Node<\/strong> \u2013 a single piece of content.\u00a0 When my clients refer to a web page on their Drupal site, they are referring to a node.\u00a0 It is important to note that nodes do not have to be a web page, in many cases they are, but they can be other things like an item listed in a view (mentioned below) among other things.<\/p>\n<p><strong>2. Content Type<\/strong> \u2013 a standard configuration of a node.\u00a0 When constructing a site, many pages have the same type of information laid out in the same fashion.\u00a0 For instance, all of the bio pages on a site likely have a person\u2019s name, picture, brief biographical text, and contact information.\u00a0 Instead of creating these fields and laying out each page one at a time, Drupal content types allow one to set a standard set of data fields and layout of them.<\/p>\n<p><strong>3. Views<\/strong> \u2013 an organized list of nodes.\u00a0 Through views sites can display a set of nodes in an organized fashion.\u00a0 Sorting options include \u2013 but are not limited to: alphabetical order, publication date, most viewed, random, and taxonomy groupings.\u00a0 The display format is customizable, and I\u2019ve seen straight text, tables, and images all used in various ways.<\/p>\n<p><strong>4. Taxonomy<\/strong> \u2013 a list of related terms used to tag content.\u00a0 Through Drupal, taxonomy terms allow for classifying nodes in a way other than content types.\u00a0 For instance, a site can have a taxonomy term for each of the continents of the world.\u00a0 Once that is done, one of the terms (say \u201cNorth America\u201d) can be applied to some bio pages, blog posts, and vendor pages even though they are nodes of different content types. Then they can be organized by this term to be displayed in a view.<\/p>\n<p><strong>5. Block<\/strong> \u2013 an area on a page that can contain content and then can be placed in a certain area of the site as defined by the site\u2019s template.\u00a0 A common use of blocks is to place items in a sidebar.\u00a0 Such items can include images, sub menus, and views.\u00a0 The great thing about blocks is that they can be restricted to only appear on certain pages of a site.\u00a0 Further, configuration options also allow them to be only displayed to certain user roles (perhaps premium members or site administrators).<\/p>\n<p><strong>6. Webform<\/strong> \u2013 a content type that enables site administrators to create forms to gather information from site visitors.\u00a0 A very common webform application is to create contact forms through which site administrators can create fields such as sender\u2019s name, sender\u2019s e-mail\/phone number, type of inquiry (like general inquiry, price quote request, and media contact), and message.\u00a0 Upon submission, the form can send an e-mail with the provided information to predefined recipients.\u00a0 The data is also stored and can be exported into a spreadsheet.<\/p>\n<p><strong>7. User Role<\/strong> \u2013 a set of permissions granted to a user account.\u00a0 Through roles site administrators can carefully grant specific abilities to certain users.\u00a0 For instance, users with access to a premium member area of the site not intended for the public shouldn\u2019t also have the ability to change the site\u2019s menus, for instance.\u00a0 However, through roles, users can be allowed to create, edit, and delete nodes of certain content types without necessarily granting them the ability to manage the site in other ways.<\/p>\n<p><strong>8. Module<\/strong> \u2013 a program specifically designed for Drupal that adds functionality to it.\u00a0 One of the greatest features of Drupal is its modular design that allows for site administrators to tact on functionality to the CMS.\u00a0 Modules do a variety of things ranging from controlling a node\u2019s slug (the \u201c\u2026\u201d part of sample.com\/\u2026 to a specific format) to logging in users to an account based upon their IP address to connecting with third-party systems like Google Analytics, Eventbrite, and Salesforce.\u00a0 There is a <a href=\"http:\/\/blog.thebrickfactory.com\/2012\/02\/five-nifty-drupal-modules\/\" target=\"_blank\">wide variety of modules<\/a> that the Drupal open source community develops and maintains free of charge.<\/p>\n<p><strong>9. Themes<\/strong> \u2013 more or less a template for the site.\u00a0 Drupal supports multi-themed sites.\u00a0 One major use of this is creating a desktop theme and a mobile theme.\u00a0 For sites that we create a mobile version using Drupal, we have created a mobile theme and then make sure that the theme that is displayed is based upon the device a site visitor is using.<\/p>\n<p><strong>10. Input Formats<\/strong> \u2013 modes that control the type of content entered into a field.\u00a0 Most nodes have body fields where one can input the text and images for the node.\u00a0 One does not need to know much about HTML or PHP to use Drupal, and this input formats will find ways to add line breaks and link urls and e-mail addresses for people without the need for the coding.\u00a0 Used in concert with a WYSIWYG editor, a person can still present styled text and images using the Filtered or Full HTML formats.\u00a0 Further, when judiciously granting rights to use formats through user roles (particularly to the Full HTML and PHP code formats), it can help secure the site since using HTML and PHP can be used by external users to hack the site.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>by Steve Petersen | February 15, 2012 Source: http:\/\/bl &hellip; <a href=\"http:\/\/blog.softwareclues.com\/zh\/10-drupal-fundamentals\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c10 Drupal Fundamentals\u201d<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[3,50],"tags":[30],"translation":{"provider":"WPGlobus","version":"2.12.2","language":"zh","enabled_languages":["en","zh"],"languages":{"en":{"title":true,"content":false,"excerpt":false},"zh":{"title":true,"content":true,"excerpt":false}}},"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>10 Drupal Fundamentals - \u8f6f\u4ef6\u542f\u793a\u5f55<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"10 Drupal Fundamentals - \u8f6f\u4ef6\u542f\u793a\u5f55\" \/>\n<meta property=\"og:url\" content=\"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals\" \/>\n<meta property=\"og:site_name\" content=\"\u8f6f\u4ef6\u542f\u793a\u5f55\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-30T22:48:08+00:00\" \/>\n<meta name=\"author\" content=\"Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals\",\"url\":\"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals\",\"name\":\"10 Drupal Fundamentals - \u8f6f\u4ef6\u542f\u793a\u5f55\",\"isPartOf\":{\"@id\":\"http:\/\/blog.softwareclues.com\/#website\"},\"datePublished\":\"2016-04-30T22:48:08+00:00\",\"dateModified\":\"2016-04-30T22:48:08+00:00\",\"author\":{\"@id\":\"http:\/\/blog.softwareclues.com\/#\/schema\/person\/4c47e4e97a658930b6c0e90f4a4eda82\"},\"breadcrumb\":{\"@id\":\"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/blog.softwareclues.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"10 Drupal Fundamentals\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/blog.softwareclues.com\/#website\",\"url\":\"http:\/\/blog.softwareclues.com\/\",\"name\":\"\u8f6f\u4ef6\u542f\u793a\u5f55\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/blog.softwareclues.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/blog.softwareclues.com\/#\/schema\/person\/4c47e4e97a658930b6c0e90f4a4eda82\",\"name\":\"Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/blog.softwareclues.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/2.gravatar.com\/avatar\/e4fb391d9f5bb29583ed9579324a5e17?s=96&d=mystery&r=g\",\"contentUrl\":\"http:\/\/2.gravatar.com\/avatar\/e4fb391d9f5bb29583ed9579324a5e17?s=96&d=mystery&r=g\",\"caption\":\"Editorial Team\"},\"url\":\"http:\/\/blog.softwareclues.com\/zh\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"10 Drupal Fundamentals - \u8f6f\u4ef6\u542f\u793a\u5f55","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals","og_locale":"zh_CN","og_type":"article","og_title":"10 Drupal Fundamentals - \u8f6f\u4ef6\u542f\u793a\u5f55","og_url":"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals","og_site_name":"\u8f6f\u4ef6\u542f\u793a\u5f55","article_published_time":"2016-04-30T22:48:08+00:00","author":"Editorial Team","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"Editorial Team","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals","url":"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals","name":"10 Drupal Fundamentals - \u8f6f\u4ef6\u542f\u793a\u5f55","isPartOf":{"@id":"http:\/\/blog.softwareclues.com\/#website"},"datePublished":"2016-04-30T22:48:08+00:00","dateModified":"2016-04-30T22:48:08+00:00","author":{"@id":"http:\/\/blog.softwareclues.com\/#\/schema\/person\/4c47e4e97a658930b6c0e90f4a4eda82"},"breadcrumb":{"@id":"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/blog.softwareclues.com\/10-drupal-fundamentals"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/blog.softwareclues.com\/10-drupal-fundamentals#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/blog.softwareclues.com\/"},{"@type":"ListItem","position":2,"name":"10 Drupal Fundamentals"}]},{"@type":"WebSite","@id":"http:\/\/blog.softwareclues.com\/#website","url":"http:\/\/blog.softwareclues.com\/","name":"\u8f6f\u4ef6\u542f\u793a\u5f55","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/blog.softwareclues.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"http:\/\/blog.softwareclues.com\/#\/schema\/person\/4c47e4e97a658930b6c0e90f4a4eda82","name":"Editorial Team","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/blog.softwareclues.com\/#\/schema\/person\/image\/","url":"http:\/\/2.gravatar.com\/avatar\/e4fb391d9f5bb29583ed9579324a5e17?s=96&d=mystery&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/e4fb391d9f5bb29583ed9579324a5e17?s=96&d=mystery&r=g","caption":"Editorial Team"},"url":"http:\/\/blog.softwareclues.com\/zh\/author\/admin"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paLJfj-1k","jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/posts\/82"}],"collection":[{"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":2,"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":84,"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/posts\/82\/revisions\/84"}],"wp:attachment":[{"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.softwareclues.com\/zh\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}