[pmwiki-users] Fix: Using inote markup as a systemwide LatestNews flag/sticky

K.A.Bouton k.a.bouton at reading.ac.uk
Mon Aug 15 04:06:24 CDT 2005


Thanks!

> -----Original Message-----
> From: John Rankin [mailto:john.rankin at affinity.co.nz] 
> Sent: Monday, August 15, 2005 3:00 AM
> To: pmwiki-users at pmichaud.com; K.A.Bouton
> Subject: Re: [pmwiki-users] Fix: Using inote markup as a 
> systemwide LatestNews flag/sticky
> 
> 
> Try the latest markup extensions. Comments below.
> 
> On Friday, 12 August 2005 4:21 AM, K.A.Bouton 
> <k.a.bouton at reading.ac.uk> wrote:
> >I have been looking into postitnotes, stickynotes and 
> inotes. Has one 
> >takenover from the others?
> >
> >With markup extension inote its nice to use the include page 
> to create 
> >a stickynote on all farm field homepages when there is 
> something I need 
> >to let everyone know eg Main.LatestNews
> >
> >How do I change the format/look of it - especially without editing 
> >extendmarkup.php  and markup.css
> >
> >1) I want the header in the sticky note to read the the (:title:) of 
> >the page I am calling in
> 
> Done.
> 
> >2) I don't want the edit link (I have hand edited the 
> extendmarkup file 
> >to remove this but thhere should be another way so I don't overwrite 
> >this with
> >updates)
> 
> You can set the $InoteTextFmt variable to control the look of 
> the heading.
> 
> >3) I want to be able to set the color of the sticky note as is done 
> >with the postitnote extension.
> 
> You can over-ride this in your pub/css/local.css file
> 
> >4) And - getting fancier - Would be nice if I could use it 
> >conditionally by date - if date of LatestNews is older that 30 days 
> >don't show it
> 
> (:inote days=30 LatestNews:)
> 
> The format of the message is set in thr $InoteExpiredFmt variable.
> >
> >Thanks
> >Katherine
> 
> OTOH you can experiment with using a >>customdiv<<
> 
> 
> -- 
> JR
> --
> John Rankin
> 
> 
> 





More information about the pmwiki-users mailing list