How To Create Development Notes In A Word Processor Application

Author Moses Ndiritu 01/01/2010

Document intended for the webpage administrator/maintainer

To create web page of development notes for ePAR, it may be easier to type them on a word processor and then convert them into a web page, which can be hosted on this web page for reference. Here are the simple points to follow to make this possible.

1.    Create a word document as normally

2.    Save it as a web page from File|Save As dialogue

3.    Choose the name of the file to correspond with the title of the development notes that are being created

4.    At the saving dialogue, replace all spaces between words with an underscore (_) to allow for parsing by the web application

5.    Rename the file to a .phtml (php template file) file and put it in the application/modules/module-name/views/scripts/epar/Name_Of_File.phtml

6.    Put all the associated files in the /public/images/Name_Of_File folder – only the case if there are associated images etc

7.    Open the application/modules/module-name/views/scripts/epar/Name_Of_File.phtml on a text editor and search for the Name_Of_File and replace with :

<?=$this->baseUrl()?>/images/Name_Of_File_files

8.    Save and view the file at http://www.viskenya.com/epar/devnotes or on localhost http://localhost/projectname/epar/devnotes - replace the link with the correct parameters.