It'd be nice to have the ability to set a path to prepend to all the occurencies of a class.
I'll explain myself better with an example. Let's assume link of the class "glossary" link always to the same page and differ only by an anchor, so /glossary#chair and /glossary#sofa are valid links. I am proposing to add a prepath field to the class table so when you use the filter you only need to specify "#chair" or "#sofa" having the filter prepend automagically the "/glossary" part.

Comments

jhriggs’s picture

Assigned: Unassigned » jhriggs
Status: Active » Fixed

I just committed version 5.x-1.0 to CVS. It includes similar functionality to this. Classes can now have a URL template that, if provided, will be used as the basis for the link that is created. For example, a template of http://google.com/search?q= and a context link of [?google:foo foo] will result in a link to http://google.com/search?q=foo. An optional placeholder can be used if the variable part of the link is not at the end, for example http://google.com/search?q={}&hl=en&lr=lang_sr. ({} is the placeholder.)

Anonymous’s picture

Status: Fixed » Closed (fixed)