logo       


Re: about providing Links: msg#00013

Subject: Re: about providing Links
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

Attachment: signature.asc
Description: OpenPGP digital signature

Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe