binod - wrote:
> Hi, All
>
> Its been around 3 weeks that I am running ViewVC to provide the web
> browser for the subversion.
>
> I am running ViewVC in standalone mode.
>
> I would like to add some external links on my web browser like : I want
> to add our organization's weblink, and some other important weblink,
> like ViewVC documentation and all that.
>
> So which file should I be modifying do do all that? Is it possible on
> standalone mode or I have to use some other webserver like apache and
> then only I can configure it that way.
>
> I would really appreciate your help.
ViewVC is template-driven, and all the templates live in the 'templates'
subdirectory. There's generally a 1-to-1 mapping between ViewVC "view"
(such as "directory", "markup", etc.) to template files ("directory.ezt",
"markup.ezt", etc.). But templates can include other templates, which
allows you to have, say, common header and footer templates across all
ViewVC views. This is exactly what the default templates do -- in
templates/include you'll find header.ezt and footer.ezt, and these "wrap"
all the output from ViewVC. It's there that you could put your custom links.
If you house your additional web materials inside templates/docroot/, then
you can refer to them in the templates as [docroot]/some/file.html, and via
URLs that look something like
http://server.com/viewvc/*docroot*/some/file.html. Again, ViewVC uses this
same construct itself for serving up the ViewVC online help documentation.
--
C. Michael Pilato <cmpilato@xxxxxxxxxx>
CollabNet <> www.collab.net <> Distributed Development On Demand
signature.asc
Description: OpenPGP digital signature
|
|