[Typo3] Last update extension - how to display author

Jody Cleveland Cleveland at winnefox.org
Tue Aug 30 23:06:17 CEST 2005


Hello,

> This is the TS code I use for my TemplaVoila site. Put it in Web
> -> Template -> root page -> Info/Modify -> Setup:
> 
> # Last update
> plugin.tx_lastupdate_pi1 {
>   page_author = 1
>   storage = [your SysFolder PID]
>   author_email = author_date
>   pid_item = 2
>   sequence = 1
> }

I had this:

page = PAGE
page.typeNum = 0
page.15 = COA
page.15 < plugin.tx_lastupdate_pi1

And, then this in constants:

plugin.tx_lastupdate_pi1.author_email = 1
plugin.tx_lastupdate_pi1.page_author = 1
plugin.tx_lastupdate_pi1.prefix_author = Page maintained by:
plugin.tx_lastupdate_pi1.date_format = F j, Y
plugin.tx_lastupdate_pi1.prefix_string = Last updated:
plugin.tx_lastupdate_pi1.pid_item = 2
plugin.tx_lastupdate_pi1.separator = <br />
plugin.tx_lastupdate_pi1.storage = 2
plugin.tx_lastupdate_pi1.sequence = 2

With that set, I do get the last updated footer at the bottom of the
page. Just showing the person who last edited it, rather than the pages
author.

Replacing what I had with what you mentioned for setup:

plugin.tx_lastupdate_pi1 {
   page_author = 1
   storage = 2
   author_email = author_date
   pid_item = 2
   sequence = 1
 }

And, I end up with the footer not showing up at all. I also tried just
adding what you mentioned to what I had, and it just ignored your bit.

Is there something else I'm missing?

- jody



More information about the TYPO3-english mailing list