Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-04-15 17:10:34
- logicole
- New Member
- Registered: 2010-04-15
- Posts: 1
Help with msv_if_custom_article_date
Hi,
I was wondering if anyone who has successfully implemented msv_if_custom_article_date could post an example – in page code, article form etc.
At this point, I’m not sure if it’s the way I’m using the plugin, or the plugin itself, but I can not get articles to appear when the date is equal to “today., greater etc. However less than “today” appears to be working properly.
I’d appreciate any help.
Thanks
Offline
#2 2010-04-16 00:31:32
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Help with msv_if_custom_article_date
You’ve three options:
- Use if_expired, it’s the same functionality.
If you absolutely need a custom field - use the attribute you get working and try see if the plugin yet supports the txp:else tag so you can always have the opposite effect of the rule you set up.
- Modify the plugin like jakob described here for working with dates formatted like 2010.04.16. That way the greater/smaller logic becomes much more obvious and it’s a lot easier to set up the desired rule.
You can find working examples in jakobs tip and here, I used to use those with greaterequal
.
If nothing works post your code here.
Last edited by uli (2010-04-16 00:33:58)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline