I need to display part of my pages' path in the <title> meta HTML header instead of their basename ; e.g. for /abs/path/to/basename, I'd like to set it to path/to/basename.

Of course, one might consider it's my own problem, as I could workaround this in my templates, and replace, in the <title> meta HTML header, <TMPL_VAR TITLE> with a TMPL_LOOP on PARENTLINKS, but...

So I really want to avoid this ugly workaround.

Looking at Render.pm, the second solution I thought of was :

The only problems I can see with this approach are :

I'm not too convinced writing a plugin for such a small feature isn't overdoing it, so I'm tempted to implement this solution in the simplest way : the generated title would be the default and could be overridden later by plugins.

Joey, what do you think ?

(Before starting to write any single line of code, I need to know how much you are on the "if you can do it as a plugin, don't ever modify the core" side... :)

My general philosophy is that the core should be flexible enough to allow plugins to do arbitrary useful stuff. And there are some things in-core that I'd like to get out (such as backlinks processing), but that cannot currently be moved out efficiently. KISS is also part of my pholisophy.

So no, I don't like adding new options to the core that few users will want to use.

In case you're on the hardcore side, I would probably write a dedicated plugin, called genealogictitle or whatever, and :

-- intrigeri

Plugin sounds reasonable. --Joey

Well, it seems I once more designed a solution before clearly defining my problem... What I really need is more generic, can be done as a plugin, and deserves its own todo, so I'm tagging this one wontfix^W done. I'm sorry. -- intrigeri