I'm not against supporting a display-title field. I think there are
situations in which it is very useful. But it's got to be optional, and not
intrusive for users who don't need it.

It's very easy to experiment with, just open $:/core/ui/ViewTemplate/title
and insert the following before the 2nd list widget on line 17:

<$view field="display-title">

Then close the view widget after the closing </$list> on line 28. It works
because of the way that the view widget falls back to its contained content
if the specified field is not present.

We'd also need to update the link widget to use the display-title field if
it is present.

BJ's idea could be implemented by wikifying the display-title field; one
could then set it to:

<<my-funky-title-formatter {{!!title}}>>

In this case the display-title field would be automatically derived from
the title.

We could have a cascade system so that tiddlers that don't have a
display-title field also look for a display-title variable, and then fall
back to the title field.

So I guess if we want to proceed with this the thing would be to refactor
the core so that we've got the right attachment points. For example, we
might break out the title rendering from $:/core/ui/ViewTemplate/title into
a separate tiddler so that it is easier to override in the display-title
plugin.

Best wishes

Jeremy




On Thu, Jun 12, 2014 at 4:59 PM, BJ <[email protected]> wrote:

> Good idea.
> An alternative to an extra field could be to expand the wiki text parser
> rule, already the title is formatted to look bold, this could be expanded
> with a user option (via the options for the parser) to reformat the title,
> with some kind of format string (after splitting the camel case string into
> individual words) .
>
> BJ
>
>
> On Wednesday, June 11, 2014 1:03:14 PM UTC+2, Stephan Hradek wrote:
>>
>> Maybe this is a stupid idea, but maybe this can turn out to be useful.
>>
>> I know that we can use TiddlerLinks (or CamelCaseWords) to link to
>> tiddlers, but I usually find this very unpleasing. I like some whitespace
>> in my titles.
>>
>> It just came to my minde that it's of course really useful to be able to
>> link to tiddlers without having to type square brackets.
>>
>> And then I rememberd the thread about UUIDs for linking in order not to
>> break linkeage and the ideas I had about that and so here is my idea:
>>
>> When we create a new Tiddler with a CamelCaseTitle, we will also get
>> automatically a new field "display-title" (or some other defined name).
>> This field will be automatically filled with the un-camelcased title (so
>> "Camel Case Title" in this example) provided that the user did not already
>> put something else in.
>>
>> What TiddlyWiki now should do is not to display the CamelCaseTitle
>> someone typed in his tiddler, but the "display-title".
>>
>> So when I use TiddlyWiki,com as an example we have a "GettingStarted"
>> tiddler.
>>
>> This will now always be displayed as "Getting Started" (provided the
>> display-title field was not changed.
>>
>> This will also give the user the ability to rename Tiddlers by simply
>> changing the display-title and to use "equally named tiddlers" by having
>> the same display-title for different tiddlers.
>>
>> It might be a bit confusing at first if a user starts to edit th (e.g.)
>> "Getting Started" tiddler and the title is suddenly displayed as
>> "GettingStarted", or if he clicks on a "Table of Content" tiddler and it's
>> title is suddenly "ToC1", because the creator of the wiki chose to have
>> several Tabel of Content"s.
>>
>> But if we make this display-title be a special field (like tags) and
>> display it near the title field, I guess this wouldn't be too much
>> irritating.
>>
>> So what do *you* as a user/developer think?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to