[tw] Re: jQSorter question - How to use another tiddlers txt or section as info?

2010-08-05 Thread PMario
 Can you still use a section? - or maybe even a section from the
 notestiddler (:-notes##info)??
jup info:-notes##info works

The code is near createPortlet: function(here,name) {

wikify(store.getTiddlerText(name+this.lblInfo), content);

where name is the name of the tiddler which is created and
this.lblInfo is the -notes##info. So you can use sections and
slices inside a note, or the whole note if you want. But be aware,
that complex rendering inside the portlet may brake because of missing
css. If you want to have correct rendering inside the portlet, some /
much css will be needed.  But headings and text will be fine.

-m

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



[tw] Re: jQSorter question - How to use another tiddlers txt or section as info?

2010-08-05 Thread PMario
On Aug 5, 12:33 am, Måns humam...@gmail.com wrote:
 Maybe off topic - however related:
 Are you considering to replace the icons with some of your awesome
 artwork from the TiddlySpace iconproject?? - It would be great to be
 able to style jQSorter to your hearts content - or maybe just have
 text as replacement for the imageattachments - which in turn might
 reduce the sum of tiddlers needed for the plugin to work..
If you have a look at this png
http://a-pm-experimental.tiddlyspot.com/#ui-icons_22_256x240.png
you will see, the number of icons, which it contains. about 180. The
size of the tiddler is ~7000 byte. 1 small svg glyph is about 500
byte. and it is 1 tiddler for 1 icon. The png is 1 png for 180 icons.
I think it would rather adding complexity, than remove it.

But ... It would be a nice exercise to think about a replacement for a
css sprite with svg ...

On the other hand, the jQueryUI is cross browser compatible (I think).
svg isn't, at the moment.

 Thanks a lot for looking into this - it's a great and very usefull
 plugin!! -
thx
It's just the complexity of having to install a lot of
 tiddlers which might scare some people from using it/trying it out -
 Your documentation needs to be updated to include ALL neccesary
 tiddlers - or even better cook it down to a few..
 On the other hand. If you create a tiddlySpace for the jQSorterPlugin
 all TiddlySpaceusers can include that space to be able to use the
 plugin right?
This would be a possibility. I'll think about this.
May be it comes along with the xList macro and its helpers :)

-m

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



[tw] Re: jQSorter question - How to use another tiddlers txt or section as info?

2010-08-05 Thread Måns
Hi again
 jup info:-notes##info works
Great :-)
 The code is near createPortlet: function(here,name) {  
 wikify(store.getTiddlerText(name+this.lblInfo), content);
 where name is the name of the tiddler which is created and this.lblInfo 
 is the -notes##info. So you can use sections and slices inside a note, or 
 the whole note if you want.
Super great !! Thx for explaining where to finde the relevant code.
But be aware, that complex rendering inside the portlet may brake because of 
missing css.
Thats fine with me. My intention is to keep notes as simple as
possible.

cheers Måns Mårtensson

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



[tw] Re: jQSorter question - How to use another tiddlers txt or section as info?

2010-08-05 Thread Måns
Hi Mario
 If you have a look at this 
 pnghttp://a-pm-experimental.tiddlyspot.com/#ui-icons_22_256x240.png
 you will see, the number of icons, which it contains. about 180. The
 size of the tiddler is ~7000 byte. 1 small svg glyph is about 500
 byte. and it is 1 tiddler for 1 icon. The png is 1 png for 180 icons.
 I think it would rather adding complexity, than remove it.
Ok I get it.
 On the other hand, the jQueryUI is cross browser compatible (I think).
 svg isn't, at the moment.
You've got a point.
 May be it comes along with the xList macro and its helpers :)
Sounds very interesting! - I'll wait for your upcomming
plugininvention.

Again - thanks for taking the time - and thank you for your brilliant
contributions and in making TW up to date with new and innovative
plugins. It's great fun to discover the possibilities, when you find
out that you can tweak most things to fit your own individual/special
needs! I reckon it would a less timeconsuming task just to create
plugins with no knobs and whistles...
Good job!! - and thx for the detailed support.

Cheers Måns Mårtensson

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



[tw] Re: jQSorter question - How to use another tiddlers txt or section as info?

2010-08-04 Thread PMario
On Aug 4, 3:40 pm, Måns humam...@gmail.com wrote:
 I'd rather like to fetch the preview-info from another tiddler: a
 notes-tiddler, generated by the TiddlerNotesPlugin 
 http://tw.lewcid.org/#TiddlerNotesPlugin. A note typically gets it's
 title from the parenttiddler + -note as appendix. I recon it should
 be sth like info:[[{{tiddler.title}}-note]]
As I wrote the plugin I tried to wikify the whole tiddler content.
Which causes rendering problems, that's why I disabled it. But show a
tiddlers -note makes sense! I uploaded a new version of the plugin.

The new parameter is:  info:anyText eg: info:-note

The tiddler title is added by the macro.

-mario

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