SlideShare a Scribd company logo
1 of 7
Download to read offline
Form Alterations - Getting What
   You Want in Drupal Without
   Hacking
   Presented by Mark W. Jarrell   Drupal/Twitter username: attheshow

   June 28, 2009                                    Http://fleetthought.com


Sunday, June 28, 2009
What are we talking about?



   ✤   This is a “how to” session

   ✤   Modify form elements in Drupal
       created by either core modules or
       contributed modules you’ve
       installed




Sunday, June 28, 2009
Why do we need to alter forms?

   ✤   Custom functionality for our sites

   ✤   Gives us more control over how
       things appear in our forms

   ✤   Can be used to increase efficiency
       for users entering things into
       Drupal’s forms

   ✤   Example: Prepopulating the
       domain part of the email address
       for our admin who’s adding new
       users.

Sunday, June 28, 2009
Why not just hack it?



   ✤   Maintaining something that’s hacked is difficult.

   ✤   When you upgrade, you may lose your changes.

   ✤   Other community members can help you because your system conforms to
       Drupal standards.




Sunday, June 28, 2009
What do we need to make it
   happen?

   ✤   Devel module
       http://drupal.org/project/devel

       ✤   Gives us a great function for
           inspecting forms (dsm())

   ✤   Build a custom module

       ✤   We’ll call ours “dcc09”




Sunday, June 28, 2009
Demo




Sunday, June 28, 2009
Further Reading Links

   ✤   “Modifying Forms in Drupal 5 and 6”
       http://www.lullabot.com/articles/modifying-forms-5-and-6

   ✤   hook_form_alter() function
       http://api.drupal.org/api/function/hook_form_alter/6

   ✤   The D6 Form API (a.k.a. FAPI) quickstart
       http://api.drupal.org/api/file/developer/topics/forms_api.html/6

   ✤   Form API reference
       http://api.drupal.org/api/file/developer/topics/
       forms_api_reference.html/6
                                                   Photo On Intro Slide: Http://is.gd/17yFt



Sunday, June 28, 2009

More Related Content

What's hot

Features everywhere
Features everywhere Features everywhere
Features everywhere Mediacurrent
 
Webform 8.x 5.x - DrupalCon Baltimore
Webform 8.x 5.x - DrupalCon BaltimoreWebform 8.x 5.x - DrupalCon Baltimore
Webform 8.x 5.x - DrupalCon BaltimoreJacob Rockowitz
 
choosing content management system cms for your website
choosing content management system cms for your websitechoosing content management system cms for your website
choosing content management system cms for your websitehkallouch
 
Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...
Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...
Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...DrupalCamp Kyiv
 
WDC - Presentation
WDC - PresentationWDC - Presentation
WDC - Presentationapondlife
 

What's hot (7)

Features everywhere
Features everywhere Features everywhere
Features everywhere
 
Drupal H5P
Drupal H5PDrupal H5P
Drupal H5P
 
Webform 8.x 5.x - DrupalCon Baltimore
Webform 8.x 5.x - DrupalCon BaltimoreWebform 8.x 5.x - DrupalCon Baltimore
Webform 8.x 5.x - DrupalCon Baltimore
 
choosing content management system cms for your website
choosing content management system cms for your websitechoosing content management system cms for your website
choosing content management system cms for your website
 
Drupal distribution
Drupal distributionDrupal distribution
Drupal distribution
 
Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...
Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...
Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...
 
WDC - Presentation
WDC - PresentationWDC - Presentation
WDC - Presentation
 

Viewers also liked

Web Accessibility Gone Wild
Web Accessibility Gone WildWeb Accessibility Gone Wild
Web Accessibility Gone WildJared Smith
 
Bi Implementatie E Business
Bi Implementatie E BusinessBi Implementatie E Business
Bi Implementatie E BusinessBullfrog Avenue
 
How To Use Social Networks As A Hr Tool
How To Use Social Networks As A Hr ToolHow To Use Social Networks As A Hr Tool
How To Use Social Networks As A Hr ToolJason P. Sullivan
 
Teletrabajando Desde La Oficina Coworking Bar Camp
Teletrabajando Desde La Oficina   Coworking   Bar CampTeletrabajando Desde La Oficina   Coworking   Bar Camp
Teletrabajando Desde La Oficina Coworking Bar CampFernando Maclen
 
My Presentation Park Lay
My Presentation Park LayMy Presentation Park Lay
My Presentation Park Layjunowedd
 
Deloitte publicatie cloud diner
Deloitte publicatie cloud dinerDeloitte publicatie cloud diner
Deloitte publicatie cloud dinerTheo Slaats
 
AMSA Industry Trends
AMSA Industry TrendsAMSA Industry Trends
AMSA Industry Trendsagalecke
 
Adapt Presentation 2011 Master Slide Show
Adapt Presentation 2011   Master   Slide ShowAdapt Presentation 2011   Master   Slide Show
Adapt Presentation 2011 Master Slide Showjojones
 
CITI Presentation
CITI PresentationCITI Presentation
CITI Presentationamcneile
 
Shmoop Overview for Teachers: Fun, Rigorous Resources for Your Classroom
Shmoop Overview for Teachers: Fun, Rigorous Resources for Your ClassroomShmoop Overview for Teachers: Fun, Rigorous Resources for Your Classroom
Shmoop Overview for Teachers: Fun, Rigorous Resources for Your ClassroomShmoop
 
budować i wykorzystywać społeczności internetowe w nowoczesnych działaniach e...
budować i wykorzystywać społeczności internetowe w nowoczesnych działaniach e...budować i wykorzystywać społeczności internetowe w nowoczesnych działaniach e...
budować i wykorzystywać społeczności internetowe w nowoczesnych działaniach e...Sławomir Stańczuk
 
Enlace de comunicaciones por microondas ciudad universitaria (pachuca)–campus...
Enlace de comunicaciones por microondas ciudad universitaria (pachuca)–campus...Enlace de comunicaciones por microondas ciudad universitaria (pachuca)–campus...
Enlace de comunicaciones por microondas ciudad universitaria (pachuca)–campus...Rodrigo Trejo Riascos
 
Angielskie metro
Angielskie metroAngielskie metro
Angielskie metroAleksandra
 

Viewers also liked (20)

Web Accessibility Gone Wild
Web Accessibility Gone WildWeb Accessibility Gone Wild
Web Accessibility Gone Wild
 
Presentatie Web 2.0
Presentatie Web 2.0Presentatie Web 2.0
Presentatie Web 2.0
 
Easy Web Design
Easy Web DesignEasy Web Design
Easy Web Design
 
Animations
AnimationsAnimations
Animations
 
Bi Implementatie E Business
Bi Implementatie E BusinessBi Implementatie E Business
Bi Implementatie E Business
 
How To Use Social Networks As A Hr Tool
How To Use Social Networks As A Hr ToolHow To Use Social Networks As A Hr Tool
How To Use Social Networks As A Hr Tool
 
Teletrabajando Desde La Oficina Coworking Bar Camp
Teletrabajando Desde La Oficina   Coworking   Bar CampTeletrabajando Desde La Oficina   Coworking   Bar Camp
Teletrabajando Desde La Oficina Coworking Bar Camp
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
My Presentation Park Lay
My Presentation Park LayMy Presentation Park Lay
My Presentation Park Lay
 
Deloitte publicatie cloud diner
Deloitte publicatie cloud dinerDeloitte publicatie cloud diner
Deloitte publicatie cloud diner
 
AMSA Industry Trends
AMSA Industry TrendsAMSA Industry Trends
AMSA Industry Trends
 
Ejercicios estadistica
Ejercicios estadisticaEjercicios estadistica
Ejercicios estadistica
 
Taller imp
Taller impTaller imp
Taller imp
 
Adapt Presentation 2011 Master Slide Show
Adapt Presentation 2011   Master   Slide ShowAdapt Presentation 2011   Master   Slide Show
Adapt Presentation 2011 Master Slide Show
 
Tundra Ppt Delegado
Tundra Ppt DelegadoTundra Ppt Delegado
Tundra Ppt Delegado
 
CITI Presentation
CITI PresentationCITI Presentation
CITI Presentation
 
Shmoop Overview for Teachers: Fun, Rigorous Resources for Your Classroom
Shmoop Overview for Teachers: Fun, Rigorous Resources for Your ClassroomShmoop Overview for Teachers: Fun, Rigorous Resources for Your Classroom
Shmoop Overview for Teachers: Fun, Rigorous Resources for Your Classroom
 
budować i wykorzystywać społeczności internetowe w nowoczesnych działaniach e...
budować i wykorzystywać społeczności internetowe w nowoczesnych działaniach e...budować i wykorzystywać społeczności internetowe w nowoczesnych działaniach e...
budować i wykorzystywać społeczności internetowe w nowoczesnych działaniach e...
 
Enlace de comunicaciones por microondas ciudad universitaria (pachuca)–campus...
Enlace de comunicaciones por microondas ciudad universitaria (pachuca)–campus...Enlace de comunicaciones por microondas ciudad universitaria (pachuca)–campus...
Enlace de comunicaciones por microondas ciudad universitaria (pachuca)–campus...
 
Angielskie metro
Angielskie metroAngielskie metro
Angielskie metro
 

Similar to Form Alterations

Building User-Centred Websites with Drupal
Building User-Centred Websites with DrupalBuilding User-Centred Websites with Drupal
Building User-Centred Websites with Drupalamanda etches
 
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...Eric Sembrat
 
Drupal 6 Theming using the Zen Theme
Drupal 6 Theming using the Zen ThemeDrupal 6 Theming using the Zen Theme
Drupal 6 Theming using the Zen Themeinfowonders
 
Drupal 6 Performance Tips
Drupal 6 Performance TipsDrupal 6 Performance Tips
Drupal 6 Performance TipsTrevor James
 
There's a Module for That, MIMA Summit 2010
There's a Module for That, MIMA Summit 2010There's a Module for That, MIMA Summit 2010
There's a Module for That, MIMA Summit 2010Emma Jane Hogbin Westby
 
Introduction into Drupal site building
Introduction into Drupal site buildingIntroduction into Drupal site building
Introduction into Drupal site buildingIztok Smolic
 
#D8CX: Upgrade your modules to Drupal 8 (Part 1 and 2)
#D8CX: Upgrade your modules to Drupal 8 (Part 1 and 2)#D8CX: Upgrade your modules to Drupal 8 (Part 1 and 2)
#D8CX: Upgrade your modules to Drupal 8 (Part 1 and 2)Konstantin Komelin
 
Drupal 8 as a Drop-In Content Engine - SymfonyLive Berlin 2015
Drupal 8 as a Drop-In Content Engine - SymfonyLive Berlin 2015Drupal 8 as a Drop-In Content Engine - SymfonyLive Berlin 2015
Drupal 8 as a Drop-In Content Engine - SymfonyLive Berlin 2015Jeffrey McGuire
 
Customizing the Django Admin
Customizing the Django AdminCustomizing the Django Admin
Customizing the Django AdminLincoln Loop
 
Form Follows File
Form Follows FileForm Follows File
Form Follows FileAdub
 
Keeping lab notes as a software developer
Keeping lab notes as a software developerKeeping lab notes as a software developer
Keeping lab notes as a software developerJames McKay
 
Drupal 6-performance-tips-slideshare
Drupal 6-performance-tips-slideshareDrupal 6-performance-tips-slideshare
Drupal 6-performance-tips-slideshareTrevor James
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalRod Martin
 
Drupal Camp Victoria
Drupal Camp VictoriaDrupal Camp Victoria
Drupal Camp VictoriaImage X Media
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Angela Byron
 

Similar to Form Alterations (20)

Building User-Centred Websites with Drupal
Building User-Centred Websites with DrupalBuilding User-Centred Websites with Drupal
Building User-Centred Websites with Drupal
 
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
October 2016 - USG Rock Eagle - Everything You Need to Know to Plan Your Drup...
 
Moving to Drupal
Moving to DrupalMoving to Drupal
Moving to Drupal
 
Drupal 6 Theming using the Zen Theme
Drupal 6 Theming using the Zen ThemeDrupal 6 Theming using the Zen Theme
Drupal 6 Theming using the Zen Theme
 
Drupal 6 Performance Tips
Drupal 6 Performance TipsDrupal 6 Performance Tips
Drupal 6 Performance Tips
 
There's a Module for That, MIMA Summit 2010
There's a Module for That, MIMA Summit 2010There's a Module for That, MIMA Summit 2010
There's a Module for That, MIMA Summit 2010
 
Introduction into Drupal site building
Introduction into Drupal site buildingIntroduction into Drupal site building
Introduction into Drupal site building
 
#D8CX: Upgrade your modules to Drupal 8 (Part 1 and 2)
#D8CX: Upgrade your modules to Drupal 8 (Part 1 and 2)#D8CX: Upgrade your modules to Drupal 8 (Part 1 and 2)
#D8CX: Upgrade your modules to Drupal 8 (Part 1 and 2)
 
#D8 cx: upgrade your modules to drupal 8
#D8 cx: upgrade your modules to drupal 8 #D8 cx: upgrade your modules to drupal 8
#D8 cx: upgrade your modules to drupal 8
 
Drupal Flyover, CMS Expo
Drupal Flyover, CMS ExpoDrupal Flyover, CMS Expo
Drupal Flyover, CMS Expo
 
Drupal 8 as a Drop-In Content Engine - SymfonyLive Berlin 2015
Drupal 8 as a Drop-In Content Engine - SymfonyLive Berlin 2015Drupal 8 as a Drop-In Content Engine - SymfonyLive Berlin 2015
Drupal 8 as a Drop-In Content Engine - SymfonyLive Berlin 2015
 
Django
DjangoDjango
Django
 
Customizing the Django Admin
Customizing the Django AdminCustomizing the Django Admin
Customizing the Django Admin
 
Form Follows File
Form Follows FileForm Follows File
Form Follows File
 
Keeping lab notes as a software developer
Keeping lab notes as a software developerKeeping lab notes as a software developer
Keeping lab notes as a software developer
 
Drupal 6-performance-tips-slideshare
Drupal 6-performance-tips-slideshareDrupal 6-performance-tips-slideshare
Drupal 6-performance-tips-slideshare
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to Drupal
 
Hacking core
Hacking coreHacking core
Hacking core
 
Drupal Camp Victoria
Drupal Camp VictoriaDrupal Camp Victoria
Drupal Camp Victoria
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8
 

More from Mark Jarrell

One Man Band - Drupal Lightning Talks
One Man Band - Drupal Lightning TalksOne Man Band - Drupal Lightning Talks
One Man Band - Drupal Lightning TalksMark Jarrell
 
Building a Mobile Drupal Site
Building a Mobile Drupal SiteBuilding a Mobile Drupal Site
Building a Mobile Drupal SiteMark Jarrell
 
APSU Drupal Training
APSU Drupal TrainingAPSU Drupal Training
APSU Drupal TrainingMark Jarrell
 
APSU Drupal Training Personal
APSU Drupal Training PersonalAPSU Drupal Training Personal
APSU Drupal Training PersonalMark Jarrell
 
APSU Drupal Training - Personal Sites
APSU Drupal Training - Personal SitesAPSU Drupal Training - Personal Sites
APSU Drupal Training - Personal SitesMark Jarrell
 
Building University Websites with the Drupal Content Management System
Building University Websites with the Drupal Content Management SystemBuilding University Websites with the Drupal Content Management System
Building University Websites with the Drupal Content Management SystemMark Jarrell
 

More from Mark Jarrell (6)

One Man Band - Drupal Lightning Talks
One Man Band - Drupal Lightning TalksOne Man Band - Drupal Lightning Talks
One Man Band - Drupal Lightning Talks
 
Building a Mobile Drupal Site
Building a Mobile Drupal SiteBuilding a Mobile Drupal Site
Building a Mobile Drupal Site
 
APSU Drupal Training
APSU Drupal TrainingAPSU Drupal Training
APSU Drupal Training
 
APSU Drupal Training Personal
APSU Drupal Training PersonalAPSU Drupal Training Personal
APSU Drupal Training Personal
 
APSU Drupal Training - Personal Sites
APSU Drupal Training - Personal SitesAPSU Drupal Training - Personal Sites
APSU Drupal Training - Personal Sites
 
Building University Websites with the Drupal Content Management System
Building University Websites with the Drupal Content Management SystemBuilding University Websites with the Drupal Content Management System
Building University Websites with the Drupal Content Management System
 

Recently uploaded

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Recently uploaded (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

Form Alterations

  • 1. Form Alterations - Getting What You Want in Drupal Without Hacking Presented by Mark W. Jarrell Drupal/Twitter username: attheshow June 28, 2009 Http://fleetthought.com Sunday, June 28, 2009
  • 2. What are we talking about? ✤ This is a “how to” session ✤ Modify form elements in Drupal created by either core modules or contributed modules you’ve installed Sunday, June 28, 2009
  • 3. Why do we need to alter forms? ✤ Custom functionality for our sites ✤ Gives us more control over how things appear in our forms ✤ Can be used to increase efficiency for users entering things into Drupal’s forms ✤ Example: Prepopulating the domain part of the email address for our admin who’s adding new users. Sunday, June 28, 2009
  • 4. Why not just hack it? ✤ Maintaining something that’s hacked is difficult. ✤ When you upgrade, you may lose your changes. ✤ Other community members can help you because your system conforms to Drupal standards. Sunday, June 28, 2009
  • 5. What do we need to make it happen? ✤ Devel module http://drupal.org/project/devel ✤ Gives us a great function for inspecting forms (dsm()) ✤ Build a custom module ✤ We’ll call ours “dcc09” Sunday, June 28, 2009
  • 7. Further Reading Links ✤ “Modifying Forms in Drupal 5 and 6” http://www.lullabot.com/articles/modifying-forms-5-and-6 ✤ hook_form_alter() function http://api.drupal.org/api/function/hook_form_alter/6 ✤ The D6 Form API (a.k.a. FAPI) quickstart http://api.drupal.org/api/file/developer/topics/forms_api.html/6 ✤ Form API reference http://api.drupal.org/api/file/developer/topics/ forms_api_reference.html/6 Photo On Intro Slide: Http://is.gd/17yFt Sunday, June 28, 2009