Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Varialbes for NeverPublishAfter

I'm trying to find if there is a way to reference the field NeverPublishAfter specified in an article?

I want to specify that as a 'closing date' in the published html and have CD automatically not publish after this date.

There seems to be variables for things like PublishDate, but not for NeverPublishAfter.

Any suggestions?

Steve Lang
Tuesday, December 09, 2003

That's an interesting feature, but I don't know if you can do it now. I could use that for some of my articles, however.

David Watts
Saturday, December 13, 2003

Yeah...

It's an employment page, and you don't want a job posted after it's closing date. You can specify the "NeverPublishAfter" date, which is great, but you can't refer to that date in the article...

The only way that I've found is to specify the same date in one of the 'extra' fields, and then your templates can pick the date up.

It's a little annoying having to specify the same information twice - hence would be nice if "NeverPublishAfter" was available as a variable like many of the others.

Cheers -

Steve Lang
Sunday, December 14, 2003

*  Recent Topics

*  Fog Creek Home