Sermon Management System Extension
Tutorial:Sermon Management System Extension
Modify the Sermon Management System HTML Template
Modifying an SMS template is a matter of changing the HTML file where the SMS views are stored.
As you view the template in your HTML editor, you will see what looks like a "nearly" standard HTML file. The file is wrapped in <html>, <head>, and <body> tags like most web pages. However, the template uses markers to direct TYPO3 to reference and render only relevant portions of the file (for instance, only the Brief Layout, etc.). Each marker is itself wrapped in triple hash marks such as . Each of the markers are defined at the top of the template itself for your convenience.
Download a Copy of the SMS Template File
- Log into the Back End and click on the Extension Manager Module under Tools.
- Choose the Loaded Extensions option underneath the Menu: drop down.
- Use the Look Up search box to filter the list by the keyword "sermon," and click the Search button.
- Click on the link named WEC Sermon Management System.
- On the Extension Files page, choose Edit Files from the drop down menu in the upper right of the page.
- Scroll down the page and click on the link pi1/wecsermons.tmpl, and save the file to your hard drive where you can retrieve and edit it.
You may edit the file from the location you saved it to before uploading it back to TYPO3, or you may upload the file and edit it directly from the online folder, whichever you prefer. - If you wish, make the modifications to the file now by editing in the location it was saved.
Upload the Template File to the TYPO3 Fileadmin Folders
- Back in the TYPO3 Back End, click on the Filelist module under File. This is where we will upload the new template file to.
- Click on the folder name where you wish to store the template file. If necessary create a folder to organize your files where you'd like. The folder should be one where you store template files for TYPO3 plug-ins.
- Click the Upload button to open the file upload page.
- Click the Browse button to display the Open File dialog, and browse to the location you saved the template from step 6 above.
- Click the Upload Files button.
If you wish, you can edit the file in place now that it is uploaded to the TYPO3 folder. Steps 13- will walk you through this. - Click on the icon next to the right of the wecsermons.tmpl file name to display the context menu.
- Click the Edit option within the context menu. From here you can make any modifications to template file that you require.
- After you are finished, click the Save and Close button to save your modifications.
- Make note of the location where you have uploaded the modified template file as you will use this in later steps.
Modify the Template Record for the SMS
We will now activate the modified template by specifying the new location through the template record.
- Click on the Template module.
- Click on the name of the page where you have configured the SMS plug-in.
- Choose the Constant Editor option from the drop down menu in the upper right corner of the page.
- Choose PLUGIN.TX_WECSERMONS_PI1 from the Category: drop down menu.
- Scroll down the page to the Files constants, and click the check box underneath Template File Path.
- Scroll back up the page and click the Update button.
- In the Template File Path text box, paste in the path to the modified template file you uploaded in steps 10-12. The path should be prepended with "fileadmin/" followed by <folder(s)>/<filename>.
- Scroll up the page and click the Update button once again.
At this point your modified template should be activated, and your changes should be visible on the page you changed.


