[tw] Re: ]

2012-08-01 Thread julien23
Hi Eric

Indeed it is a bit more tricky because I would like to use it in a FET :

forEachTiddler
 where
 'tiddler.tags.contains($1)  tiddler.tags.contains($2)  
 !tiddler.tags.contains(attachment)' 
 sortBy 
 tiddler.title
 ascending
write 
  '((index == 0) ?  :  - )+wikify [[%0|+tiddler.title+]] 
 text@+tiddler.title+$))'
 


Because of the  of the wikify syntax I can't have it work ... I am not 
sticking to FET and this case may be a limit.

Looking forward to read from you

julien





Le mardi 31 juillet 2012 21:01:43 UTC+2, Eric Shulman a écrit :

  Hi all 
  I have a tiddler with a value in the text : 
  [[valueTid]] 
  26 
  What is the syntax to write 26 as a wiki link to [[valueTid]] ? 
  [[tiddler valueTid|valueTid]] 
  Does not work... 

 What you want to do is to retrieve the 'text' content from the 
 tiddler, and then use it as the display text for a link to that 
 tiddler.  However, you can't use the tiddler macro to retrieve the 
 value, because TW macros don't return text that is then processed... 
 rather, they directly render their own output.  Thus, you can't embed 
 macros calls within other TW syntax. 

 Unfortunately, there is no direct syntax in TW that allows you to 
 fetch and embed a tiddler field value (e.g. the 'text' field) within 
 the TW link syntax.  Fortunately, I've written a plugin that let's you 
 do exactly that (and more): 
http://www.TiddlyTools.com/#WikifyPlugin 
http://www.TiddlyTools.com/#WikifyPluginInfo 

 Using the wikify macro, you can then write: 
wikify [[%0|TiddlerName]] text@TiddlerName 

 The first param, [[%0|TiddlerName]] is the 'format' for the output, 
 where %0 marks the 'insertion point' for embedding the value retrieved 
 from the tiddler.  The second param, text@TiddlerName is the plugin- 
 defined reference for the desired tiddler field content (i.e., 
 fieldname@TiddlerName). 

 The macro gets the value from the tiddler and then constructs the 
 indicated TW syntax (in this case, a pretty link).  The result is 
 then automatically rendered, producing the desired link output. 
 Q.E.D. 

 enjoy, 
 -e 
 Eric Shulman 
 TiddlyTools / ELS Design Studios 

 HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY TIP JAR... 
http://www.TiddlyTools.com/#Donations 

 Professional TiddlyWiki Consulting Services... 
 Analysis, Design, and Custom Solutions: 
http://www.TiddlyTools.com/#Contact 


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/8eU06um7CtcJ.
To post to this group, send email to tiddlywiki@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] Table caption rendered differently with MediaWikiTableFormatterPlugin

2012-08-01 Thread G.J.Robert
(Is Mr. Martin Budden still here?)

Hi Martin,

Could you kindly check 
http://gjrobert-test.tiddlyspace.com/tiddlers.wiki#%5B%5BTable%20captions%20of%20MediaWikiTableFormatterPlugin%20and%20TiddlyWiki%20default%20markup%5D%5D
 
?

It seems that the default TiddlyWiki markup makes the caption element 
inside the table but independent of tbody, while 
MediaWikiTableFormatterPlugin puts caption inside tbody, so the caption 
only occupies the width of a column, not the width of the whole table.

Perhaps we can check the code of the plugin? This formatter is such a 
useful one, which makes multi-line content more surviving.

Thank you all.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/g9H0ZxoNP78J.
To post to this group, send email to tiddlywiki@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.



Re: [tw] Re: New alpha of TiddlyWiki5

2012-08-01 Thread andrew.j.harrison84
well, i've been playing but cant figure out loading or creating external
tiddlers. I was hoping I could hijack the save mechanism, and make it work
in ie9 and then make it create an external tiddler and modify an editable
field on first edit of a new tiddler. Also save of that tiddler on hitting
the done button. I've located the done function but not the edit and
haven't figured out how to hijack. I realize now after I just wrote this
that maybe I should be asking permission first before getting hack happy?
On Jul 31, 2012 11:33 AM, Eric Shulman elsdes...@gmail.com wrote:

  and is there a search plugin yet? It would be nice if Yoursearchplugin
  could be adapted.

 TiddlyWiki5 uses an entirely different architecture for plugins.  As a
 result, existing TW plugins will not work in TiddlyWiki5, and will
 have to be completely re-written to recreate their functionality in
 the new system.

 -e

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To post to this group, send email to tiddlywiki@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.



-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@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.



Re: [tw] Re: New alpha of TiddlyWiki5

2012-08-01 Thread andrew.j.harrison84
I'm getting a tiddler recursion error when trying to view the view
template. I guess that shadow tiddler isn't viewable from an android phone?
But I bet that is where I find the button for the edit function, right??
On Aug 1, 2012 6:27 AM, andrew.j.harrison84 andrew.j.harriso...@gmail.com
wrote:

 well, i've been playing but cant figure out loading or creating external
 tiddlers. I was hoping I could hijack the save mechanism, and make it work
 in ie9 and then make it create an external tiddler and modify an editable
 field on first edit of a new tiddler. Also save of that tiddler on hitting
 the done button. I've located the done function but not the edit and
 haven't figured out how to hijack. I realize now after I just wrote this
 that maybe I should be asking permission first before getting hack happy?
 On Jul 31, 2012 11:33 AM, Eric Shulman elsdes...@gmail.com wrote:

  and is there a search plugin yet? It would be nice if Yoursearchplugin
  could be adapted.

 TiddlyWiki5 uses an entirely different architecture for plugins.  As a
 result, existing TW plugins will not work in TiddlyWiki5, and will
 have to be completely re-written to recreate their functionality in
 the new system.

 -e

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To post to this group, send email to tiddlywiki@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.



-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@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] Video backgrounds

2012-08-01 Thread skye riquelme
Hi All been travelling and teachingnow back to playing with TW.

I have a TW that has two div s in the PageTemplate that creates a panel 
that sits behind the display area (it has opacity of 0.2). If I put an 
image in the tiddler (the content of the div) then the image sits as a 
background image (nicely faded to opacity =0.2)! If I put a video 
(using iframe from youtube or local video using PlayerPlugin) in the 
content of that tiddler...the video sits on TOP of the text or content of 
the displayed(story) tiddler 

Why does an image sit behind the text but a video sits in front And how 
can I have the video stay in the background as I want the idea is a 
video plays in the background as I show a slide presentation on not of 
it

Thanks
Skye

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/SXtjsCThvpoJ.
To post to this group, send email to tiddlywiki@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] change site navigation and Main Menu from vertically into horizontal​ly

2012-08-01 Thread HansG
Hi
I am currently fighting with my TW to change site navigation away from 
beeing displayed on left, because this consumes permanent space.

I did some experiments which does not satisfy me so I searched for a while 
find lots of pages which shows my future design intend (TiddlyWikis and 
conventional WEB-Pages).

Here is a TiddlyWiki page which show my intension very good but it has too 
much features: http://twt-treeview-executive.tiddlyspot.com/

This here is a simple but good conventional WEB-page: http://www.lapis.de/, 
which show most of that what I am thinking about.
I hope there a simple way of implementing, may be a single PLUGIN or a 
colletion of them?
 
Thanks for feedback.
HansG

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/pIxG7NzMqusJ.
To post to this group, send email to tiddlywiki@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: TiddlyWiki 2.6.5 Safari 6.0

2012-08-01 Thread Lluis Sasplugas
Ok go to preferences / advanced and check Show Develop menu in menu bar
Then mark Disable Site-specific hacks.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/VC5-6tESvx8J.
To post to this group, send email to tiddlywiki@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: TiddlyWiki 2.6.5 Safari 6.0

2012-08-01 Thread Lluis Sasplugas
Ok go to preferences / advanced and check Show Develop menu in menu bar
Then mark ¨Disable local file restrictions¨.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/ch8jmC5elX0J.
To post to this group, send email to tiddlywiki@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: Table caption rendered differently with MediaWikiTableFormatterPlugin

2012-08-01 Thread G.J.Robert
Hi,

Could anyone else kindly advise how to change the code so to put caption 
outside tbody?

Below seems to be the code to create the tbody element (pardon for my 
super novice JS knowledge):

 config.formatters.push({
 name: 'enhancedTable',
 match: '^\\{\\|',
 handler: function(w) {
 var pair = 
 MediaWikiTemplate.findTableBracePair(w.source,w.matchStart);
 if(pair.start==w.matchStart) {
 w.nextMatch = w.matchStart;
 var table = MediaWikiTemplate.createElement(w.output,'table');
 var tbody = MediaWikiTemplate.createElement(table,'tbody'); // 
 required for IE
 var mwt = new MediaWikiTemplate();
 mwt.wikifyTable(tbody,w,pair);
 }
 }
 });

As we can see, the original code seems to create a tbody with the same 
content of the whole tiddler source part to be wikified, and the scope 
seems to be the same as the table element, thus incorporating the 
caption element too.

And below there's surely a section of code to create the caption element. 
How can I modify the code so that the final caption can be created 
outside of tbody instead of inside of it?

Any suggestion is appreciated, thanks!
G.J.Robert於 2012年8月1日星期三UTC+8下午3時45分35秒寫道:

 (Is Mr. Martin Budden still here?)

 Hi Martin,

 Could you kindly check 
 http://gjrobert-test.tiddlyspace.com/tiddlers.wiki#%5B%5BTable%20captions%20of%20MediaWikiTableFormatterPlugin%20and%20TiddlyWiki%20default%20markup%5D%5D?

 It seems that the default TiddlyWiki markup makes the caption element 
 inside the table but independent of tbody, while 
 MediaWikiTableFormatterPlugin puts caption inside tbody, so the caption 
 only occupies the width of a column, not the width of the whole table.

 Perhaps we can check the code of the plugin? This formatter is such a 
 useful one, which makes multi-line content more surviving.

 Thank you all.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/OAJGc8Tb1E0J.
To post to this group, send email to tiddlywiki@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: change site navigation and Main Menu from vertically into horizontal​ly

2012-08-01 Thread PMario
Hi Hans,
You could start with MPTW http://mptw.tiddlyspot.com/ which has a top
menu and some more interesting stuff.

mario

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@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.



Re: [tw] Video backgrounds

2012-08-01 Thread andrew.j.harrison84
Hi, I struggled alot with this very same issue because the video player has
a different set of z-index and can only be forced back under your other
content with an iframe shim. Trust me when I say it was a maddening issue.
What I did was to create a iframe shim over the area where the video showed
up and then set the z-index for that to less then for where the content
shows up. In other words setting z-index for content to a higher level then
the shim. The problem I faced was completely covering up the video..You
might try setting wmode. I don't mean to oversimplify but at least it might
give you a good starting point. It was really a complicated mess. If anyone
with a better solution I'd like to hear it. I put my iframe shim in a
tiddler and then transcluded it into the pagetemplate.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@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.