Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Template Question

 

 


jmueller0823
User

Mar 1, 2010, 11:19 AM

Post #1 of 3 (1999 views)
Shortcut
Template Question Can't Post

We defined a check-box field in the db.
The checked and un-checked values are "yes" and "no".

QUESTION 1

To test that value in the template, would we do something
like this?

<!-- templateIf : $article.checkbox$ eq "no" -->

QUESTION 2

Is it possible to use an AND operator in the above IF
statement, or do we need to nest IF statements
to accomplish that?

Thanks!


Jim

g r o w t h t r a c dot c o m
Life Changing Resources for Your Marriage


Donna
Staff / Moderator


Mar 1, 2010, 4:19 PM

Post #2 of 3 (1997 views)
Shortcut
Re: [jmueller0823] Template Question [In reply to] Can't Post

Hi Jim,

Yup, you've got it. Nesting if statements is the way to do "and" statements. :)

Donna

--
support@interactivetools.com


jmueller0823
User

Mar 1, 2010, 5:29 PM

Post #3 of 3 (1995 views)
Shortcut
Re: [Donna] Template Question [In reply to] Can't Post

Great. Thanks Donna.


Jim

g r o w t h t r a c dot c o m
Life Changing Resources for Your Marriage