Skip to content

Latest commit

 

History

History
19 lines (9 loc) · 524 Bytes

exercises.md

File metadata and controls

19 lines (9 loc) · 524 Bytes

Hooks and Filters Exercises

Refer to the hooks documentation

Add content to collections pages

  • use the public_collections_show hook

Add content to all pages

  • use the public_body hook

Add a navigation link to the whatnot/thingy page (from ControllersAndViews demo)

  • use the public_navigation_main filter
  • compare how SimplePages build the url in its admin_navigation_main filter