Here's a version that uses the "HelloThere" tag on TiddlyWiki.com. You'll 
see where to change it back:

<table class="tableFormatter">
<$list filter="[all[shadows+tiddlers]!prefix[$:/]tag[HelloThere]] 
 +[sort[created]]">
<tr>
<td><$view field="created" format="date" template="DD/0MM/YYYY - ddd MMM 
DD"/></td>
<td  valign="top"><$link to=<<currentTiddler>>><$view 
field='title'/></$link></td>
<td><$text text={{{ [<currentTiddler>get[text]split[]limit[30]join[]] }}} />
</td>
</tr>
</$list>
</table>




On Saturday, February 15, 2020 at 10:27:20 AM UTC-8, Teun van Leeuwen wrote:
>
> Hi,
>
> I have used Tiddlywiki for a while, but I'm still struggling so now and 
> then to figure things out. I don't have much experience with programming, 
> but I do love knowledge management and Tiddlywiki is the only tool that 
> suits my needs.
>
> *The problem is the following:*
>
> I am using a list widget to list Tiddlers with the tag "Inbox" in a table 
> like so: 
>
>  
>
> 15/02/2020 - Sat February 15
>
> Title of the Tiddler 
>
> Text of the Tiddler
>
>  
>
> What I'd like to be able to do is cut the text of the tiddler displayed in 
> the list after a certain amount of characters. In case an item in the list 
> is really long, it would look like this:
>
>  
>
>
>
> 15/02/2020 - Sat February 15
>
> Title of a short Tiddler 
>
> Text of a short tiddler
>
> 15/02/2020 - Sat February 15
>
> Title of a long Tiddler
>
> Text of a really long tiddler which is cut off after x amount of chara...
>
>  
> I googled around for quite a while, but I was probably using the wrong 
> keywords. Is there any way I can easily achieve this? The code for the list 
> that I have now is:
>
> <table class="tableFormatter">
> <$list filter="[all[shadows+tiddlers]!prefix[$:/]tag[Inbox]] 
>  +[sort[created]]">
> <tr>
> <td><$view field="created" format="date" template="DD/0MM/YYYY - ddd MMM 
> DD"/></td>
> <td  valign="top"><$link to=<<currentTiddler>>><$view 
> field='title'/></$link></td>
> <td>{{!!text}}</td>
> </tr>
> </$list>
> </table>
>
> Thanks in advance!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11fcf50d-9b50-4fd8-87b3-58aadfc8a1ad%40googlegroups.com.

Reply via email to