Opened 5 years ago

Closed 5 years ago

Install the NewsFlashMacro

Reported by: Owned by: rjollos otaku42 normal TracHacks normal hasienda 0.10

Description

Several of us put a newsflash box on project wiki pagess, e.g. AnnouncerPlugin (hasienda), GoogleMapMacro (martin_s), AcronymsPlugin (rjollos).

It is simple to insert the HTML div element into the page:

[[html(<div id="newsflash">)]]
[[html(</div>)]]


but it would be slightly nicer to be able to use the wiki processor provided by the NewsFlashMacro:

{{{
#!NewsFlash
}}}


comment:1 follow-up: ↓ 2 Changed 5 years ago by otaku42

• Resolution set to fixed
• Status changed from new to closed

Done. Also added a news item to let people know about it.

comment:2 in reply to: ↑ 1 Changed 5 years ago by rjollos

Done. Also added a news item to let people know about it.

Thanks! Tried it out on same pages and seems to be working well.

comment:3 in reply to: ↑ description Changed 3 years ago by rjollos

It is simple to insert the HTML div element into the page:

[[html(<div id="newsflash">)]]
[[html(</div>)]]


Using a pair of html macro calls doesn't seem to work in Trac 1.0, so good thing we have the NewsFlashMacro now.