Table of Contents
To Begin.....................................................................................................................................................1
Requirements.............................................................................................................................................1
A Module is More than a Plugin................................................................................................................1
The Simplest, Silliest Module....................................................................................................................3
Tell CMSMS About Your Module.............................................................................................................3
The Lang File.............................................................................................................................................6
The Installation Routine.............................................................................................................................7
Uninstall.....................................................................................................................................................8
Status Report..............................................................................................................................................9
The HolidayItem Class.............................................................................................................................10
Your First Admin Action..........................................................................................................................12
Add Holidays to the Database..................................................................................................................16
Creating a List View.................................................................................................................................20
Status Report............................................................................................................................................24
Editing an Existing Record......................................................................................................................24
Deleting a Record.....................................................................................................................................25
Our First Front End Action......................................................................................................................27
A Detail View...........................................................................................................................................30
Status Report............................................................................................................................................32
Adding A Detail Page Parameter and a Page limit...................................................................................33
SEO Friendly URLS and Routes.............................................................................................................36
Registering the Module Name.................................................................................................................38
Search module Integration.......................................................................................................................39
Lazy Loading...........................................................................................................................................42
Asynchronous Content.............................................................................................................................44
Final Status Report...................................................................................................................................46
Taking this Module Further......................................................................................................................47
Working with Other Modules...................................................................................................................48
Translations..............................................................................................................................................50
What's Changing......................................................................................................................................52
Scratched the Surface...............................................................................................................................52
References................................................................................................................................................53
Conclusion...............................................................................................................................................53