option, 117 Create New Account link, 96 Create new revision option, 71 Cron, 43 cron command, 267 crontab, 43 CSS (Cascading Style Sheets) styling sites with, 185–188 basics of, 186 styling site name, 186–188 using local.css, 185 writing own, 191 Ctools (chaos tool suite) module, 264, 269–270 Custom Breadcrumbs module, 271 Custom Search Blocks module, 272 Custom Search Internationalization module, 272 Custom Search module, 272 Custom Search Taxonomy module, 272 custom themes, creating, 188–195 adding style, 190–195 content-specific theming, 194–195
296
writing own CSS, 191 copying and editing Fusion's starter subtheme, 189 Customize Dashboard link, 10–11 cyan, magenta, yellow, and black (CMYK), 206
D d7_fd7 database, 24 d7_testdb database, 219 Dashboard icon, 10–11 Dashboard module, 5 Database logging module, 5 Database server requirement, 20 databases, Drupal is powered by, 2 date and time, configuration settings for, 45 date module, 275 ddebug_backtrace( ) function, 270 Default comment settings for new posts setting, 112 Default country field, 44 Default e-mail values setting, 161 default export format setting, 163 default folder, 26–27, 31 Default option, 83 Default parent item setting, 73 default path pattern field, 140 Default shortcuts link, 10 default site folder, 27 Default time zone setting, 44 defaults display, 149 default.settings.php file, 27, 31 delete aliases tab, 140 delete option, 74 Delete the account and all content setting, 97 Delete the account and keep all content setting, 97 delimited text setting, 163 delimiter setting, 163 Demonstrate block regions link, 49, 179 Dependent widget, 270 Description field, 59, 79 Description text area, 70 dev environment, 215 Devel Generate sub-module, 174 Devel module, 174, 196, 216, 270 Development page, 185 development tools, 269–271 context module, 270–271
INDEX
Ctools module, 269–270 Devel module, 270 Drupal for Firebug module, 270 features module, 270 spaces module, 271 strongarm module, 271 DHTML Menu module, 159 directories, creating site-specific, 30–31 dis (disable) command, 267 Disable the account and keep all content option, 97 Disable the account and unpublish all content setting, 97 disable webform submission access control option, 163 Disabled setting, 113 discard access logs older than setting, 232 Discard items older than option, 108 Discount Coupons module, 281 Display author and date information option, 71 Display Fields section, 185 display post information option, 44 displaying fields, 82–85 basic view, 82–83 RSS view, 84–85 search view, 85 Displays setting, 145 element, 209, 249 dl (download) command, 267 Document Color Mode menu option, 208 domain.com folder, 31 DomDocument class, 20 download (dl) command, 267 dprint_r($array) function, 270 drop-down lists, field types, 78–79 Drupal administrative interface for, 7–10 content in, 2–4 file and folder layout core files, 25–26 and multisite installs, 28–29 sites directory, 26–28 installing, 29–31 creating site-specific directory, 30–31 downloading to web host, 29–30 is database powered, 2 iterative approach to creating web pages, 39–40
modules for, 4–7 overview, 1–7 permissions in, 4 taxonomy in, 86–90 terms, 87–90 vocabularies, 87 themes for, 7 Drupal for Firebug module, 216, 270 Drupal installation complete page, 36 Drupalish, 243 Drupal.org community, 250–251 Drupal.org/forum/25 forum, 244 drupal.org/project/backup_migrate module, 237 Drush, 263–268 commands for, 268 installing on cPanel, 265–266 modules for backup and migrate module, 264 Drush Cleanup module, 264 Drush EM module, 264 Drush make module, 265 overview, 263 Drush Cleanup module, 264 ~/.drush directory, 266 drush download backup_migrate style, 263 Drush EM module, 264 drush folder, 265 drush help command, 266 Drush make module, 265 drush_mods folder, 265–266
E e-commerce, modules for, 281 e-mail, 99–100 e-mail address field, 94 E-mail module, 275 edit button, 157 Edit link, 69, 117, 119–120, 128, 231 edit option, 74 edit order and titles option, 117 edit permissions link, 101 Edit shortcuts link, 10 Edit skin option, 180 edit summary link, 11, 113 edit tab, 111–113, 166 Edit user form, 94 editing Fusion's starter subtheme, 189 Embedded Media Field module, 276
297
Download from Wow! eBook <www.wowebook.com>
INDEX
Embedded Media Thumbnail module,276 empty text section, 151 Empty time zone setting, 44 en (enable) command, 267 enable access log option, 232 Enable Alt field option, 80 enable button, 153 enable check box, 229 Enable Description field option, 81 Enable Display field option, 81 enable (en) command, 267 Enable pictures option, 99 Enable signatures option, 98–99 Enable Title field option, 80 Enabled setting, 129 estimated-time spreadsheet, using in website planning, 249–250 evaluating module, Drupal community, 252 export tab, 129 Exportables tool, 270 exposed form category, 149–150 exposed form in block setting, 150 exposed form style setting, 150 External Links module, 279
F Facebook-style Statuses module, 281–282 fd7 database, 24 features module, 270 feed aggregator module, 107–111 feed content setting, 85 feed display level, 149 feed settings category, 150 Feedback module, 277 Field Permissions module, 276 field types, modules for additional, 275–276 CCK module, 275 date module, 275 E-mail module, 275 Embedded Media Field module,276 Field Permissions module, 276 Link module, 276 Name module, 276 Phone module, 276 Field UI module, 5 fields, 73–86 check boxes, 78–79 comments, 86
298
display of, 82–85 basic view, 82–83 RSS view, 84–85 search view, 85 drop-down lists, 78–79 files, 79–81 images, 79–81 radio buttons, 78–79 text fields, 76–77 types of, 75–81 fields category, 151–152 fields setting, 150 fields values, 249 File directory setting, 80 file field type, 82 File module, 5 file system, configuration settings for websites, 47 file upload field, 79, 257 File uploads, 76 files data type, 145 files directory, 27, 220–221 Files displayed by default field, 81 files, field types, 79–81 Filter heading, 157 filters category, 150–152 Filters setting, 151 flag module, 272 Flag translations as outdated option, 131 Fluid 12 column grid option, 178 footer category, 151 Form tools, 270 Form wizard, 270 Format drop-down menu,61 format_plural function, 198 forms tab, 168 Forum module, 5, 120–125 forums page, 120–123 foundationdrupal7.com directory, 33, 36 front page of views module, 153–154 for websites, 60–62 full-page template, 202 full-page view, 245, 286–287 Fusion folder, 189 Fusion theme, 174–175 installing Fusion core, 174 installing Fusion sub-theme, 174–175
INDEX
installing Skinr module, 175 starter subtheme, copying and editing, 189 FUSION THEME SETTINGS option, 177, 179 fusion_starter folder, 193 fusion_starter_lite folder, 189
G Garland theme, 16–17, 40 gear icon, 284 General setting, 210 GENERAL SETTINGS fieldset, 177, 179 global redirect module, for SEO, 258 Google Analytics module, 170–171 Google Analytics page, 170 grid layout, 176–181 block widths and alignment, 180–181 changing sidebars, 178–179 content placement, 179–180 theme widths, 177 Grid style, 289–290
H H1 tags, 261 tag, 190 header category, 151 Header region, 180–181 help link, 105 Help module, 5 help region, 50 help text field, 75 Hidden option, 83 /home directory, 22 /home/username/public_html/sites folder, 30 homepage block view, 286 homepage icon, 8 hosting system, Aegir, 263 Hot topic threshold option, 120 .htaccess file, and configuration changes for SEO, 256 HTTP get requests, reducing number of for SEO, 261
I iCal feed, 289 IE (Internet Explorer), 191 ie6-fixes.css file, 191 ie7-fixes.css file, 191
ie9-fixes.css file, 191 Illustrator. See Adobe Illustrator Image field type, 73–74, 80–81 image galleries, with Views module, 289–290 Image module, 5 image slideshows, with Views module, 289 Image upload field, 81 image uploads, 76 images and configuration changes for SEO alt field, 257 title field, 257 field types, 79–81 optimizing with Photoshop and Illustrator, 213 imce* pages, 170 import tab, 145 Include File in display field, 79, 81 Inline option, 83 Install new theme option, 174 installing Fusion core, 174 Fusion sub-theme, 174–175 Skinr module, 175 INSTALL.txt file, 264 interface language section, 127 internal feed alias text setting, 140 Internet Explorer (IE), 191 Internet service providers (ISPs), 103 IP address blocking, and permissions, 102 IP Address Blocking option, 102 ISPs (Internet service providers), 103
J JavaScript, modules for, 279–280 Colorbox module, 279 External Links module, 279 jQuery plugin module, 280 jQuery UI module, 279 jQuery Update module, 280 Quick Tabs module, 280 Superfish module, 280
K Keyboard Increment setting, 210–211
299
INDEX
L LAMP (Linux, Apache, MySQL, and PHP), 20 language modules, 125–131 content translation module, 129–132 locale module, 126–129 language switcher (interface) block, 129 Languages page, 126 Lawrence, Ken, 212 layout, of themes, 175–181 grid layout, 176–181 planning theme, 176 theme settings, 176 LAYOUT option, 177–179 libraries directory, 154 Link module, 276 links, for menus, 58–59 Linux, Apache, MySQL, and PHP (LAMP), 20 List Links menu option, 58 List option, 88–89 local.css file, 185, 188 Locale module, 5, 126–129 Log in using OpenID link, 132 Log out link, 91 Logging and Errors page, 225 Login Toboggan module, 277 Long format setting, 162 long text and summary field type, 77 long text field type, 77 lorem ipsum text, 205, 249
M mailchimp module, 248, 281 main administration section, 9 main page content block, 50 maintaining Drupal, 229–234 backing up content, 240 checking reports section weekly enabling statistics module, 232–233 overview, 232 and site health, 233–234 checking security alerts, 231 maintenance mode, 238–239 Make Changes option, 25 .make extension, 265 Manage display form, 86 Manage display settings, 74 Manage display tab, 82 Manage Fields menu option, 75
300
manage fields option, 114, 257 Management menu, 55, 58 Manual Resource Options box, 23 mass e-mail, modules for, 281 mass update option, 102 Max Parked Domains option, 23 max_allowed_packet variable, 21 Maximum alias length setting, 142 maximum component length setting, 142 Mbstring extension, 20 menu administration page, 57, 59, 273 menu attributes module, 259, 272–273 menu block module, 273 Menu link title field, 12 Menu link title setting, 59 Menu links, 150, 249. See also links, for menus Menu module, 6 Menu settings, 12, 73 menu tab, 273 menus, 54–59 creating new, 57 default menus, 55–56 main menu, 55 management menu, 55 navigation menu, 55 secondary menu, 56 user menu, 56 links for, creating new, 58–59 overview, 54 settings for, 56–57 Menus menu option, 54–55, 57–59 metatag module, for SEO, 258–259 Midnight module, Zenophile, 279 Modal dialog box, 270 mod_rewrite extension, 21 module reference document, 245–246 modules, 105–171 blog module, 111–115 book module, 115–117 comments module, 118 contact module, 118–120 DHTML Menu module, 159 for Drush backup and migrate module, 264 Drush Cleanup module, 264 Drush EM module, 264 Drush make module, 265 enabling, 105–106
INDEX
feed aggregator module, 107–111 forum module, 120–125 Google Analytics module, 170–171 language modules, 125–131 content translation module, 129–132 locale module, 126–129 Mollom module, 167–169 OpenID module, 132–133 overview, 4–7 Pathauto module, 139–143 node path settings, 140 punctuation settings for, 141–143 poll module, 133–136 for SEO boost module, 260–261 global redirect module, 258 menu attributes module, 259 metatag module, 258–259 page title module, 259 path redirect module, 258 pathauto module, 258 SEO Checklist module, 258 XML sitemap module, 260 tracker module, 136 views module, 144–154 adding new, 146–149 administration of, 144–145 configuring which content to display with, 151–152 display for, 150–151 front-page view of, 153–154 previewing the view, 153 settings for, 149–150 webform module, 159–166 configuring, 160–163 creating web form with, 164–166 Wysiwyg module, 154–158 modules, contributed, 269–282 for additional field types, 275–276 CCK module, 275 date module, 275 E-mail module, 275 Embedded Media Field module, 276 Field Permissions module, 276 Link module, 276 Name module, 276 Phone module, 276
development tools, 269–271 context module, 270–271 Ctools module, 269–270 Devel module, 270 Drupal for Firebug module, 270 features module, 270 spaces module, 271 strongarm module, 271 for e-commerce, 281 enabling, 139 JavaScript and jQuery tools, 279–280 Colorbox module, 279 External Links module, 279 jQuery plugin module, 280 jQuery UI module, 279 jQuery Update module, 280 Quick Tabs module, 280 Superfish module, 280 for mass e-mail, 281 site administration tools, 277–278 administration menu module, 277 advanced help module, 277 Content Management Filter module, 277 Feedback module, 277 Login Toboggan module, 277 transliteration module, 278 User Protect module, 278 site building tools, 271–275 Automatic Nodetitles module, 271 Custom Breadcrumbs module, 271 Custom Search module, 272 flag module, 272 menu attributes module, 272–273 menu block module, 273 Nice Menus module, 273 Nodequeue module, 273 Panels module, 273–274 Rules module, 274 Site Map module, 274 String Overrides module, 274 workflow module, 275 social networking tools Facebook-style Statuses module, 281–282 Organic Groups module, 282 Privatemsg module, 282 Twitter module, 282 User Points module, 282
301
INDEX
User Relationships module, 282 theming tools, 278–279 Content Template module, 278 theme developer module, 278 ThemeKey module, 278–279 Zenophile module, 279 modules directory, 26–27 Modules link, 105–106, 235–236, 238–239 Modules page, 126, 129, 139, 223, 260 Modules section, 229 Mollom module, 167–169 Monitor RGB menu option, 208 More choices option, 134 more link option, 147, 149, 286 -moz property, 194 multiple selector option, 108 multisite installs, and file and folder layout for Drupal, 28–29 My newsletters tab, 231 MyAccount page, 97, 231 mysite_theme.info file, 189 MySQL Databases option, 24 MySQL Databases page, 222 mysql extension, 20 mysqli extension, 20
N Name module, 276 name setting, 149 navigation menu, 55 Navigator window, 210 new document profile option, 206 New Folder icon, 30 News items in block option, 110 Nice Menus module, 273, 280 no action (do not replace) for underscore option, 142 nobody user, 220 node edit page, 290 node path settings link, 140 Node: Published or admin filter, 152 node revisions data type, 145 node setting, 41 node type, 68 Node: Type filter, 151 NodeAsBlock module, 252 node_export module, 241 nodequeue administration page, 273
302
Nodequeue module overview, 273 using with Views module, 290–291 nodequeue relationship, 290–291 nodes data type, 145 node.tpl.php file, 199 nofollow option, 273 Not Found page, 43 Notify user of new account option, 94, 100 Notify user when account is activated option, 100 Notify user when account is blocked option, 100 Notify user when account is canceled option, 100 Number of items show in listing pages option, 108 number of posts on front page setting, 41, 61 number of values field, 75, 78–79
O Object caching tool, 270 Only untranslated strings filter, 128 OpenID identities option, 133 OpenID identities tab, 133 OpenID module, 6, 132–133 Operating system requirement, 20 optimizing images, with Photoshop and Illustrator, 213 Optional setting, 113 options toolbar, 210 Orange skin option, 183 Organic Groups module, 282 Outdated Translation page, 131–132 override button, 148 override function, 148
P page content type, 249 page display level, 149 page-specific, visibility of blocks, 52 page title module, for SEO, 259 page titles tab, 259 page view, 249 pager, 72 page.tpl.php file, 199 Pakrul, Stephanie, 173 Panels module, 245, 273–274 parents box, 88
INDEX
parked domains field, 222 password field, 94, 96 Path module, 6 path redirect module, for SEO, 258 Path setting, 59, 150 Pathauto module, 139–143 node path settings, 140 punctuation settings for, 141–143 for SEO, 258 PDO (PHP Data Objects), 20 people adding new, 94 configuring permissions for, 95–99 administrator role, 95 anonymous users, 95 e-mails for, 99–100 personalization of, 98 registration and cancellation of, 95–97 People link, 93, 97 People option, 102 People page, 100–102, 216, 223 Performance page, 196, 198, 224 Performance tab, 216 permission field, 93 permission link, 105 permission setting, 149 permissions adding people, 94 configuring for people, 95–99 administrator role, 95 anonymous users, 95 e-mails for, 99–100 personalization of, 98 registration and cancellation of, 95–97 and IP address blocking, 102 overview, 4 and roles, 100–102 permissions page, 149, 163 Permissions tab, 100–102, 216 personalization, for people, 98 pgsql extension, 20 Phone module, 276 Photoshop. See Adobe Photoshop PHP, and template files, 196–199 PHP Data Objects (PDO), 20 php.ini configuration file, 21, 79 picture directory, 98
Picture display style option, 98 Picture upload dimensions option, 98 Picture upload file size option, 98 pixel-perfect lines in Illustrator, 210–212 in Photoshop, 209–210 Pixel Preview option, 211 Plain text option, 83 planning tools, for websites, 247–250 estimated-time spreadsheet, 249–250 requirements gathering, 247–248 using wireframes, 248–249 Plugins, 270 .po files, 125 Poll duration setting, 134 Poll module, 6, 133–136 poll page, 133–134 Poll status setting, 134 popup date changer option, 289 Portable Object files, 125 posting guidelines, for Drupal community, 251–252 Precision field, 77 Preset menu, 206 preview button, 113, 153 Preview Comment button, 73 Preview comment setting, 113 Preview image style setting, 80 private downloads, configuration settings for websites, 47 Privatemsg module, 282 prod environment, 215 production site moving test site to, 223–227 preparing move to, 215–217 profiles directory, 25 Promote node to top of list option, 285 Promoted to front page check box, 60, 71 Proof Colors menu option, 208 Proof Setup menu option, 208 Properties context menu item, 30 Provide a menu link box, 12 publication date, displaying for content types, 71 public_html directory, 28, 30, 218, 226, 240 published comments section, 118 Published option, 71
303
INDEX
publishing options, 14, 70–71, 129 Publishing page, 85 punctuation, settings for Pathauto module, 141–143
Q Question field, 134 Quick Tabs module, 280
R radio buttons, field types, 78–79 RBG (red, blue, and green), 206, 208 RDF module, 6 Read More link, 82 README file, 252 Receive e-mail notifications option, 35 recent blog posts block, 115 Recent log entries page, 233–234 Recent News block, 107 Recurring Payments module, 281 red, blue, and green (RBG), 206, 208 reduce strings to letters and numbers setting, 143 regional settings for blocks, 51 configuration settings for websites, 44 register_globals parameter, 20 registration, of people, 95–97 rel tags, 262 Relations link, 89 relationships category, 151 rel=nofollow attribute, 276 Remind users at login if their time zone is not set option, 44 replacement patterns link, 139–140 Reports link, 232 reports section, checking weekly enabling statistics module, 232–233 overview, 232 and site health, 233–234 Require e-mail verification... option, 96 Required setting, 113 requirements for Drupal, 19–21 for websites, gathering, 247–248 responder tool, AJAX, 269 results tab, 135, 166 right-to-left (RTL), 194
304
robots.txt file, and configuration changes for SEO, 257 role field, 93 role setting, 149 role-specific, visibility of blocks, 53 roles, and permissions, 100–102 Roles link, 100–101 Rooney, Garrett, 217 level, 121 RSS view, displaying fields in, 84–85 RTL (right-to-left), 194 Rulers setting, 209 Rules module, 274 run software updates option, 235 run software updates permissions, 238
S safe_mode parameter, 20 sample.local.css file, 185 Save field settings option, 76 Save for Web & Devices menu option, 213 Save for Web and Devices tool, 206 Scale field, 77 Search Engine Optimization. See SEO Search module, 6 search view, displaying fields in, 85 secondary menu, 56 Secure File Transfer Protocol (SFTP), 29 Secure Shell (SSH), 21 security alerts, checking, 231 security announcements, 231, 250 Select a different width... pop-up menu, 179 Select a grid layout for your theme section, 177 Select lists, 76 Select Options Manually option, 22 select the user roles that may submit each individual webform option, 163 Selected option, 120 SEO Checklist module, 258 SEO (Search Engine Optimization), 255–262 configuration changes for, 256–257 enabling title and alt fields for images, 257 updating .htaccess file, 256 updating robots.txt, 257 emphasizing content in WYSIWYG editor, 262
INDEX
modules for boost module, 260–261 global redirect module, 258 menu attributes module, 259 metatag module, 258–259 page title module, 259 path redirect module, 258 pathauto module, 258 SEO Checklist module, 258 XML sitemap module, 260 overview, 255–256 reducing number of HTTP get requests, 261 structuring theme for, 261 separator setting, 141 session.cache_limiter parameter, 20 session.save_handler parameter, 20 set default option, 62 setting.php file, 33–34 settings for blocks, region settings, 51 for content types, 70 for menus, 56–57 for themes, 64 for views module, 149–150 settings category, 149 settings link, 64 Settings option, 179 settings tab, 51, 107–108, 116, 120–121, 230 settings.php file, 27–29, 31, 33, 36, 219, 222, 238 SFTP (Secure File Transfer Protocol), 29 Shortcut module, 6 shortcuts menu, 8, 10 Show as expanded check box, 59 Show menu, 213 Show reply form on the same page as comments check box, 72, 113 Sidebars module, Zenophile, 279 sidebars, on themes, 178–179 signwriter, 206 Simplenews module, 281 site administration tools, 277–278 administration menu module, 277 advanced help module, 277 Content Management Filter module, 277 Feedback module, 277 Login Toboggan module, 277
transliteration module, 278 User Protect module, 278 site building tools, 271–275 Automatic Nodetitles module, 271 Custom Breadcrumbs module, 271 Custom Search module, 272 flag module, 272 menu attributes module, 272–273 menu block module, 273 Nice Menus module, 273 Nodequeue module, 273 Panels module, 273–274 Rules module, 274 Site Map module, 274 String Overrides module, 274 workflow module, 275 site information, configuration settings for websites, 41–43 Site Information page, 99, 153 Site Map module, 274 [site:login-url] variable, 99 [site:name] variable, 99 sites/all directory, 154 sites/all/modules contrib directory, 245 sites/all/modules directory, 246 sites/default/files does not exist message, 222 sites/default folder, 27 sites directory, file and folder layout for Drupal, 26–28 sites/EXAMPLE.COM/modules directory, 246 sites folder, 25 sites.php file, 220 [site:url] variable, 99 Skinr module installing, 175 skins, 195–196 styling sites with, 182–185 Slice and Slice Select tools, 212–213 Slice Type field, 213 Slices drop-down menu, 213–214 sm (statusmodules) command, 267 Snap to Pixel option, 211–212 Snap to Pixels check box, 210 social networking tools Facebook-style Statuses module, 281–282 Organic Groups module, 282 Privatemsg module, 282 Twitter module, 282
305
INDEX
User Points module, 282 User Relationships module, 282 sort criteria setting, 151–152 Source for Main links setting, 56 Source for Secondary links setting, 56 Source for the Main links drop-down menu, 56 SOW (statement of work), 246 spaces module, 271 sql cli (sqlc) command, 267 SQL Databases option, 23 sql dump command, 267 sql sync command, 267 sqlc (sql cli) command, 267 src tag, 261 sRGB IEC61966-2.1 menu option, 207 SSH (Secure Shell), 21 staging sites content, 240–241 setting up in cPanel, 218–221 troubleshooting, 221 standard install profile, 229 starter subtheme, Fusion theme, 189 statement of work (SOW), 246 Statistics module, 6, 232–233 status command, 267 status field, 93–94 status report link, 37, 234 Status Report page, 229 statusmodules (sm) command, 267 Sticky at top of lists option, 62, 71 Storage setting, 145 String Overrides module, 274 Strings to remove setting, 143 Stroke setting, 210 strongarm module, 271 style category, 149 style label, 149 style settings category, 148–150 styling sites, 182–188 with CSS, 185–188 basics of, 186 styling site name, 186–188 using local.css, 185 with Skinr, 182–185 Subdomains page, 219 submission access control option, 163 Submission form settings tab, 70 submit button, 113, 165
306
Summary or trimmed option, 83 summary style, 288 Superfish module, 280 Switch user block, 106–107 Syslog module, 6 system help block, 50 system requirements, for Drupal, 19–21
T t( ) function, 274 table header item, 284 tabs, 9 Tag drop-down list, 146 tagging, 67 Tags field, 73–74 tarball, 29 taxonomy in Drupal, 86–90 terms, 87–90 vocabularies, 87 Taxonomy module, 6 taxonomy term section, 77 Teaser section, 61 templates and PHP, 196–199 using for web design, 202–205 term ID, 87 terms data type, 145 terms, taxonomy in Drupal, 87–90 Testing module, 6, 216 text, and web design, 205–206 text fields, field types, 76–77 Text format drop-down menu, 15 text formats page, 155 "the settings file does not exist" message, 222 theme administration page, 64 Theme developer module, 216, 278 Theme: information setting, 150 ThemeKey module, 278–279 themes, 62–65, 173–199 building site first, 173–174 custom, creating, 188–195 adding style, 190–195 copying and editing Fusion's starter subtheme, 189 Fusion theme, 174–175 installing Fusion core, 174 installing Fusion sub-theme, 174–175 installing Skinr module, 175
INDEX
layout of, creating, 175–181 grid layout, 176–181 planning theme, 176 theme settings, 176 modules for, 278–279 Content Template module, 278 theme developer module, 278 ThemeKey module, 278–279 Zenophile module, 279 overview, 7 and PHP and template files, 196–199 selecting, 62–63 settings for, 64 and Skinr skins, 195–196 structuring for SEO, 261 styling sites, 182–188 with CSS, 185–188 with Skinr, 182–185 themes folder, 26, 40 This translation needs to be updated option, 131 TinyMCE editor, 262 title field, 11, 80–81, 257 Title field label setting, 70 title setting, 149 Toggle Display menu option, 50 Toolbar module, 7 tools tab, 144 top 'access denied' errors report, 233 top 'page not found' errors report, 233 top search phrases report, 232 Tracker module, 7, 136 translate tab, 128 Translation Interface page, 128 Translation tab, 130–131 Transliterate prior to creating alias setting, 143 transliteration module, 278 Trigger module, 7 Trimmed option, 83 Twitter module, 282 Type setting, 145, 209–210
U UI (User Interface), 173 underscore setting, 143 unformatted link, 148 uninstall command, 267 Units & Display Performance menu, 210 Units & Rulers menu, 209
up (update) command, 267 upc (updatecode) command, 267 Upcoming block, 289 Update action setting, 142–143 Update manager module, 7, 229, 235–236, 238–239 update notifications module, 229 Update Options drop-down menu, 97 update tab, 235–236, 238–239 update (up) command, 267 updatecode (upc) command, 267 updated (updb) command, 267 update.php file, 235, 267 updating Drupal, 235–240 contributed module via SSH, 237–239 Drupal core via SSH, 239–240 using update manager module, 235 updb (updated) command, 267 UPGRADE.txt file, 264 upload picture field, 98 URL alias, 13 URL path settings box, 13 Use AJAX setting, 149 Use pager setting, 149 Use the administration theme... check box, 64 Use the default logo check box, 65 Use the default shortcut icon check box, 65 User Interface (UI), 173 user menu, 8, 56 User menu block, 180 user menu Log out link, 8 User Points module, 282 User Protect module, 278 User Relationships module, 282 user-specific, visibility of blocks, 53 [user:cancel-url] link, 100 [user:cancel-url] variable, 100 [user:edit-url] variable, 99 [user:mail] variable, 99 username field, 94 user:name variable, 99, 139 [user:one-time-login-url] variable, 100 users data type, 145 Users may set their own time zone option, 44
V value is required field type, 75 variable delete (vdel) command, 267
307
Download from Wow! eBook <www.wowebook.com>
INDEX
variable get (vget) command, 267 variables set (vset) command, 267 vdel (variable delete) command, 267 verbose check box, 141 verify requirements page, 222 vertical tab menu, 111 vget (variable get) command, 267 view category settings, 149 view description setting, 146 View menu, 211 view name setting, 146 View Page Source option, 190 view settings category, 149 view tab, 135 view tag, 146 view usage statistics link, 253 Views Carousel plugin, 289 Views module, 144–154, 283–291 adding new, 146–149 administration of, 144–145 archive block, 286–288 and calendar module, 288–289 configuring which content to display with, 151–152 display for, 150–151 front-page view of, 153–154 image galleries with, 289–290 image slideshows with, 289 previewing the view, 153 settings for, 149– 150 using Nodequeue module with, 290–291 Views page, 144–146, 153 Views Slideshow plugin, 289 virtual private server (VPS), 20 visibility of blocks content type-specific, 52 page-specific, 52 role-specific, 53 user-specific, 53 vocabularies, taxonomy in Drupal, 87 Vote Count option, 134 votes tab, 136 VPS (virtual private server), 20 vset (variables set) command, 267
W watchdog delete (wd-del) command,268 watchdog list (wdlist) command, 268
308
watchdog table, 234 wd-del (watchdog delete) command, 268 wdlist (watchdog list) command, 268 web design, 201–214 configuring Photoshop and Illustrator for, 206–214 color settings in, 206–208 optimizing images with, 213 pixel-perfect lines in Illustrator, 210–212 pixel-perfect lines in Photoshop, 209–210 saving images with, 213 Slice and Slice Select tools, 212 and designing for browser, 201–202 and text, 205–206 using templates for, 202–205 Web Embedding Fonts Tool, 205 Web Host Manager (WHM), creating cPanel account with, 22–24 web hosts, 19–37 file and folder layout for Drupal core files, 25–26 and multisite installs, 28–29 sites directory, 26– 28 installing Drupal creating site-specific directory, 30–31 downloading to web host, 29–30 installing, 31 selecting, 19–21 setting up adding database with cPanel, 24–25 creating cPanel account with WHM, 22–24 Web server requirement, 20 webform content type, 160 webform module, 159–166 configuring, 160–163 creating web form with, 164–166 webform option, 164 webform settings option, 160 Webform tab, 166 -webkit-border-radius property, 194 websites, 11–17, 39–65. See also web design blocks for, 48–53 configuring, 50–53 content type-specific visibility of,52 creating, 15 moving, 50
INDEX
overview, 48–50 page-specific visibility of, 52 region settings for, 51 role-specific visibility of, 53 settings for, 51 user-specific visibility of, 53 configuration settings for, 41–47 and clean URLs, 47 date and time, 45 file system for, 47 private downloads for, 47 regional settings, 44 site information, 41–43 front page for, 60–62 iterative approach to creating, 39–40 maintaining, 229–234 backing up content, 240 checking reports section weekly, 232 checking security alerts, 231 menus for creating new menu, 57 creating new menu link, 58–59 default menus, 55–56 links for, 58 main menu, 55 management menu, 55 navigation menu, 55 overview, 54 secondary menu, 56 settings for, 56–57 user menu, 56 pages for, creating basic, 11–15 planning tools, 247–250 estimated-time spreadsheet, 249–250 requirements gathering, 247–248 using wireframes, 248–249 production site moving test site to, 223–227 preparing move to, 215–217
staging site setting up in cPanel, 218–221 troubleshooting, 221 themes for, 62–65 selecting, 62–63 settings for, 64 updating, 235–240 contributed module via SSH, 237–239 Drupal core via SSH, 239–240 using update manager module, 235 Weight field, 121 Weight option, 120 What-You-See-Is-What-You-Get (WYSIWYG), 139, 154–158, 257 WHM (Web Host Manager), creating cPanel account with, 22–24 Who can register accounts? section, 95 width of blocks, in Fusion themes, 180–181 of themes, 177 wireframes, using in website planning, 248–249 Wishlist module, 275, 281 WYSIWYG (What-You-See-Is-What-You-Get), 139, 154–158, 257
X XML sitemap module, for SEO, 260
Y yslow module, 261
Z Zen theme, 40, 212, 261, 279 Zenophile modules, 279
309
INDEX
310
comment_count, '1 Comment', '@count Comments'); ?>
197
CHAPTER 8