Opened 18 years ago
Closed 18 years ago
#745 closed enhancement (fixed)
Patch to add "footer"
Reported by: | df | Owned by: | John Hampton |
---|---|---|---|
Priority: | high | Component: | TracBlogPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I've made a patch that allowed a footer to be configured from the admin page, that will be automaticly added upon SavePage (and and in previews). The footer can be any WikiFormattet data, including macros. Also you can use $U for username and $D for postdate.
I made it because we are attempting to use the blog as a tool no notify other departmentens of any changes our department makes. For this we use the RSS feed, but the RSS pages from the link does not contain date or author information, which is rather importent.
An example of usage. Footer:
''Entry created by $U, on date $D.''
Another really cool thing is to use the WikiTemplatesPlugin and make an BlogFooter template. Then you can make a footer like this:
[[T(BlogFooter|$U|$D)]]
and get the text & layout included.. That way, when you change the layout in the template, it will be changed on all existing posts as well..
Enjoy..
- Dan
Attachments (1)
Change History (5)
Changed 18 years ago by
Attachment: | tracblog.footer.patch added |
---|
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Priority: | low → high |
---|---|
Severity: | trivial → major |
Changed severity and prio to get it noticed by author (naughty i know), but who reads the "trivial"'s ;)
comment:3 Changed 18 years ago by
Status: | new → assigned |
---|---|
Trac Release: | 0.9 → 0.10 |
I actually do read the trivials :)
I'm sorry that it has taken me so long to reply to them however. Anyway, I like the idea and do plan on applying your patch. I hope to be able to apply it soon, but I've been really busy lately, so no promisses.
comment:4 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [1582])
- Applied patch for RSS email addresses from kindlund@…, Closes #336
- Removed reference to
addHeadingLinks
innew_blog.cs
. Closes #786 - Added code to redirect to the page where posting a new entry was selected. Closes #452
- Added patch to allow for customizable footer on blog posts from dfaerch. Closes #745
*crud*. Sorry 'bout all the typo's ;)