Tags:
create new tag
view all tags

Question

How can one use some sort of Alias or Metaname instead of the Topicname in You are Here?

When looking to the template definition in pattern skin, the you are here path is created using web.parent...topicname.

However, we would like to use some sort of alias being displayed instead of the topicname, similar to creating an alias for hyperlinks based on topics.

Example:

lets say we have :

Web: Products
Topic1: NetWorking
Topic2: SwitchesAndRouter
Topic3: 3CoM

this would lead to:

You are here: Products->NetWorking->SwitchesAndRouter->3CoM

prefered would be:

You are here: Products->Networking Components->Switches and Router->3Com

The following ideas came to my mind:

  • create a meta tag within each topic, and change the template to use these metatags instead of the topicname. However, the usal way to edit a topic wont work for metadata.
  • create a variable like SET Aliasname on each topic and use it in the template. But then this had to be hidden from the regular view and would require something like a modified version of the HiddenTextPlugin. Open question: Would the variable defined this way be available to the template?
  • use forms on each page to set the alias. But then every page would show up with a form.

I think the Set Aliasname might be a good approach, because it behaves similar to set an ACL for a topic. The variable just should not show up in View Mode.
BTW. this might be desired also for ACL settings.

-- WolfgangAlper - 14 Mar 2005

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Installation, Missing functionality

-- WolfgangAlper - 14 Mar 2005

Answer

Did you have a look at PageTitleVariable? Maybe this can be enhanced to do what you want.

-- FranzJosefSilli - 15 Mar 2005

Thank you. This seems to be a very similar request. I will post a link to this topic there.

-- WolfgangAlper - 15 Mar 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-03-19 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.