The web pages MeAndMyGall creates are assembled from the templates in the directory where the program is located. If you know some CSS and/or HTML you might want to edit those files. Of course as you already expected, do so at your own peril :-) In the following chapters I first give a description of how the template system works followed by the available templates and the codes contained within. The autorun utility can also be used outside MeAndMyGall. You can create a CD-Rom that can actually start any program associated with some file. The last chapter discusses use of the autorun utility. |
||
2.1 TemplatesThis chapter discusses how you can modify MeAndMyGall templates. This way you can have more control over how your site will look. However this comes at the price that you have to know HTML and CSS. 2.1.1 Template SystemThe different pages that make up your final web site are mostly created from templates in the program's home directory. These templates are plain HTML with some codes inserted. When your web pages are created those codes are replaced by something meaningfull depending on images, text and styles you selected or entered. Codes can be recognized by the dollar sign at both sides like "$CSSMAINBS$" which is a code contained in the style sheet file and reflects the selection a user made for the main border style. 2.1.2 Available templatesThere are four template files.
|
||
2.1.3 Template CodesThis is a comprehensive list of all codes used in the template files.
|
||
2.2 Using the autorun function outside MeAndMyGallWith MeAndMyGall comes a handy autorun utility that you may find useful outside MeAndMyGall. This chapter contains instructions about setting up such a CD-Rom. 2.2.1 Creating an autorun CD-RomIf you browse to the directory where MeAndMyGall is installed or you look into "Local Dir" directory. You will find two files starting with 'autorun'. These files are:
When windows is notified that a CD-Rom is inserted it will read the autorun.inf file. This file contains one section named "Autorun". The section consists of a line that tells ms-windows what icon it should show for the CD-Rom (for instance when you open explorer). The other line tells windows what it should do. [Autorun] open=autorun.exe \index.html icon=MeAndMyGall.ico As you can see the standard "autorun.inf" tells windows to show the MeAndMyGall.ico and execute the "autorun.exe" utility with as paramater the start page of your gallery. Actually the only thing "autorun.exe" does is telling windows to "open" the second parameter. To create a CD-Rom of your own you can replace the icon with your own icon. If you rename your icon don't forget to rename it in the autorun.inf file as well. Secondly you can open any file that is associated by some program in windows. For instance if you have Excel installed you can automatically open a file "finance.xls" by creating an icon name "finance.ico" (any name will do actually) and creating the following autorun.inf file: [Autorun] open=autorun.exe \finance.xls icon=finance.ico The root of your custom made CD-Rom should then contain the following files:
|