Something we noticed in the documentation...

http://www.interactivetools.com/docs/articlemanager2/templates/index.html

shows the templateIf syntax as:

templateIf $placeholder$ eq "Yes"

whereas we think it needs the colon:

templateIf : $placeholder$ eq "Yes"
seGAP

Re: [seGAP] templateIf syntax

Hi

Thanks for posting!

I did some testing on this and it seems like the colon is actually optional so the template ifs will work with or without them.

Give it a shot from your end though and keep me up to date with you are making [:)].
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] templateIf syntax

Thanks Ross,

We tested it in an Admin template (we haven't yet upgraded from v2.0), and got an error without the colon.

=====
Error: Closing templateIf tag without opening tag in template content!
=====

As soon as we put the colon in, it works fine.

So do you think this is something dating back to v2.0, or just in Admin?
seGAP

Re: [seGAP] templateIf syntax

Hi seGap,

Thanks for the follow-up!

It looks like you may need to have the colon in the Article Manager admin template files. I would suggest using the colon in both your website template files and your admin template files. :)

Does this help seGap? If you have any further questions please feel free to ask.

Re: [seGAP] templateIf syntax

Hi seGAP,

Thanks for the post!

I have been playing with this a little bit and it does look like a templateIf will work with or with out a colon in the admin templates. So far I hav been unable to re-create what you had mentioned. I would suggest the best thing here is to always use a colon in your templateIf's, whether it be on an admin template or a website temaplate. :)

Does this help? If you have any other questions please feel free to ask.