Opened 11 years ago

Closed 11 years ago

#745 closed enhancement (fixed)

Reported by: Owned by: df John Hampton high TracBlogPlugin major 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

comment:1 Changed 11 years ago by df

*crud*. Sorry 'bout all the typo's ;)

comment:2 Changed 11 years ago by dfaerch

Priority: low → high trivial → major

Changed severity and prio to get it noticed by author (naughty i know), but who reads the "trivial"'s ;)

comment:3 Changed 11 years ago by John Hampton

Status: new → assigned 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 11 years ago by John Hampton

Resolution: → fixed assigned → closed

(In [1582])

• Removed reference to addHeadingLinks in new_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

Modify Ticket

Change Properties