This project is read-only.


DNN Blog Template Mechanism - Nested if



Thank you for the custom templates you provided us!

I have one question, is it possible to use nested if in a template. I am trying but I cannot find a way to use them.

Also, is it possible to use multiple statements inside an if? for example
[if|1] [val] [=] True __{AND}__ [val2] [=] True [/if]

If nothing of the above is possible, how can I make a template that have a different style for the first post and different style for even and odd posts?

If I use the term "isodd" and "isfirst", I 'll have the same post twice in the page. I would like to do something like this:

Thank you in advance,
Kyriakos Lesgidis


gigocabrera wrote Sep 24, 2014 at 12:36 AM

Hi kyriakos1311, I don't believe nested "IF" in a template are possible at this moment. This is a DNN Blog limitation but something worth looking into.

wrote Nov 30 at 2:05 PM