Hi folks,
There have been a lot of discussions about templating lately. And it
seems that Jon's <<list>> template stuff made it to the core. Which is
cool.

But it would be cooler, if you could see, which parameters have been
used to create the list.

eg:
<<list filter [tag[asdf]] [sort[customfield]] template:templateName>>

should create:
<ul class='list filter' tag='asdf' sort='customfield'> or may be
<ul class='list filter' tag='asdf' sort='customfield' template='...'>

<<list>> or <<list all>> would produce
<ul class='list all'>

It would make it possible to easily CSS style the created lists. eg:
no {{someBulkyStuff{<<list...>>}}} needed anymore.

It would make it possible to elliminate / simplify some
sidebar .tabContents CSS

====
And imo it would be cool to have drag and drop sorting for those
lists :)
Some time ago I did the StylingPackage [1], which can do this. Using
bookmarklets.

Since the <<list>> macro doesn't tell you, how the list is created, I
needed to create a bulky XList macro [2], just to create some DOM
info, that can be found by the bookmarklets.

I could eliminate the additional plugins needed, if
<<list filter [tag[asdf]] [sort[customfield]]>>
would add some more info into the DOM. Described above.

====
Since the filter functions can be easily expended since 2.6.2
<<list filter [is[public]]>>
  should produce
 <ul class='list filter' is='public'> ....

====
If the above seems to be to complicated, a jQuery data object could be
added to the <ul> containing  the param string.

The class='' should be done anyway.

It would be nice to have it in 2.6.3 :)

have fun!
mario

[1] http://apm-plugins.tiddlyspot.com/#StylingPackage
[2] http://apm-plugins.tiddlyspot.com/#XListPlugin

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to