
OrganicMatt
User
Dec 6, 2006, 8:59 PM
Post #12 of 20
(4803 views)
Shortcut
|
|
Re: [Dave] Article Manager v2.1 - New features on the way...
[In reply to]
|
Can't Post
|
|
Dave - any word on a timeline? (Should I finish configuring 2.02, or will 2.1 be ready before I have time to test and make 2.02 live?) How much do you expect the publish rules panel will change? Also, while you're at changing the publishing code, I'm noting that the templateif command lacks a "contains" type operator. Such an operator would be helpful for working with the placeholders generated by pulldown lists with multiple options. For example, I want to make a Global Template that publishes only the articles pertaining to a specific state. So I added a multiple-select pulldown to the article dataset that contained the names of all the states. Then I wrote the following in a GLobal article list template:
<!-- templatecell : articleRow --> <!-- templateIf : $article.States$ eq "MN" --> $article.title$ <!-- /templateIf --> <!-- /templatecell : articleRow --> However, this will only display articles that have ONLY Minnesota selected in the state pulldown. If other states are selected as well, then $article.States$ becomes a list, and there is no way to see if "MN" is in that list. Thats why a "contains" type operator would be very handy.
|