CH Spurgeon Morning & Evening

June 16th, 2013

CH Spurgeon Morning & EveningJoomla 3.0 version released on 16 June 2013.

*** This is a major update for users of this component on both Joomla! 1.5 & Joomla! 2.5. Please read Release History.

This component will display C. H. Spurgeon’s Morning and Evening as a Valid XHTML Joomla! component. The original excellent com_spurgeon, written by Foster Brereton, was joomla 1.0 built and works to display the articles in legacy mode of Joomla! 1.5. The only drawback was that it did not pass W3C validation. It has also been announced that Legacy mode will no longer be supported in joomla! 1.6. As of 22 July 2009, all native 1.0 components had been taken off the Extensions list. Based on these reasons, I spent time to convert this to joomla! 1.5 and subsequent versions.

This Spurgeon component also does not require administration.
To use the component:
a. After installing, in Administration select the menu under the Menus dropdown and then create a new Menu Item.
b. From the list of components, drilldown and select Spurgeon

***Release History
Dated 26 September 2012

This release of Spurgeon, dated 26 Sep 2012, addresses the issues found since the last release collectively for both Joomla 1.5 & 2.5.

The issues are:
-The previous versions are not properly built around the MVC framework
-some PHP code is legacy and may not work if PHP is v5.4 and later.
-There are 126 html files in Content folder that need amendments

This Joomla 2.5 Spurgeon Component now follows the Model-View-Controller (MVC) implementation for extensions. MVC enables modifications or upgrading the extension a lesser risk of breaking the extension compared to procedural code. Currently the articles are fetched from static html files in the Content folder. MVC makes it easier to change to retrieving the text from a database. This is planned for next major update.

Legacy PHP:
Shorthand or “shortcut” PHP code is now changed to be compatible with PHP 5.4. This was discovered by Jim Carrel of Trinity Bible Church of Oklahoma City who tested the new component on his development box.

Content folder:
Regarding the 733 html files in the Content folder, there are 126 files which have been corrected for inconsistencies, ‘scribal errors’ and positioning of paragraph tags inside the preformatted tags. These files are taken from public domain free sources and are never thoroughly checked for errors and inconsistencies.
These errors are repeated on many websites that features Spurgeon Morning & Evening. Some examples of errors can be found on the Mornings of 25 March and 6 September. Please accept William’s apologies for this oversight.

With this new release, user is able to style the Spurgeon page by modifying or adding to the style.css file.