A TiddlyWiki presentation tool, textbook and notebook. Am I nuts?

236 views
Skip to first unread message

rouilj

unread,
Mar 1, 2009, 6:43:51 PM3/1/09
to TiddlyWiki
Hi all:

I am looking at using TiddlyWiki as a combination:

* presentation tool
* on-line textbook
* notebook

for a class I will be teaching to system administrators.

I am using the PresentationPlugin and associated TiddlyWiki from Saq
Imtiaz at http://lewcid.googlepages.com/presentation_empty_full.html.
Since I need multiple presentations, I have tried using
TaggedTemplateTweak (http://www.TiddlyTools.com/#TaggedTemplateTweak)
to apply a Presentation1ViewTemplate for tiddlers (slides) tagged
Presentation1. Then there is a Presentation2ViewTemplate etc where the
view templates have hard coded into them the Index for the various
presentations. This kind of works, but not really. Footers, page
layout changes etc don't really work properly.

I have integrated the TiddlerNotesPlugin
(http://tw.lewcid.org/#TiddlerNotesPlugin) using the ViewTemplate to
provide the note taking/annotation capability.

Sadly this doesn't quite meet my requirements. I have the following
needs and am looking for ideas on how to implement them:

* Presentation
* More than 1 presentation per TiddlyWiki (probably 5-10). The
goal is a single single textbook with "appendices" that supply
all the presentations.

* One tiddler per slide (to allow students to annotate on a per
slide basis).

* Slide navigation should be possible for presenter and student
modes. So there should be next/prev links in the student copy
to allow them to follow along with the presentation. (My
tweaks above work fine for this as the
Presentation1ViewTemplate includes the navigation.) In student
mode, the notes will be shown as well as the standard 2/3
column style for searching/navigating within the TiddlyWiki.

The presenter's presentation mode should have a single tiddler
filling the screen/window with no left/right TiddlyWiki
navigation columns. It should not show any notes and should
allow headers and footers. I have the no-notes part done by
replacing the Presentation1ViewTemplate in the presenter's
copy, but that doesn't change the view to single tiddler mode,
nor does it change the page layout to remove the three column
format.

* I need some way to make the next/prev buttons in the student
view replace the current slide rather than displaying the new
tiddler. Using SinglePageModePlugin would work, but it is
useful to display the slide and also any tiddlers referenced
from the slide at the same time to the students. For
presentation, using the SinglePageModePlugin is fine.

* Mouse navigation locations (next/prev links) should be fixed
and not have their vertical location change depending on the
slide length. (putting them just above the footer at the very
bottom of the window would work well). However the current
next/prev links require hard coding the name of the index file
used for the presentation.

* Allow navigation through the presentation using keyboard keys
rather than the mouse. For example
http://www.math.ist.utl.pt/~psoares/addons.html#SlideShowExample,
http://www.math.ist.utl.pt/~psoares/addons.html#SlideShowPlugin
implement keyboard navigation. (Note that the SlideShowPlugin
doesn't fulfill the requirement to be able to annotate
each slide as the whole slide show is a single tiddler.)

* It would be nice if the presentation slides can have comment
only text that is shown when not in presentation mode. This
way a single tiddler can be used for presentation and also
display supporting material that is not useful on a slide.

* Advanced features such as revealing text on the slide in
response to a button press (say a space bar) to allow simple
animation would be nice. (Basically overlays as in
SlideShowPlugin).

* Obtaining - this is pretty much working
* download a tiddlywki template

* use TiddlyWiki import to import all tiddlers in a pure store
TiddlyWiki file.

* Updating
* the ability to update the presentation/textbook content using
import/update from a master (export format/pure store)
TiddlyWiki file.

* Students must not lose tiddler annotations when the master
tiddlers are updated (I think this is handled via the
TiddlerNotesPlugin without any extra effort.)

* Use http://tiddlywiki.bidix.info/#RSSReaderPluginDoc and the
rss feed mechanism to notify the users when updates are
available.

* Use http://www.tiddlytools.com/#ExportTiddlersPluginInfo to
allow the author to filter/export only certain tagged tiddlers
(e.g. that contain the "Content" tag) to a export/pure store
file.Than all the tiddlers in that file can be imported to a
template TiddlyWiki file that includes the various plugins and
core code.

* Note taking
* students should be able to record notes on slides/tiddlers
using full TiddlyWiki markup.

* The note mechanism must be accessible when viewing slides in
student presentation mode (to follow along with the
presentation) as well as be accessible in any other tiddler
(supporting material).

* Other
* It would be nice to be able to automatically create a table of
contents for the textbook with links between the tiddlers.
Some
form of hierarchical structure relating tiddlers would be
needed.

* Searching using YourSearchPlugin
http://tiddlywiki.abego-software.de/#YourSearchPlugin since
this will be aimed at system administrators who can use the
advanced search features.

In many respects this aligns well with the goal of the Tiddly Learning
student/instructor notebook:

http://lewcid.org/2009/02/11/student-notebook-workflow-demo-and-screencast/

but I don't want to set up any server side applications.

So does anybody have any ideas for plugins and other integration
steps, or can contribute code that will make this work?

Are there things I am forgetting that you think should be implemented?

Or is this just a dumb idea?

Thanks for any/all ideas even if it's just a recommendation that I get
professional help 8-).

-- rouilj

Saq Imtiaz

unread,
Mar 2, 2009, 4:39:34 AM3/2/09
to TiddlyWiki
Hey there,

That's quite a shopping list now isnt it? ;)

The good news is that all what you've mentioned is possible. The bad
news is that I don't think there are existing plugins that will cover
all of your needs, so you will need to write some of the pieces.

I do have the writing of a presentation setup similar to what you are
mentioning on my to-do list for the next version of the student and
instructor notebooks, but I wont be working on it until later this
year (July-August). However, there might be bits and pieces of the
current instructor notebook that you might find useful. It allows for
multiple "presentations" by combining a "SlideShow" theme with
multiple instances of the NavigationMacro. Using the TiddlerNotes
plugin allows for notes on slides which are not visible when viewing
as a SlideShow/presentation but are otherwise.

Feel free to take a look at the InstructorNotebook and see what if
anything you might be able to use. However, please do note that this
is very much still in development and rather raw and therefore I can't
promise any support for it: http://share.lewcid.org/POLS250-InstructorNotebook.html
(Go to Manage -> ListTags to get access to the plugins used)

The StudentNotebook on the other hand is much more mature:
http://lewcid.org/2009/02/11/student-notebook-workflow-demo-and-screencast/

Lastly, I am curious as to why you would prefer not have a server-side
component for this? Having worked with this type of set up for over a
year now, I've found that having some kind of server-side component in
the middle vastly simplifies the user experience. If the issue is the
ability/resources to deploy a server-side component we (UnaMesa) can
probably help you with that.

Cheers,
Saq

On Mar 2, 12:43 am, rouilj <rou...@cs.umb.edu> wrote:
> Hi all:
>
> I am looking at using TiddlyWiki as a combination:
>
>    * presentation tool
>    * on-line textbook
>    * notebook
>
> for a class I will be teaching to system administrators.
>
> I am using the PresentationPlugin and associated TiddlyWiki from Saq
> Imtiaz athttp://lewcid.googlepages.com/presentation_empty_full.html.
>       * Usehttp://tiddlywiki.bidix.info/#RSSReaderPluginDocand the
>    http://lewcid.org/2009/02/11/student-notebook-workflow-demo-and-scree...

rouilj

unread,
Mar 7, 2009, 4:10:43 PM3/7/09
to TiddlyWiki
On Mar 2, 4:39 am, Saq Imtiaz <lew...@gmail.com> wrote:
> Hey there,

Hi.

Sorry for the delayed reply.

> That's quite a shopping list now isnt it? ;)

I like the think so. You should have seen it before I cut out the
kitchen sink 8-).

> The good news is that all what you've mentioned is possible. The bad
> news is that I don't think there are existing plugins that will cover
> all of your needs, so you will need to write some of the pieces.

Yeah that's what I was afraid of.

> I do have the writing of a presentation setup similar to what you are
> mentioning on my to-do list for the next version of the student and
> instructor notebooks, but I wont be working on it until later this
> year (July-August).

Well my intended class is in November so this may work.

> However, there might be bits and pieces of the
> current instructor notebook that you might find useful. It allows for
> multiple "presentations" by combining a "SlideShow" theme with
> multiple instances of the NavigationMacro. Using the TiddlerNotes
> plugin allows for notes on slides which are not visible when viewing
> as a SlideShow/presentation but are otherwise.

Nice. I'll definately have a look.

> The StudentNotebook on the other hand is much more mature:http://lewcid.org/2009/02/11/student-notebook-workflow-demo-and-scree...

Yeah, I looked at that already.

> Lastly, I am curious as to why you would prefer not have a server-side
> component for this? Having worked with this type of set up for over a
> year now, I've found that having some kind of server-side component in
> the middle vastly simplifies the user experience. If the issue is the
> ability/resources to deploy a server-side component we (UnaMesa) can
> probably help you with that.

Three issues:

1) Setting up server side support in a corporate/government
environment may have too steep a curve.
Downloading a file and putting it on a cd to bring inside a
secured location is a more resonable requirement.
Distribution off a shared drive or vie email or sneaker net is
possible.
2) Some of my users will be on networks without internet access, so
running a server on UnaMesa would be a
non-starter for them (but thanks for the offer).
3) Some of the deployments are tailored to particular clients and
includes proprietary info again making a public
server undesirable.

I can certainly see where having a server to support some tasks is a
win, but just trying to get tiddlywiki as a medium for
classwork is an uphill battle, although the saving in trees for
printed media is a selling point.

> Cheers,

Same to you.

-- rouilj

Paulo Soares

unread,
Mar 15, 2009, 10:44:27 AM3/15/09
to TiddlyWiki
Please check the new version of my SlideShowPlugin for TW2.5. It was
completely rewritten and I think it may address some of your
requirements.

Cheers,
--
Paulo Soares

rouilj

unread,
Mar 21, 2009, 8:06:48 PM3/21/09
to TiddlyWiki
On Mar 15, 10:44 am, Paulo Soares <psoares...@gmail.com> wrote:
> Please check the new version of my SlideShowPlugin for TW2.5. It was
> completely rewritten and I think it may address some of your
> requirements.

Since I was using tiddlywiki 2.5.0 anyway, this works for the most
part, but, I keep
having to change the view template between instrutor and student mode.
Besides the style: parameter can I get a template: or some such
parameter that
I could set to:

template:Instructor

to have the conents of:

InstructorSlideShowPageTemplate
InstructorSlideShowViewTemplate
InstructorySlideShowStyleSheet

used similar to the way http://www.TiddlyTools.com/#TaggedTemplateTweak
works.

If the Instructor* pages don't exist then the values of:
SlideShowPageTemplate, SlideShowViewTemplate, SlideShowStyleSheet
(either the shadow or actual tiddlers) would be used. Then I could
have the macro invocations:

<<slideShow titles nofullscreen template:Instructor noClicks header:""
clock:0>>
<<slideShow titles nofullscreen template:Student noClicks header:""
clock:0>>

to start the slideshow in either the student or instructor formats
where the student format includes a notes
box etc. This is kind of useful to implement the requirements for:

* Slide navigation should be possible for presenter and student
modes. So there should be next/prev links in the student copy
to allow them to follow along with the presentation. (My
tweaks above work fine for this as the
Presentation1ViewTemplate includes the navigation.) In student
mode, the notes will be shown as well as the standard 2/3
column style for searching/navigating within the TiddlyWiki.

The presenter's presentation mode should have a single tiddler
filling the screen/window with no left/right TiddlyWiki
navigation columns. It should not show any notes and should
allow headers and footers. I have the no-notes part done by
replacing the Presentation1ViewTemplate in the presenter's
copy, but that doesn't change the view to single tiddler mode,
nor does it change the page layout to remove the three column
format.

I do have it working now but it requires a fair amount of fiddiling
with renaming tiddlers.

Also I noticed that the new version of this plugin no longer has the
ability to jump to a
slide accessed by clicking on the slide counter in the lower right? Is
that an oversight?
I can see that being particularly useful to jump back to a prior slide
when a student has
a question.

Thanks for your work on the plugin. It really does solve most of my
use cases.

-- rouilj

rouilj

unread,
Mar 21, 2009, 8:31:56 PM3/21/09
to TiddlyWiki
Also while I am on the subject, is it possible to have a single key
that will:

* expose overlays like the arrow key if there are overlays to be
exposed
* move the the next slide if all the overlays are exposed

I have goofed up and accidently hit the wrong key during a preso, and
having a single key
that would "do the right thing" would make the presentation flow much
more smoothly.

Is there a way set the label on the "slide show" button? It would be
nice to have a button labeled:
"run slide show in instructor mode", "run slide show in student mode",
"print slide show".

For print mode, will it print out with one slide/page? It would be
nice to be able to print multiple tiddler slides
in N-up format. So I could get say 6 slides to a physical page. I am
not sure what would have to happen to get that
to work. I assume some sort of page break between slides would do the
trick then the browser could print each page
in N-up format if the destination printer allowed it. Or maybe I just
need some CSS form the print operation?

Now to try to figure out enough css to get a decent slide format set
up.

-- rouilj

rouilj

unread,
Mar 21, 2009, 8:56:09 PM3/21/09
to TiddlyWiki
On Mar 21, 8:31 pm, rouilj <rou...@cs.umb.edu> wrote:
> Also while I am on the subject, is it possible to have a single key
> that will:
>
>    * expose overlays like the arrow key if there are overlays to be
> exposed
>    * move the the next slide if all the overlays are exposed

Yup it is. Since the left hand mouse button does this, I just used the
same function call
and bound it to space when not in autoadvance mode. To do this
replace:

case 32: // spacebar
if(cm.auto>0){
if(cm.autoAdvance){
clearInterval(cm.autoAdvance);
cm.autoAdvance = null;
} else {
cm.autoAdvance=setInterval(cm.nextSlide, cm.auto*1000);
}
}
break;

with:

case 32: // spacebar
if(cm.auto>0){
if(cm.autoAdvance){
clearInterval(cm.autoAdvance);
cm.autoAdvance = null;
} else {
cm.autoAdvance=setInterval(cm.nextSlide, cm.auto*1000);
}
} else {
cm.nextSlide();
}
break;

which sets space bar to advance if auto advance mode is not turned on.
If autoadvance mode is turned on, then
space still stops the autoadvance. Hopefully the javacsript above
isn't messed up too much by Google Groups.

Paulo, could I get this change into your SlideShowPlugin so I can
resync?

Thanks.

-- rouilj

Paulo Soares

unread,
Mar 22, 2009, 8:11:35 PM3/22/09
to TiddlyWiki
Hi,

I'll try to answer your previous points in the next few days but I
don't get this last one.
You can use Home/PageUp/PageDown/End keys to move around slides and
the arrow keys for overlays (I've just fixed PageUp behaviour). What
exactly is missing?

--
Paulo Soares

rouilj

unread,
Mar 22, 2009, 9:48:17 PM3/22/09
to TiddlyWiki
Hi Paulo:

On Mar 22, 8:11 pm, Paulo Soares <psoares...@gmail.com> wrote:
> I'll try to answer your previous points in the next few days

Thanks for looking into these changes.

> but I don't get this last one.
> You can use Home/PageUp/PageDown/End keys to move around slides and
> the arrow keys for overlays (I've just fixed PageUp behaviour). What
> exactly is missing?

I basically want a keyboard equivalent of left mouse click.

If I have an unexposed overlay on a slide and I type pagedown, it
moves to the next slide and doesn't open the
overlay. If I hit the left arrow, it exposes the overlay, but won't
advance the slide. When I have multiple
presentation, often I don't remember exactly what key sequence I have
to hit to expose all of the data on the
slides.

If I left click with the mouse (which I can't do easily because of
links, sliders, and the need to highlight text
during the talk), the left click does the right thing: unhides the
overlay if there is one or advance the slide if all
the overlays are shown.

The space bar seems to work well for this, large easy to hit,
centrally located on the keyboard 8-).

Also I am running into a problem with the SlideShow plugin on IE
7.0.5730.11. When I load the tiddlywiki it reports
that a plugin had an error. The Plugin Manager shows SlideShowPlugin
as the culprit with the error:

Error: Expected identifier

I haven't had any luck in getting a line number or anything indicating
where the error is. So it's possible my change
above broke something.

I can send you the tiddlywiki file if you want to debug this in case I
have some mix of plugins that is causing the problem.

-- rouilj

Paulo Soares

unread,
Mar 23, 2009, 7:19:51 AM3/23/09
to TiddlyWiki
Ok, I see what you mean. I will think a bit more about the way
keyboard navigation works and I'll let you know.

I believe that the error you report in IE7 is already fixed in my
online version. Please, tell me if I am wrong and it still is broken.

--
Paulo Soares

Paulo Soares

unread,
Mar 25, 2009, 6:17:31 PM3/25/09
to TiddlyWiki
Hi rouilj,

I've made some substantial modifications to the plugin and it is now
fully customisable. The previous custom stylesheets were replaced by
themes that allow to change (almost?) everything. The table of
contents was reintroduced along with the ability to jump to a chosen
slide and I also included your suggestion regarding the use of the
space key.

Please see the modified examples in my site and let me know if
something is broken.
--
Paulo Soares

rouilj

unread,
Mar 25, 2009, 7:23:36 PM3/25/09
to TiddlyWiki
Hi Paulo:

On Mar 25, 6:17 pm, Paulo Soares <psoares...@gmail.com> wrote:
> I've made some substantial modifications to the plugin and it is now
> fully customisable. The previous custom stylesheets were replaced by
> themes that allow to change (almost?) everything. The table of
> contents was reintroduced along with the ability to jump to a chosen
> slide and I also included your suggestion regarding the use of the
> space key.

Cool. I liked it on your site. Looks like the printing of a slide per
page
will work fine as well.

> Please see the modified examples in my site and let me know if
> something is broken.

Well on yiur site it looks fine, but when I import it into my 2.5 TW,
the slideshow
macro doesn't do anything. I click and get no response.

I imported:

1. PrintingTheme - added
2. SlideShowPlugin - replaces SlideShowPlugin - 3/22/2009
22:22:00 by JohnRouillard
3. SlideShowPluginDoc - replaces SlideShowPluginDoc - 3/14/2009
12:02:00 by PauloSoares
4. SlideShowTheme - added
5. StudentTheme - added

any ideas? I am running FireFox 3.0.7, when I click on the slideshow
button, the error console reports

Error: matches is null

Maybe this section of code:

config.macros.slideShow.buildTOC = function(count,tiddler) {
var text = wikifyStatic(store.getTiddlerText(tiddler));
var matches = text.match(/<h[123456]>.*?<\/h[123456]>/mgi);
for (var j=0; j<matches.length; j++){
this.slideTOC.push([count,matches[j].charAt(2),matches[j]]);
}
}

I have a number of slides that are <<tiddler Welcome/Content>> or are
a list of items without any <h[0-6]> tags
in the text itself.

-- rouilj

rouilj

unread,
Mar 25, 2009, 8:43:03 PM3/25/09
to TiddlyWiki
Hi Paulo:

On Mar 25, 6:17 pm, Paulo Soares <psoares...@gmail.com> wrote:
> I've made some substantial modifications to the plugin and it is now
> fully customisable. The previous custom stylesheets were replaced by
> themes that allow to change (almost?) everything. The table of
> contents was reintroduced along with the ability to jump to a chosen
> slide and I also included your suggestion regarding the use of the
> space key.

It looks like using:

http://www.TiddlyTools.com/#TaggedTemplateTweak

along with the newest SlideShowPlugin (after I added <h> tags to all
my slides)
overrides the ViewTemplate of the theme passed to the SlideShowPlugin
with the
one used because of the tag on the tiddler.

Not quite sure how to solve it, but to reproduce I think this works:

add TaggedTemplateTweak plugin
add a new view template tiddler thetagViewTemplate
tag a slide with "thetag"

Now when you view the slideshow, you should see thetagViewTemplate
used when viewing the
tagged slide and the other template when on any other slide.

-- rouilj

Paulo Soares

unread,
Mar 25, 2009, 9:33:22 PM3/25/09
to TiddlyWiki
Hi,

The first error you mentioned is fixed. I thought of that case (no
headers) but I forgot to test it.

Regarding the TaggedTemplateTweak, I haven't tested it but I would say
that there's no way the 2 plugins work together because they are
competing to change the ViewTemplate for the same tiddler. Are you
sure you still need to use both plugins for a slideshow?

--
Paulo Soares

rouilj

unread,
Mar 26, 2009, 12:12:29 AM3/26/09
to TiddlyWiki
Hi Paulo:

On Mar 25, 9:33 pm, Paulo Soares <psoares...@gmail.com> wrote:
> The first error you mentioned is fixed. I thought of that case (no
> headers) but I forgot to test it.

Thanks. I'll revert the changes to my slides. I usually use title
option
with slideshow, so I don't need the headers as the slide name provides
that.

> Regarding the TaggedTemplateTweak, I haven't tested it but I would say
> that there's no way the 2 plugins work together because they are
> competing to change the ViewTemplate for the same tiddler.

In researching an answer to this for you, I found out Eric did a good
job
writing the TaggedTemplateTweak (TTT). If there is a theme defined,
TTT looks
for <tagname>ViewTemplate (and I assume <tagname>StyleSheet and
<tagname>PageTemplate) in the theme and uses it if present.

So if I add a section:

!contentViewTemplate
....

to the PrintingTheme tiddler, it is used rather than the default
'contentViewTemplate'
tiddler. This does mean that I have to duplicate the template in
ViewTemplate and
contentViewTemplate code but that's ok.

> Are you sure you still need to use both plugins for a slideshow?

Yes, because this isn't just a slideshow, it's a full textbook/
presentation
mechanism (or at least I hope it will be).

In normal use the tiddlers tagged "content" have a contentViewTemplate
applied via
TaggedTemplateTweaks. contentViewTemplate is the defaultViewTemplate
with a div
added to display the TiddlerNotesPlugin note taking box. This allows
the student
to add notes to the tiddler without modifying the content tiddler (as
it may be
updated as I find errors or add new material).

Also the contentViewTemplate disables double click to edit. This
prevents the user
from accidently trying to edit the content tiddler (since changes to
it would be
lost on update) also it allows the user to double/triple click to
select text.

Slides are just another form of content. When being presented by the
instructor,
they should be styled as a normal slide without a notes area, text at
200% of
normal etc.

The students can also run the slide show in their own tiddlywiki. In
student mode
the slides should appear as they normally would (using the
contentViewTemplate with
the notes area etc) but with the addition of the navigation buttons so
they can move
linearly through the presentation and follow the instructor.

In addition, the students can also access the slides (and notes)
outside of the
slideshow in random (rather than sequential) access to say review
notes or examples.
They can access this mode by using search, any of the lists in the
right hand pane
or by opening the presentation tiddler (with the embedded slideshow
macros) and
access one of the embedded tiddler links.

Does that explain the use case a bit better?

-- rouilj

Paulo Soares

unread,
Mar 26, 2009, 7:13:59 AM3/26/09
to TiddlyWiki
Hi,

I took a look at the TaggedTemplateTweak code and realized that it is
just an hijack of a core function. So there may be another solution:
hijack that plugin instead of duplicating templates' content. It
requires you to include 4 lines in the toggleSlideStyles function of
the slideShowPlugin like this:

config.macros.slideShow.toggleSlideStyles = function(){
var contentWrapper = $('#contentWrapper');
if(contentWrapper.hasClass("slideShowMode")){
Story.prototype.chooseTemplateForTiddler =
Story.prototype.slideShow_chooseTemplateForTiddler;//(3) restore
taggedTemplate hijack
Story.prototype.slideShow_chooseTemplateForTiddler = null;//(4) clean
up
refreshPageTemplate();
removeStyleSheet("SlideShowStyleSheet");
if(this.theme) removeStyleSheet(this.theme);
} else {
Story.prototype.slideShow_chooseTemplateForTiddler =
Story.prototype.chooseTemplateForTiddler; //(1) save taggedTemplate
hijack
Story.prototype.chooseTemplateForTiddler =
Story.prototype.taggedTemplate_chooseTemplateForTiddler;//(2) restore
core code saved by taggedTemplate
...

Would you like to try this? It may not be an optimal solution but I
think it should work for now.

BTW, do you have your work-in-progress online? I'm curious about
what's coming up because it all seems very close to my own ideas that
I keep holding back because there's no server side solution simple
enough.

--
Paulo Soares

rouilj

unread,
Mar 26, 2009, 11:41:37 AM3/26/09
to TiddlyWiki
Hi Paulo:

On Mar 26, 7:13 am, Paulo Soares <psoares...@gmail.com> wrote:
> I took a look at the TaggedTemplateTweak code and realized that it is
> just an hijack of a core function. So there may be another solution:
> hijack that plugin instead of duplicating templates' content. It
> requires you to include 4 lines in the toggleSlideStyles function of
> the slideShowPlugin like this:
> [...]
> Would you like to try this? It may not be an optimal solution but I
> think it should work for now.

I was thinking that might be possible. I'll try it. However
duplicating
the ViewTemplate isn't so bad plus it gives a bit more flexibility.

> BTW, do you have your work-in-progress online? I'm curious about
> what's coming up because it all seems very close to my own ideas that
> I keep holding back because there's no server side solution simple
> enough.

I do sort of. I have an older copy of the the student tw and the
content
tiddlers on line, but it doesn't include your latest slideshow plugin.
I plan on releasing the instructor tw (without content of course) when
I get
the parts put together.

At the moment I am having a problem with sync not working (getting the
doSync:
false error from another board thread). I created a sample that
illustrated the
problem hopefully FND will be able to fix it.

I have a couple of more tweaks I want in the SlideShow plugin that I
was going
to try adding (none of the 12 or so languages I have worked in up to
this point has
ben javascript, so may take a bit).

1) support a list of themes E.G. theme:[InstructorSlideShowTheme
StudentSlideShowTheme]. So I have a single
slideshow button in the tiddler in both the student and
instructor tw. But the student tw is missing
the InstructorslideShowTheme (i.e. it's not exported by the
instructor tw). So it will use the
StudentSlideShowTheme in the student version and the instructor
theme in the instructor version.
2) Also while this breaks the "theme" ness of the theme, I am
planning on adding a section SlideShowModes
to the themes to get default values like "noClicks title" etc
that would normally be passed as parameters
to the slideshow macro. This way I only need to specify the theme
and that includes the interaction mode.
3) Also I need to add a noKeyboard similar to noClicks to disable
the key bindings. The notes part of the tiddler
that is displayed in student mode is editable. When the space bar
or the B key or arrow keys
(to move between lines in the notes tiddler) is typed in the note
to add info, the slide showplugin interprets
them. When running in "noKeyboard" mode, the only way to move to
the next slide would be to click on the >> button
in the naviagtion menu that should always be displayed by the
theme used with this option.

After that I can create a new student tw, upload a blank instructor tw
and give you a pointer to it.

If you beat me to any of these, I'll be happy to accept the results of
your work 8-).

-- rouilj

Paulo Soares

unread,
Mar 26, 2009, 3:38:02 PM3/26/09
to TiddlyWiki
Hi,

regarding your additional tweaks:

1) there's no need for this. I've changed (again!) the theme
mechanism. The SlideShowTheme was removed and I got back to the
previous 3 shadow tiddlers, SlideShowPageTemplate,
SlideShowViewTemplate and SlideShowStyleSheet, that together define
the default theme. I was forced to do this because I want to keep the
plugin as a single tiddler and TW does not provide a way to extract
sections from shadow tiddlers. That only works with 'real' tiddlers
like the example themes I wrote.

So, if you edit any of those 3 shadow tiddlers you are redefining the
default theme that, in your case, will become the StudentTheme.
Include these modified tiddlers in the student edition and make sure
to omit the InstructorTheme tiddler. This way, the macro <<slideShow
theme:InstructorTheme ...>> will use the right theme in your edition
and will fall back to the modified default theme in the absence of the
InstructorTheme tiddler.

2) sorry, I don't like that one. I removed the 'titles' option so you
have to include the tiddlers' titles in the ViewTemplate. However, you
can already do some of that in the templates using the 'noClicks' or
the new 'noKeyboard' classes (see the StudentTheme example in my
site).

3) Done!

--
Paulo Soares

rouilj

unread,
Mar 26, 2009, 11:58:58 PM3/26/09
to TiddlyWiki
Hi Paulo:

On Mar 26, 3:38 pm, Paulo Soares <psoares...@gmail.com> wrote:
> regarding your additional tweaks:
>
> 1) there's no need for this. I've changed (again!) the theme
> mechanism. The SlideShowTheme was removed and I got back to the
> previous 3 shadow tiddlers, SlideShowPageTemplate,
> SlideShowViewTemplate and SlideShowStyleSheet, that together define
> the default theme. I was forced to do this because I want to keep the
> plugin as a single tiddler and TW does not provide a way to extract
> sections from shadow tiddlers. That only works with 'real' tiddlers
> like the example themes I wrote.

Is it forbidden to create a tiddler if it doesn't exist? So when you
click on the slideshow macro, it creates the SlideShowTheme tiddler?
Granted it's not as clean or elegant as a shadow tiddler, but it does
allow distribution as a single tiddler.

> So, if you edit any of those 3 shadow tiddlers you are redefining the
> default theme that, in your case, will become the StudentTheme.
> Include these modified tiddlers in the student edition and make sure
> to omit the InstructorTheme tiddler. This way, the macro <<slideShow
> theme:InstructorTheme ...>> will use the right theme in your edition
> and will fall back to the modified default theme in the absence of the
> InstructorTheme tiddler.

That does seem to work.

However I just edited the SlideShowViewTemplate replacing the shadow
one
and it looks like the TaggedTemplateTweak is overriding your view
template.
I am not quite sure how as I thought that used to work. It's possible
that it
never worked and I just thought it did because the view templates
applied by
TaggedTemplateTweaks was the same as I expected to be applied by my
modified
SlideShowViewTemplate, but.... Anyway it's late.

> 2) sorry, I don't like that one. I removed the 'titles' option so you
> have to include the tiddlers' titles in the ViewTemplate.

Hmm, before when using 'titles' I am pretty sure the TOC menu (brought
up when
clicking on the slide count in the lower right) displayed the titles
as menu
items. Now even with a div displaying the title in the ViewTemplate
part of
the theme there are no items in the TOC menu that are not header items
(which
means a bunch of slides are missing).

Might I ask why you removed the title option? I think it was a good
idea since
the title should serve as the top level header. I have a few slides
that have identical headings (comparing different keywords). The title
is the
only unique means of distinguishing between the tiddlers. Because it
is unique
by construction, it seems to me the tiddler title should always be in
the toc.

> can already do some of that in the templates using the 'noClicks' or
> the new 'noKeyboard' classes (see the StudentTheme example in my
> site).

I have that working. Well done.

> 3) Done!

Cool. Works like a charm.

Thanks for all your work.

-- rouilj
Reply all
Reply to author
Forward
0 new messages