On Wed, May 6, 2009 at 5:13 AM, Lukas Renggli <renggli@gmail.com> wrote:
> I tried several ways, but no one works. It always shows the name of the
> parent.
>
> I tried, for example:
>
> +Return to the lists of blogs>value:parent|link+

Hmm, there are bugs with +value:parent+, I fixed them in the latest commit.

Ok, I will see them then.
 

Relating your question:

What you are trying to do is currently not possible. The alias is only
displayed in case there is no parent. I realized already a while ago
that this is not really intuitive, furthermore it does not allow users
to arbitrarily format the generated string. I am thinking of adding
something along these lines:

   +Return to {title}>value:parent|link+

In case this was already at the root, a replacement could be displayed
like this:

    +Return to {title}>value:parent|link|otherwise=You are already at the root+

I don't like the {}-thing though. Maybe there are better ideas there?

I think we are mixing 2 features:

1) Being able to have a link to the parent and put the alias you want. For example:

+Return to the lists of blogs>value:parent|link+

In this case I put an alias "Return to the lists of blogs" no matter which the parent name is.

2) Being able to put the parent name as part of the alias. Example:

+Return to {title}>value:parent|link|otherwise=You are already at the root+
 

My question was about 1) but having 1) and 2) would be very nice indeed.

I haven't any idea but I think {} is fine for me. We cannot put something very common to put in a link because we will then have to scape it. What I don't understand is if "title" not the {} is hardcoded (always have to be title) or I can put whatever I want.

Thanks!

Mariano




Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki