Download presentation
Presentation is loading. Please wait.
1
Quinn Dombrowski, Research IT
Basics of Drupal for Researchers, part 2 Quinn Dombrowski, Research IT
2
What this workshop will cover
Today: Further discussion of data modeling Building content types Adding content Blocks Themes
3
Installing modules Administration menu Backup and migrate CTools
Pathauto Token Views
4
Modules for building content types
Date Fieldgroup Link References Automatic Nodetitles Hundreds of others
5
Founders on the Founders
9
Data modeling considerations
Data or metadata? Data becomes content types, metadata becomes fields (including taxonomy fields) Taxonomy or content type? Merging similar content types? Drupal-based considerations Hiding/displaying author/date information Comments URL patterns (Pathauto) Permissions
10
Data modeling exercise: Founders on the Founders
Example 1: Reference to Alexander Hamilton in a letter between two other parties Melancton Smith to Nathan Dane-June 28, 1788 "Hamilton is the champion, he speaks frequently, very long and very vehemently—has, like Publius, much to say not very applicable to the subject—"
11
Example 2: Reference to Alexander Hamilton in a document without a specific recipient
James Kent, “Memoirs” "Colonel Hamilton was indisputably pre-eminent [at the bar]. This was universally conceded. He rose at once to the loftiest heights of professional eminence by his profound penetration, his power of analysis, the comprehensive grasp and strength of his understanding, and the firmness, frankness, and integrity of his character." Example 3: Key person talking about herself Abigail Adams to John Adams - March 28, 1796 "I detest still life, and had rather be jostled than inanimate."
12
Example biography Born on Nevis, Leeward Islands, British West Indies. Came to America in Entered King’s College (Columbia), Wrote pamphlets and newspaper essays favoring independence, Commissioned by Second Provincial Congress to command artillery company, George Washington’s aide-de-camp with rank of lieutenant colonel, Married Elizabeth Schuyler, daughter of Philip Schuyler, Led attack on redoubt at Yorktown, Settled in Albany, studied law, and admitted to bar, Member, Confederation Congress, , Opened law office in New York City, Argued case of Rutgers v. Waddington, A founder of Bank of N.Y., Delegate to Annapolis Convention, 1786; drafted report of Convention. Member, state Assembly, Delegate to Constitutional Convention, 1787; signed Constitution as only N.Y. delegate. Published attack on Gov. George Clinton, 21 July Possible author of “Cæsar” essays, Co-author of “Publius”: The Federalist, Member, New York Convention, 1788; voted to ratify Constitution. U.S. Secretary of the Treasury, Leader of Federalist Party. After retirement from Treasury, returned to New York City to practice law; remained active in politics. Major General (second in command) of Provisional Army raised to meet potential threat from France, Opposed Aaron Burr’s election as U.S. Senator, 1797, as President, , and as governor of N.Y., Killed in duel with Burr.
13
Minimal content types Person
Name (can rename default Drupal title field) Biography (can rename default "body" field) Quote Title (e.g. "Alexander Hamilton: Melancton Smith to Nathan Dane-June 28, 1788") Quote (can rename default "body" field)
14
Creating content types
Add new content type Configure settings Add new fields Configure display Create dummy content to try it out
15
Improving Drupal’s paths
Important to configure before adding “real” content to the site
16
Touching up the content types
Person Name (title) Biography (body) Birth date (date) Death date (date) Image field Key person
17
Touching up the content types
Quote Title - automatic nodetitles Quote (body) Subject (node reference) Source (node reference) Recipient (node reference) Date (date)
18
Automatic nodetitles & Pathauto
Tokens: small pieces of data you can reuse in various places and ways. Examples: Most field values Content author Publication date
19
Create some dummy content!
20
Themes AdaptiveTheme family: enable AdaptiveTheme Core, but set one of the following as the default theme Corolla Sky Pixture Reloaded AT Commerce Can configure fonts, colors, etc. through the UI
21
Blocks Blocks are positioned in regions defined by your theme.
They can appear or be hidden based on role, content type, or path
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.