- Template Start Pages
- Adding, Editing and Deleting Content
- Using Valid HTML and CSS
- Announcing Your Project
All new projects come with some basic start pages in the PROJECTNAME/www/ directory. These include mostly html and css files that you can edit to get your project started quickly. There are also a couple of other files that are used to configure your project that will be discussed in depth in the Project Configuration section.
These templates are designed to use valid HTML and CSS and have been optimized to display best in standards-compliant browsers such as Mozilla, Netscape 6, and Internet Explorer 5 and higher. These templates have also been tested using Konqueror and Opera and should display fine. HTML and CSS compliance is optional though and you are free to replace any of these files or edit them however you want. For more information about standards compliance on mozdev, please visit the Website project.
The template files were edited in February 2002 to switch over from a table based layout to a CSS based layout. This change did not affect any projects created before this time, but if any existing project would like to switch over to these new templates they are free to do so. All of these files can be found in the Templates project and are available to be checked out anonymously through CVS using the guest/guest login.
Adding, Editing and Deleting Content
CVS is used to edit, update and add all source and content on mozdev.org, including a project's web pages. Web pages are contained in the www/ directory for each project, so to start making changes to your pages you first need to check out your project from CVS. Using a command line CVS client, you would do the following:
cvs -d :pserver:USERNAME@mozdev.org:/cvs login
cvs -d :pserver:USERNAME@mozdev.org:/cvs co PROJECTNAME
Note: The CVS commands above are for use with command line CVS clients. There are Windows and Macintosh CVS programs (such as WinCVS and TortoiseCVS for Windows and MacCVS and MacCVSClient for the Mac) that provide a graphical front end for CVS. For more information about CVS in general, there is an O'Reilly CVS Pocket Reference and a number of CVS help pages available. There is also a good cvs reference by John Haller "MozDev WinCVS Setup".
When the checkout is complete all of the project's contents will be on your computer and the web pages can be found at PROJECTNAME/www/. For all new projects there are already some Template Start Pages that have been included in this directory, although you are free to add whatever files or directories you want. After modifying files locally, you can commit these changes back to your project and they will show up on the site.
Note: To learn how to grant commit access to other people who are interested in helping with your project, read through the Granting New Project Roles section.
CVS is also used to take down a page from your site. Files removed in CVS are moved into an area called the Attic and are not deleted from the repository. This is done because CVS needs to keep a full history of all versions of all files in case an earlier version of a file needs to be brought back at some point.
Removed pages may not be linked to from your site anymore, but they will still be available online by browsing through your project's Attic using CVSweb. This means that a file removed from your site can still be found through a Google search, for instance. If you want to fully delete a file so it will no longer be on the site at all, send email to .
The pages you create for your projects are wrapped with the mozdev's branding and navigation. This means that there will be HTML that is added to the files in your www/ directory when they are displayed on the site. Ways to disable or modify this wrapping are discussed in the Project Configuration section, but the wrappers are added to your pages by default.
The wrappers include both the beginning and ending of the page that is displayed on the site, so it include both beginning and ending <html>, <head>, <title></title> and <body> tags. To avoid causing any conflicts it is recommended that you don't include these tags in the web pages you add to your project (unless you are planning on turning off the branding for those pages).
Once you've built out your project, there are a couple of ways for you to announce what you are working on to the community. You may want to submit information about your project for the Independent Status Reports that are posted on mozillazine.org about once every week or so. You can also have your project announced in the What's New section on mozdev's home page.
There are also several ways that your project is automatically publicized on the site. The Active Project list shows all project's that have had some CVS activity within the last 60 days. The last 6 projects that have had any CVS activity are also linked to in the Last Updated section on mozdev's home page. The Top 50 page also provides links to the 50 projects on the site with the highest number of page hits.
Note: Currently the category listings are not automatically updated, so please notify a site administrator when you are ready to have
your project added to the appropriate category list.