Tags:
create new tag
, view all tags

Question

I'm customizing the NatSkin, and would like to change the way the crumb trail appears; specifically, I'd like to remove the link to WebHome, as I'm linking to that elsewhere.

In short, my idea is to replace the Wiki logo by a friendly (text) version of the web name that links to WebHome, and thus the locator would no longer need to include the name of the web in its output string. See http://rabbit-island.net/cgi-bin/twiki/view/Main for a look at what I'm trying to do.

It looks like the locator is created by a call to %TMPL:P{"locator"}%, but I can't find where that variable is defined.

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, NatSkinPlugin
Server OS: Linux kernel 2.6.9-22.0.2.ELsmp
Web server: Apache 1.3.34
Perl version: 5.8.5
Client OS:  
Web Browser:  
Categories: Skin

-- MarcPerkins - 13 Feb 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

The template variable "locator" is defined in

attach.nat.tmpl
changeform.nat.tmpl
changes.nat.tmpl
edit.nat.tmpl
moveattachment.nat.tmpl
oops.nat.tmpl
preview.nat.tmpl
rdiff.nat.tmpl
renamebase.nat.tmpl
settings.nat.tmpl
view.nat.tmpl

and used in defaulttopbar.nat.tmpl.

-- MichaelDaum - 13 Feb 2006

That's it ... thanks!

-- MarcPerkins - 13 Feb 2006

 
Topic revision: r3 - 2006-02-13 - MarcPerkins
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.