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
--
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