Difference between revisions of "CCBER Drupal"

From Stadm
Jump to navigationJump to search
Line 53: Line 53:
 
==Editing==
 
==Editing==
 
*For text views, I created a nid edit field link at the top, which an administrator can click to edit each node.
 
*For text views, I created a nid edit field link at the top, which an administrator can click to edit each node.
**To prevent non administrators from seeing this, we can install Field Permissions module
+
**This is added in the views-view-fields.tpl.php file, which grabs the hidden NID from the node in the view and prints it out in a link to the edit page for that node
 +
 
 
==Update==
 
==Update==
 
*Updated drupal on August 27th 2012
 
*Updated drupal on August 27th 2012

Revision as of 14:56, 28 August 2012


This is the project development documentation for the new CCBER Drupal site.

Pages That Have Been Built

  • Home
    • Panel
  • Kids in Nature
    • Panel
    • Partners
      • Panel
  • News and Events
    • Panel
  • Photo Gallery
    • View
  • People
    • View
  • Send-Email with argument NID

Navigation Bar

  • Changed index to home

Nested Menus

  • Nested menu now exists for home -- still need some styling
  • Need the rest (only "Collections" has been done)

Page Structure

  • Pages should all be made with panels (with the exception of those that are less static (eg. Image Gallery, News Blog)
  • These are two columns with a top and bottom row
  • Images should go in left column, text in right
  • Each image and text paragraph should be its own node (of type Image/Photo or Page Text)
    • Each of these nodes should contain a taxonomy term for the page it should show on (eg. type "Collections" will show on the right column of the page "Collections"

News & Events

  • Blog?
  • What to do about Newsletters?
  • All elements are on two column panel layout page
    • Added calendar, which floats to the left. News blog is at the bottom, but there will be a recent announcements widget at the top

Gallery

  • Added content type for photos
  • Created taxonomy for images based on page names
    • Could filter pages to display on page by this taxonomy or create a view that displays the images from several or all pages
  • Built Photo Gallery view
  • Added quicktabs to filter by taxonomy
  • Header on Gallery page not showing up -- needs to be added to context filter

Wrapper

  • Wrappers need to be shrunk to fit page

Fonts

Installed flowerchild font with @font-your-face, but wasn't able to edit panel title with panels css editor -- will wait for stylesheet access.

Editing

  • For text views, I created a nid edit field link at the top, which an administrator can click to edit each node.
    • This is added in the views-view-fields.tpl.php file, which grabs the hidden NID from the node in the view and prints it out in a link to the edit page for that node

Update

  • Updated drupal on August 27th 2012
    • Gave warning for DB: "You have pending database updates. Run `drush updatedb` or visit update.php in your browser. [warning]
The following updates are pending:"

Modules We Need

  • Webform
  • Slideshow Views
  • Field Permissions
  • View Bulk Options

Questions

  • Do we want to keep the nested menu style?
  • How should we display annual reports?
  • What should we use as the header on subpages and new pages
  • Does the CCBER content type have the same data on bios as ERI?
    • Offices, Degrees etc?
  • Profiles page?