HI Richard, 
you could take a look at this:
http://phasersonkill.com/2015/4/24/creating-a-static-webpage-using-tiddlywiki.html
cheers
BJ

On Monday, August 31, 2015 at 2:05:47 AM UTC+1, Richard U wrote:
>
> Yes! That is the perfect answer. Now I just need to figure out "read only" 
> and my static site will be done.
>
> On Sunday, August 30, 2015 at 3:27:19 PM UTC-4, Eric Shulman wrote:
>>
>> On Sunday, August 30, 2015 at 11:10:16 AM UTC-7, Richard U wrote:
>>>
>>> I thought maybe the problem was a lack of proper saving, but apparently 
>>> TW5 on node.js saves itself. 
>>>
>>> So, yes the code works as expected on tiddlywiki.com. The problem 
>>> occurs when a static site is generated and it drops the link information 
>>> from the buttons.
>>>
>>> Screenshots would not help, because the problem is: clicking on the 
>>> button works in node.js, but does nothing in the static site.
>>>
>>
>> The static site is just *rendered* content, written out to separate HTML 
>> files.  
>>
>> When the output is generated from your TW, the syntax of each tiddler 
>> link (e.g., "[[SomeName]]) is automatically converted into real links 
>> between the relevant html files (e.g., "static/SomeName.html")
>>
>> However, the resulting static site doesn't contain any *code*.  Thus, 
>> while a <$button> widget will appear in the rendered output, there are no 
>> widget handlers to process click events.
>>
>> Assuming that the real end goal is to make something that *looks* like a 
>> button, but works as a "static tiddler link", perhaps you can change your 
>> TW content from
>>    <$button to="SomeTiddler">click me</$button>
>> to
>>    <$button>[[click me|SomeTiddler]]</$button>
>>
>> i.e., use tiddler link syntax, surrounded by a <$button> widget.  You 
>> might have to tweak some CSS rules to get the button text to have the right 
>> look (e.g. normal text button text color rather than link color).
>>
>> enjoy,
>> -e
>> Eric Shulman
>> ELS Design Studios
>> TiddlyTools - "Small Tools for Big Ideas!"
>> InsideTiddlyWiki: The Missing Manuals
>>
>> YOUR DONATIONS ARE VERY IMPORTANT!
>> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
>>    http://TiddlyTools.github.com/fundraising.html#MakeADonation
>>
>> 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 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/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c64a111-0361-41bb-b63b-27083781ee5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to