Re: [viewvc-dev] Customize ViewVC html

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
Phil Pinkerton wrote:
> I'd like to add a message box to the ViewVC html page that contains the 
> Subversion repositories that users see when viewing via ViewVC.
> 
> Just an area for 1 or 2 lines to make comments (i.e. NOTICE; "Use of 
> ViewVC will require authorization"  or " ViewVC  will be upgraded 
> ??/??/????"
> 
> or another drop down menu to link to a local html with messages or 
> information.
> 
> Will such a modification cause any problems ?? Where is the default page 
> located ?

ViewVC provides templates which drive nearly all its output.  You should 
find in the templates/ directory a bunch of .ezt files.  The .ezt file which 
corresponds to the view of the list of repositories is "roots.ezt".  Open 
that file in a text editor and change it as you see fit.  Just be careful 
about adding text that has square brackets [] as the EZT parser will treat 
those as template directives.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH3+6nokEGqRcG/W4RAjbhAKCXuuYmsyJjoIxfH5kOQ0+NJIaj7wCgvubV
1McpqOGRCBuZnyvPcWirnzo=
=Z2Sj
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.