Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Extending workflows in textpatten
I’ve got several projects coming up with workflow requirements that are just > < this much more than I can see how to handle in textpattern. The most immediate one is for a largish group blog in which we’d like to have a queue of articles that aren’t particularly time sensitive, and that would automagically be posted whenever the content on the front page hadn’t changed for some (settable) interval. The point is to make sure that new content is being posted throughout the day, rather than in bursts in the morning and after dinnertime.
I’m very much a noob with textpattern, so I won’t be unhappy if someone can tell me to RTFM as long as someone can point me to the right part of TFM.
Any ideas?
h1.Charlie Martin
Offline
#2 2006-01-17 17:12:02
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: Extending workflows in textpatten
A quick and dirty solution would be setting the timestamp for the article to a future date.
btw. you can generate a list of future/coming up articles with article_custom.
Offline
Re: Extending workflows in textpatten
That’s pretty specific for a feature request. I would suggest you go the plugin way, or outside TXP.
For example, you could write a simple PHP script that would SELECT all article from your blog section with waiting validation status, and UPDATE that status if some criterias are met (like the last published blog post was more than 2 hours ago). Then, crontab the script.
Offline
Re: Extending workflows in textpatten
Well, it wasn’t a feature request, just a noob question of “How do I do this?” Sounds like a couple of the things I want are in here, though:
- we could have a section of upcoming posts as above
- we could set up a script to do it
Are there any “periodic jobs” facilities within textpattern?
h1.Charlie Martin
Offline
#5 2006-01-18 10:22:50
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: Extending workflows in textpatten
> ChasRMartin wrote:
> Are there any “periodic jobs” facilities within textpattern?
No. If you like one, you need a plugin.
Offline
Pages: 1