On Mon, Aug 9, 2010 at 1:43 PM, Kashgarinn <[email protected]> wrote:
> Hi there.
>
> I just made a small plugin: http://sthor.tiddlyspot.com/#DisplayCommentPlugin
>
> and I'm struggling with a couple of things which you guys might find
> simple to point out, or hint at a solution.
>
> Basically I created a new div below messageArea in the pagetemplate,
> and I'm filling that with a comment.
>
> I created a tiddlybutton, but I'd really like just a normal link to a
> tiddler which behaves like a normal tiddlerlink (i.e. the same as
> [[comment|link]]).  Seems a silly question, but what function do I use
> to do that?

Sounds like you want to Wikify the text? I did something similar with
displayMessage:

http://whatfettle.com/2008/07/WikifiedMessagesPlugin/

> I'd also like to keep the notification in the low right corner of the
> header, but I'm not sure how exactly to do that, I just manually
> configured the CSS which means when the code is in another TW, it'll
> be wrong..


Changing the CSS in the StyleSheet tiddler, or using a "theme" is very
conventional http://tiddlypocketbook.com uses a combination of both
techniques, including several themes and a switcher to flip between
them.

> Third question.. do I have to manually create the div in the
> pagetemplate, or can I make the plugin pop it in by itself?

You could create the node and apply the CSS from JavaScript if you
prefer that approach to supplying theme tiddlers.

HTH
-- 
Paul (psd)
http://blog.whatfettle.com

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

Reply via email to