Difference between revisions of "Drupal Announcements"

From Stadm
Jump to navigationJump to search
Line 21: Line 21:
 
**Ultimately, we need a php script or module that will generate html to format an "Outage Event"
 
**Ultimately, we need a php script or module that will generate html to format an "Outage Event"
 
***Possible solutions:
 
***Possible solutions:
##We might be able to do a Webform that formats text and sends the resulting HTML code to user for input into "Event" field.
+
****We might be able to do a Webform that formats text and sends the resulting HTML code to user for input into "Event" field.
##Make a module that intercepts Content Addition, and formats various fields into one formatted "Body"
+
****Make a module that intercepts Content Addition, and formats various fields into one formatted "Body"
###Inserts it into database as a normal "Event"
+
*****Inserts it into database as a normal "Event"

Revision as of 11:54, 27 July 2012


Use of the Announcements view on the Drupal IT site is fairly straight forward. Any logged in user can add an event, and it will appear on in a formatted table on the front page of the site.

Location

Structure/Advanced

Event

  • The Announcements view displays content of type = "Announcement"
    • The fields within each "Announcement" are Title, Body, and Date
      • The date must be a single day event, but the user may select a specific time for sorting or informational purposes
  • The content is displayed in a table within a block view titled "Announcements"
    • The block appears in the content region below "Main Content"
  • The "Date" and "Body" fields are displayed within the table

Outage

  • Currently, there isn't an easy tool for formatting an "Outage" in the table
    • Ultimately, we need a php script or module that will generate html to format an "Outage Event"
      • Possible solutions:
        • We might be able to do a Webform that formats text and sends the resulting HTML code to user for input into "Event" field.
        • Make a module that intercepts Content Addition, and formats various fields into one formatted "Body"
          • Inserts it into database as a normal "Event"