Backstage disappears, defaultTiddlers don't show after ratings summary div added to pageTemplate

6 views
Skip to first unread message

alex

unread,
Nov 14, 2009, 4:31:57 PM11/14/09
to TiddlyWikiDev
Hello there,

I'm trying to get a rating summary below the tiddlers (displayed in
TiddlersBar)
I've prepared a MTC [1]

I've added a div to the pageTemplate;

<div id='sumArea' refresh='content' force='true' tiddler='Sum'></div>

The tiddler sum contains <<tiddler RatingSummary with:"icons names
count ">>

When I add the div to the pageTemplate all is fine; changes in ratings
in the tiddlers result in the Tiddlers moving column.
When the page is refreshed, the backstage disappears, and the
defaultTiddler does not load.

Any ideas why this happens?

Alex

[1] http://dl.dropbox.com/u/1316865/TiddlyWiki/TiddlyWikiTestCases/TranscludingDiv.html

Derek Peschel

unread,
Nov 15, 2009, 1:39:33 PM11/15/09
to TiddlyWikiDev, dpes...@eskimo.com
On Nov 14, 1:31 pm, alex <r.a.ho...@googlemail.com> wrote:
> Any ideas why this happens?

Note that the ratings display is in the middle column of the page,
but not part of the tiddler area.

I created another test case by commenting out the ratings area
from the pageTemplate. Then I fired up Safari's Web inspector.
Your ratings display seems to be covering up the tiddlerBar div
(with the close boxes and tabs) or perhaps pushing it upward
Safari shows tiddlerBar as a very thin line. That may explain
the disappearance of the default tiddlers.

The backstage button is a total mystery. The header doesn't look
any different between the two test cases.

-- Derek

Alex Hough

unread,
Nov 15, 2009, 3:27:58 PM11/15/09
to tiddly...@googlegroups.com
thanks Derek for having a look at this


Note that the ratings display is in the middle column of the page,
but not part of the tiddler area.
I want the ratings display outside of the tiddlers area. In the original context, the ratings display area (#sum) slides down thanks to jQuery .slideDown() - it is not exposed when the TW loads, rather it is hidden with jQuery.hide()

Do you think it is anything to do with the transcluded srcript? I've tried other scripts and they seem to work ok, so I am wondering if it is something specific to tiddler RatingSummary

Tobias, any thoughts?

Alex


I created another test case by commenting out the ratings area
from the pageTemplate.  Then I fired up Safari's Web inspector.
Your ratings display seems to be covering up the tiddlerBar div
(with the close boxes and tabs) or perhaps pushing it upward
Safari shows tiddlerBar as a very thin line.  That may explain
the disappearance of the default tiddlers.

The backstage button is a total mystery.  The header doesn't look
any different between the two test cases.

-- Derek




--
http://www.multiurl.com/g/64

Tobias Beer

unread,
Nov 16, 2009, 7:37:09 AM11/16/09
to TiddlyWikiDev
Hi Alex,

Thanks for the MTC. When I first opened it, it even was blank. But
after removing the corrupting line calling your 'Sum' tiddler from
within PageTemplate... it was loading fine so that I could experiment
with it.

Looks like I had a severe mistake in my code, specifically this line:

params="$1";

I was using a variable by the name of 'params', which I had forgotten
to declare beforehand. Does that ring a bell? Well, doing so resulted
in overwriting the params object of the outer tiddler-macro
call ...which resulted in your document no longer loading properly.
But that's fixed now.

Please remember updating RatingSummary in other TiddlyWiki's where you
might be using it. I noticed that the one in your MTC did not contain
the recent as discussed here...
http://bit.ly/42MOrY

Tobias.

Alex Hough

unread,
Nov 16, 2009, 7:58:52 AM11/16/09
to tiddly...@googlegroups.com
Hi Tobias,

Many thanks for looking at this, it will be result in a great feature for my TW - should be finished by the end of the week...

Alex




2009/11/16 Tobias Beer <beert...@googlemail.com>



--
http://www.multiurl.com/g/64

Tobias Beer

unread,
Nov 16, 2009, 11:16:23 AM11/16/09
to TiddlyWikiDev
I would love to peek into that when you consider it done...

Tobias.

Alex Hough

unread,
Nov 16, 2009, 12:36:13 PM11/16/09
to tiddly...@googlegroups.com
2009/11/16 Tobias Beer <beert...@googlemail.com>

I would love to peek into that when you consider it done...


so nearly there ....

double crossing fingers for IE... again

Alex

Tobias.




--
http://www.multiurl.com/g/64

Alex Hough

unread,
Nov 17, 2009, 5:35:04 PM11/17/09
to tiddly...@googlegroups.com
Tobias,

Still not there - fiddling with the final sections -but here is the latest;


so nearly there ....

double crossing fingers for IE... again

Alex

Tobias.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To post to this group, send email to tiddly...@googlegroups.com
To unsubscribe from this group, send email to tiddlywikide...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en
-~----------~----~----~----~------~----~------~--~---






--
http://www.multiurl.com/g/64

Tobias Beer

unread,
Nov 18, 2009, 10:14:44 AM11/18/09
to TiddlyWikiDev
Hi Alex,

Congratulations, it looks very clean and reduced to what it is going
to be used for.

I would however prefer actual buttons instead of radiobuttons for at
least two reasons
*single click instead of fidlling your mouse over to that tiny
radiobutton and then clicking next
*you have loads more styling options

As for the questionaire and the final output... I think that's a
really neat usecase for both tiddlywiki and the RatingMacro.

Tobias.

Alex Hough

unread,
Nov 18, 2009, 10:43:03 AM11/18/09
to tiddly...@googlegroups.com
Hi Tobias,

Thanks for the compliment, and thanks for making the the RatingsSummary and plugin available and fixing bugs.

What do you mean by "actual buttons"? I am using dataPlugin for the scores and can see no other way other than check boxes.

It would be better to use ratings plugin all the way though really. Perhaps the next version. My team would get confused if I changed the UI at this stage.

The ideal for the score would be a slider i think.

Alex

2009/11/18 Tobias Beer <beert...@googlemail.com>

Tobias.

--


You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To post to this group, send email to tiddly...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=.





--
http://www.multiurl.com/g/64

Reply all
Reply to author
Forward
0 new messages