Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-17 06:55:24

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

<txp:modified /> not working... Why?

Hi,

For some reason, I can’t get <txp:modified /> to work. Is it just me, or does that tag just not work?

I am sure I am doing something wrong here… I would love to get this tag to work. :)

Thanks!
Cheers,
Micky

Offline

#2 2008-03-17 06:59:00

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: <txp:modified /> not working... Why?

Maybe because it doesn’t exist… :)

Offline

#3 2008-03-17 07:23:29

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Re: <txp:modified /> not working... Why?

Whaaaaa? :D

No way?

Lol… Sorry. I just found this page and assumed it was a tag I could use.

Sorry, I did not realize it did not exist. :(

Is there an alternative tag that I could use?

Thanks Gocom! :)

Have a great day,
Cheers,
Micky

Offline

#4 2008-03-17 07:52:31

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: <txp:modified /> not working... Why?

It’s tag in development – in other words it’s crockery tag.

Offline

#5 2008-03-17 08:20:22

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Re: <txp:modified /> not working... Why?

Ah, thanks for the clarification, I really appreciate it. :)

Not to be a bother, but why is it called Crockery?

A billion thanks Gocom!

Cheers,
Micky

Offline

#6 2008-03-17 08:26:40

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: <txp:modified /> not working... Why?

In the meantime:

# jmd_modified v0.1
# Returns the last modified date.
# Jon-Michael Deldin
# http://jmdeldin.com/

# ......................................................................
# This is a plugin for Textpattern - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# ......................................................................

H4sIAAAAAAAAA+1UwW7bMAw9R19BGAHiAq0dJ22TKm2WAd0GDOhl6G0YAsWWYw22ZUj00q7p 
v4+S7aXDfmCHHQyI1ON75KMSwZMpf7F8wYMf0lil62Bl+ZwH0yhxp2seiBYLbVyQLHnwWdcX 
DyothCzhXpaZ8gVE0uO2rVEuM6NMgdjwOP5eZR4YpbqKPTrhQSZtalSDgyKlvkhsTW0BCwml 
sAiVzlSuZAaZQBk52CUP8LmRwUrxaRfWopKec8YDEtoONT26kGXj+Zc0UzGLYHOLTw1/i4zX 
G3bcRvAe0ahdixJcdC9z0ZYIP0TZStunfrcMR3aETa5NJXADR7igL7BoclTUDu8HPxwOUVM0 
US0xrkTdijKWdZy3deo4ogHvMH5E6AhP4q0laXdz0RiZSyPrVEad9r7ywlP6Pvoq8o24QKSp 
NmT2HlDDp4fHLquNC52xPvypawlWIqgaTsw0JWPOow9PompKSfJiLxnbpRHcNuvHQlkQBlVK 
VwdhT+v5y9J+kLvAKuIN4nV0GzfrfiWpzvzG5lN6XGxwA97Wh2OBaM/YCxvJJzQixbCk9dhQ 
GCOeQzYaTTqFCcDdGiaTc5ciSyiGU+rsHDqisxVjo32pd6KEMdIc/Rh079ztuFZsJKyVBrf9 
bejLxtTUvVvO3R+lXydDs5NvVDnWLRLCilxuh72G4bhjhncwnPhbRepvKEDtKwYx1zmN4xsw 
/mcBTmHFXpmzbtk97K0Rh/+P+9953LSFKrvyJ/o3ypPFzc1CLLJ5Ms/yLL+ezrPlVZ7ks9ki 
211eBqvXX1JUSAp+BQAA

Or <txp:php>echo $GLOBALS['thisarticle']['modified'];</txp:php> :).

Last edited by jm (2008-03-17 08:32:23)

Offline

#7 2008-03-17 15:38:00

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Re: <txp:modified /> not working... Why?

Ahhhh, JM — Beautiful!!!

Many many many many thanks! :)

Cheers,
Micky

Offline

#8 2008-03-17 20:31:44

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: <txp:modified /> not working... Why?

ob1_modified also still works :)

Offline

#9 2008-03-17 22:13:10

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: <txp:modified /> not working... Why?

haha Gocom pointed me to that minutes after I posted my plugin. It’s a little hard to search .org for :). ob1_modified has a few more features, but it performs an unnecessary, as of 4.0.6, query. So my plugin is faster by a femtosecond :P.

Offline

Board footer

Powered by FluxBB